(2.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateProducts (20161104164148)  (0.1ms) BEGIN  (2.8ms) CREATE TABLE "products" ("id" serial primary key, "name" character varying, "category" character varying, "shop_id" integer, "price" integer, "position" integer, "currency" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161104164148"]]  (0.5ms) COMMIT Migrating to CreateShops (20161104182219)  (0.3ms) BEGIN  (2.8ms) CREATE TABLE "shops" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161104182219"]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'products' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shops' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN --------------------------- IndexesTest: test_namespace ---------------------------  (0.2ms) SAVEPOINT active_record_1 ------------------------- IndexesTest: test_suggest -------------------------  (0.2ms) SAVEPOINT active_record_2 ----------------------- IndexesTest: test_exist -----------------------  (0.1ms) SAVEPOINT active_record_3 ---------------------- IndexesTest: test_find ----------------------  (0.1ms) SAVEPOINT active_record_4 ------------------------- RecordTest: test_indexing -------------------------  (0.1ms) SAVEPOINT active_record_5 -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK TO SAVEPOINT active_record_5  (0.1ms) SAVEPOINT active_record_5 ------------------------- SearchTest: test_includes -------------------------  (0.2ms) SAVEPOINT active_record_6 ---------------------- SearchTest: test_order ----------------------  (0.2ms) SAVEPOINT active_record_7 --------------------------- SearchTest: test_pagination ---------------------------  (0.1ms) SAVEPOINT active_record_8 --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.1ms) SAVEPOINT active_record_9 -------------------------- GeneratorsTest: test_index --------------------------  (0.3ms) ROLLBACK TO SAVEPOINT active_record_9  (0.2ms) SAVEPOINT active_record_9 ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK TO SAVEPOINT active_record_9  (0.2ms) SAVEPOINT active_record_9 --------------------- TasksTest: test_build ---------------------  (0.2ms) SAVEPOINT active_record_10 ----------------------- TasksTest: test_rebuild ----------------------- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------------- GeneratorsTest: test_index --------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN --------------------------- IndexesTest: test_namespace ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- IndexesTest: test_find ----------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexesTest: test_exist -----------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- IndexesTest: test_suggest -------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (17.1ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-29 23:15:27.114763"], ["updated_at", "2016-11-29 23:15:27.114763"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 1], ["created_at", "2016-11-29 23:15:27.156413"], ["updated_at", "2016-11-29 23:15:27.156413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 1], ["created_at", "2016-11-29 23:15:27.158897"], ["updated_at", "2016-11-29 23:15:27.158897"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------- TasksTest: test_build ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TasksTest: test_rebuild -----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-29 23:15:29.425579"], ["updated_at", "2016-11-29 23:15:29.425579"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 2], ["created_at", "2016-11-29 23:15:29.429208"], ["updated_at", "2016-11-29 23:15:29.429208"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-29 23:15:31.482348"], ["updated_at", "2016-11-29 23:15:31.482348"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-29 23:15:31.486509"], ["updated_at", "2016-11-29 23:15:31.486509"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-29 23:15:31.488280"], ["updated_at", "2016-11-29 23:15:31.488280"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-29 23:15:31.491477"], ["updated_at", "2016-11-29 23:15:31.491477"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-11-29 23:15:31.494094"], ["updated_at", "2016-11-29 23:15:31.494094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-29 23:15:33.536284"], ["updated_at", "2016-11-29 23:15:33.536284"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 3], ["created_at", "2016-11-29 23:15:33.539742"], ["updated_at", "2016-11-29 23:15:33.539742"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-29 23:15:35.587322"], ["updated_at", "2016-11-29 23:15:35.587322"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 4], ["created_at", "2016-11-29 23:15:35.592253"], ["updated_at", "2016-11-29 23:15:35.592253"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 4], ["created_at", "2016-11-29 23:15:35.595042"], ["updated_at", "2016-11-29 23:15:35.595042"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 4], ["created_at", "2016-11-29 23:15:35.597605"], ["updated_at", "2016-11-29 23:15:35.597605"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-29 23:15:37.636396"], ["updated_at", "2016-11-29 23:15:37.636396"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-29 23:15:37.639816"], ["updated_at", "2016-11-29 23:15:37.639816"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-29 23:15:37.643000"], ["updated_at", "2016-11-29 23:15:37.643000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-29 23:15:37.645117"], ["updated_at", "2016-11-29 23:15:37.645117"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------- TasksTest: test_build --------------------- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TasksTest: test_rebuild ----------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000 Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- IndexesTest: test_find ---------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexesTest: test_exist ----------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- IndexesTest: test_namespace --------------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- IndexesTest: test_suggest ------------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-29 23:17:33.628942"], ["updated_at", "2016-11-29 23:17:33.628942"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 5], ["created_at", "2016-11-29 23:17:33.653058"], ["updated_at", "2016-11-29 23:17:33.653058"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 5], ["created_at", "2016-11-29 23:17:33.746599"], ["updated_at", "2016-11-29 23:17:33.746599"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-29 23:17:35.844046"], ["updated_at", "2016-11-29 23:17:35.844046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 6], ["created_at", "2016-11-29 23:17:35.846646"], ["updated_at", "2016-11-29 23:17:35.846646"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 7  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 7  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-29 23:17:38.064676"], ["updated_at", "2016-11-29 23:17:38.064676"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-29 23:17:38.072866"], ["updated_at", "2016-11-29 23:17:38.072866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-29 23:17:38.080326"], ["updated_at", "2016-11-29 23:17:38.080326"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-29 23:17:38.087721"], ["updated_at", "2016-11-29 23:17:38.087721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-11-29 23:17:38.095107"], ["updated_at", "2016-11-29 23:17:38.095107"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2) Shop Load (0.6ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-29 23:17:40.226084"], ["updated_at", "2016-11-29 23:17:40.226084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 7], ["created_at", "2016-11-29 23:17:40.228674"], ["updated_at", "2016-11-29 23:17:40.228674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 8 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (7)  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-29 23:17:42.323209"], ["updated_at", "2016-11-29 23:17:42.323209"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 8], ["created_at", "2016-11-29 23:17:42.331207"], ["updated_at", "2016-11-29 23:17:42.331207"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 8], ["created_at", "2016-11-29 23:17:42.340886"], ["updated_at", "2016-11-29 23:17:42.340886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 8], ["created_at", "2016-11-29 23:17:42.349290"], ["updated_at", "2016-11-29 23:17:42.349290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (1.1ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-29 23:17:45.038832"], ["updated_at", "2016-11-29 23:17:45.038832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-29 23:17:45.045008"], ["updated_at", "2016-11-29 23:17:45.045008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-29 23:17:45.051108"], ["updated_at", "2016-11-29 23:17:45.051108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-29 23:17:45.056741"], ["updated_at", "2016-11-29 23:17:45.056741"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- GeneratorsTest: test_index --------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK