(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 ActiveRecord::SchemaMigration Load (28.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------- TasksTest: test_build --------------------- Product Load (3.1ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (1.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.4ms) 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.4ms) 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.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.4ms) ROLLBACK  (0.1ms) 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 (28.0ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:09:37.379145"], ["updated_at", "2016-11-30 22:09:37.379145"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (7.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 9], ["created_at", "2016-11-30 22:09:37.429246"], ["updated_at", "2016-11-30 22:09:37.429246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexesTest: test_exist ----------------------- Product Load (0.4ms) 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.4ms) 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 ------------------------- SearchTest: test_includes ------------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:09:37.663352"], ["updated_at", "2016-11-30 22:09:37.663352"]]  (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", "Test"], ["shop_id", 10], ["created_at", "2016-11-30 22:09:37.666783"], ["updated_at", "2016-11-30 22:09:37.666783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.4ms) 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:09:37.737428"], ["updated_at", "2016-11-30 22:09:37.737428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-30 22:09:37.812572"], ["updated_at", "2016-11-30 22:09:37.812572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:09:37.884395"], ["updated_at", "2016-11-30 22:09:37.884395"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- GeneratorsTest: test_index --------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (2.1ms) 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.3ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:09:38.001480"], ["updated_at", "2016-11-30 22:09:38.001480"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", 12], ["created_at", "2016-11-30 22:09:38.006459"], ["updated_at", "2016-11-30 22:09:38.006459"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.7ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:10:35.170969"], ["updated_at", "2016-11-30 22:10:35.170969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 13], ["created_at", "2016-11-30 22:10:35.190327"], ["updated_at", "2016-11-30 22:10:35.190327"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN --------------------- TasksTest: test_build --------------------- 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.1ms) BEGIN ----------------------- TasksTest: test_rebuild ----------------------- Product Load (0.4ms) 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 Product Load (0.4ms) 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.1ms) BEGIN -------------------------- GeneratorsTest: test_index --------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.9ms) 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.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:10:35.514040"], ["updated_at", "2016-11-30 22:10:35.514040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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-30 22:10:35.591115"], ["updated_at", "2016-11-30 22:10:35.591115"]]  (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", 14], ["created_at", "2016-11-30 22:10:35.594040"], ["updated_at", "2016-11-30 22:10:35.594040"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (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-30 22:10:35.654000"], ["updated_at", "2016-11-30 22:10:35.654000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.4ms) 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.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:10:35.717261"], ["updated_at", "2016-11-30 22:10:35.717261"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------- IndexesTest: test_find ---------------------- Product Load (0.4ms) 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.1ms) BEGIN ----------------------- IndexesTest: test_exist ----------------------- Product Load (0.4ms) 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_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.4ms) 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-30 22:10:35.959191"], ["updated_at", "2016-11-30 22:10:35.959191"]]  (0.2ms) 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", "Les Paul"], ["shop_id", 16], ["created_at", "2016-11-30 22:10:35.961310"], ["updated_at", "2016-11-30 22:10:35.961310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.7ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:12:42.973694"], ["updated_at", "2016-11-30 22:12:42.973694"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 17], ["created_at", "2016-11-30 22:12:42.992714"], ["updated_at", "2016-11-30 22:12:42.992714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------------- GeneratorsTest: test_index --------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TasksTest: test_build --------------------- Product Load (0.4ms) 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.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.4ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- IndexesTest: test_namespace --------------------------- Product Load (0.4ms) 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.4ms) ROLLBACK  (0.2ms) BEGIN ------------------------- IndexesTest: test_suggest ------------------------- Product Load (0.4ms) 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-30 22:12:45.436502"], ["updated_at", "2016-11-30 22:12:45.436502"]]  (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", "Les Paul"], ["shop_id", 18], ["created_at", "2016-11-30 22:12:45.440134"], ["updated_at", "2016-11-30 22:12:45.440134"]]  (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", "Stratocaster"], ["shop_id", 18], ["created_at", "2016-11-30 22:12:45.450803"], ["updated_at", "2016-11-30 22:12:45.450803"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.3ms) 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.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:12:47.653796"], ["updated_at", "2016-11-30 22:12:47.653796"]]  (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-30 22:12:47.661861"], ["updated_at", "2016-11-30 22:12:47.661861"]]  (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-30 22:12:47.668597"], ["updated_at", "2016-11-30 22:12:47.668597"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-30 22:12:47.675621"], ["updated_at", "2016-11-30 22:12:47.675621"]]  (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", 5], ["created_at", "2016-11-30 22:12:47.682022"], ["updated_at", "2016-11-30 22:12:47.682022"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.4ms) 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:12:49.836641"], ["updated_at", "2016-11-30 22:12:49.836641"]]  (0.1ms) 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", "Test"], ["shop_id", 19], ["created_at", "2016-11-30 22:12:49.838870"], ["updated_at", "2016-11-30 22:12:49.838870"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:12:51.900858"], ["updated_at", "2016-11-30 22:12:51.900858"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 20], ["created_at", "2016-11-30 22:12:51.906754"], ["updated_at", "2016-11-30 22:12:51.906754"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 20], ["created_at", "2016-11-30 22:12:51.914503"], ["updated_at", "2016-11-30 22:12:51.914503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 20], ["created_at", "2016-11-30 22:12:51.920968"], ["updated_at", "2016-11-30 22:12:51.920968"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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-30 22:12:53.985672"], ["updated_at", "2016-11-30 22:12:53.985672"]]  (0.2ms) 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", 2], ["created_at", "2016-11-30 22:12:53.991395"], ["updated_at", "2016-11-30 22:12:53.991395"]]  (0.2ms) 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-30 22:12:53.997389"], ["updated_at", "2016-11-30 22:12:53.997389"]]  (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-30 22:12:54.003275"], ["updated_at", "2016-11-30 22:12:54.003275"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- IndexesTest: test_find ---------------------- Product Load (0.4ms) 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.4ms) ROLLBACK  (0.2ms) BEGIN ------------------------- IndexesTest: test_suggest ------------------------- Product Load (0.6ms) 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.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:13:20.675161"], ["updated_at", "2016-11-30 22:13:20.675161"]]  (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", "Les Paul"], ["shop_id", 21], ["created_at", "2016-11-30 22:13:20.693132"], ["updated_at", "2016-11-30 22:13:20.693132"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 21], ["created_at", "2016-11-30 22:13:20.720488"], ["updated_at", "2016-11-30 22:13:20.720488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexesTest: test_exist ----------------------- 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.4ms) ROLLBACK  (0.1ms) 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.7ms) 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-30 22:13:22.934325"], ["updated_at", "2016-11-30 22:13:22.934325"]]  (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", "Test"], ["shop_id", 22], ["created_at", "2016-11-30 22:13:22.937093"], ["updated_at", "2016-11-30 22:13:22.937093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:13:25.052563"], ["updated_at", "2016-11-30 22:13:25.052563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 23], ["created_at", "2016-11-30 22:13:25.060266"], ["updated_at", "2016-11-30 22:13:25.060266"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 23], ["created_at", "2016-11-30 22:13:25.069104"], ["updated_at", "2016-11-30 22:13:25.069104"]]  (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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 23], ["created_at", "2016-11-30 22:13:25.075974"], ["updated_at", "2016-11-30 22:13:25.075974"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (1.4ms) 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-30 22:13:27.145772"], ["updated_at", "2016-11-30 22:13:27.145772"]]  (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-30 22:13:27.151880"], ["updated_at", "2016-11-30 22:13:27.151880"]]  (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-30 22:13:27.159606"], ["updated_at", "2016-11-30 22:13:27.159606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-30 22:13:27.167092"], ["updated_at", "2016-11-30 22:13:27.167092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:13:29.244815"], ["updated_at", "2016-11-30 22:13:29.244815"]]  (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", 2], ["created_at", "2016-11-30 22:13:29.251598"], ["updated_at", "2016-11-30 22:13:29.251598"]]  (0.2ms) 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-30 22:13:29.271166"], ["updated_at", "2016-11-30 22:13:29.271166"]]  (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-30 22:13:29.280759"], ["updated_at", "2016-11-30 22:13:29.280759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-30 22:13:29.287306"], ["updated_at", "2016-11-30 22:13:29.287306"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- GeneratorsTest: test_index --------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------- TasksTest: test_build --------------------- Product Load (0.4ms) 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 ----------------------- TasksTest: test_rebuild ----------------------- Product Load (0.4ms) 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.4ms) 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.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.4ms) 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:13:31.607074"], ["updated_at", "2016-11-30 22:13:31.607074"]]  (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", 24], ["created_at", "2016-11-30 22:13:31.609632"], ["updated_at", "2016-11-30 22:13:31.609632"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.6ms) 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.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:17:56.059968"], ["updated_at", "2016-11-30 22:17:56.059968"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- 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.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:17:56.113591"], ["updated_at", "2016-11-30 22:17:56.113591"]]  (0.9ms) 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", 26], ["created_at", "2016-11-30 22:17:56.130744"], ["updated_at", "2016-11-30 22:17:56.130744"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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-30 22:17:56.184950"], ["updated_at", "2016-11-30 22:17:56.184950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.4ms) 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-30 22:17:56.249443"], ["updated_at", "2016-11-30 22:17:56.249443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:17:56.302946"], ["updated_at", "2016-11-30 22:17:56.302946"]]  (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", "Les Paul"], ["shop_id", 27], ["created_at", "2016-11-30 22:17:56.305075"], ["updated_at", "2016-11-30 22:17:56.305075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) 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_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.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.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) 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-30 22:17:56.503354"], ["updated_at", "2016-11-30 22:17:56.503354"]]  (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", 28], ["created_at", "2016-11-30 22:17:56.505598"], ["updated_at", "2016-11-30 22:17:56.505598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------------- GeneratorsTest: test_index --------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------- TasksTest: test_build --------------------- Product Load (0.4ms) 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.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.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.7ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:18:24.419367"], ["updated_at", "2016-11-30 22:18:24.419367"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 29], ["created_at", "2016-11-30 22:18:24.435591"], ["updated_at", "2016-11-30 22:18:24.435591"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.2ms) BEGIN --------------------------- IndexesTest: test_namespace --------------------------- Product Load (0.4ms) 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.4ms) 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-30 22:18:24.535392"], ["updated_at", "2016-11-30 22:18:24.535392"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 30], ["created_at", "2016-11-30 22:18:24.537601"], ["updated_at", "2016-11-30 22:18:24.537601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN --------------------- TasksTest: test_build --------------------- 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 ----------------------- TasksTest: test_rebuild ----------------------- Product Load (0.4ms) 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.4ms) 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.4ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN -------------------------- GeneratorsTest: test_index --------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (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-30 22:18:24.900989"], ["updated_at", "2016-11-30 22:18:24.900989"]]  (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", 31], ["created_at", "2016-11-30 22:18:24.903761"], ["updated_at", "2016-11-30 22:18:24.903761"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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-30 22:18:24.951148"], ["updated_at", "2016-11-30 22:18:24.951148"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.4ms) 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-30 22:18:25.000842"], ["updated_at", "2016-11-30 22:18:25.000842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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.8ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:18:25.054668"], ["updated_at", "2016-11-30 22:18:25.054668"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.5ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:18:47.339539"], ["updated_at", "2016-11-30 22:18:47.339539"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.2ms) 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-30 22:18:47.383193"], ["updated_at", "2016-11-30 22:18:47.383193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.5ms) 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-30 22:18:47.425450"], ["updated_at", "2016-11-30 22:18:47.425450"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) 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.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:18:47.473703"], ["updated_at", "2016-11-30 22:18:47.473703"]]  (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", "Test"], ["shop_id", 34], ["created_at", "2016-11-30 22:18:47.488781"], ["updated_at", "2016-11-30 22:18:47.488781"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- IndexesTest: test_namespace --------------------------- Product Load (0.4ms) 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.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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:18:47.606526"], ["updated_at", "2016-11-30 22:18:47.606526"]]  (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", "Les Paul"], ["shop_id", 35], ["created_at", "2016-11-30 22:18:47.609208"], ["updated_at", "2016-11-30 22:18:47.609208"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexesTest: test_exist ----------------------- 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.4ms) ROLLBACK  (0.2ms) BEGIN ---------------------- IndexesTest: test_find ---------------------- Product Load (0.4ms) 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.4ms) ROLLBACK  (0.2ms) BEGIN --------------------- TasksTest: test_build --------------------- Product Load (0.4ms) 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.4ms) 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 ------------------------- 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:18:47.924090"], ["updated_at", "2016-11-30 22:18:47.924090"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 36], ["created_at", "2016-11-30 22:18:47.927271"], ["updated_at", "2016-11-30 22:18:47.927271"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------------- GeneratorsTest: test_index --------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------- IndexesTest: test_find ---------------------- 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.3ms) ROLLBACK  (0.1ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:18:56.150417"], ["updated_at", "2016-11-30 22:18:56.150417"]]  (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", 37], ["created_at", "2016-11-30 22:18:56.165681"], ["updated_at", "2016-11-30 22:18:56.165681"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 37], ["created_at", "2016-11-30 22:18:56.173157"], ["updated_at", "2016-11-30 22:18:56.173157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.4ms) 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.1ms) BEGIN --------------------- TasksTest: test_build --------------------- Product Load (0.4ms) 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.3ms) ROLLBACK  (0.2ms) 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.4ms) 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.1ms) 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-30 22:18:58.501325"], ["updated_at", "2016-11-30 22:18:58.501325"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 38], ["created_at", "2016-11-30 22:18:58.504235"], ["updated_at", "2016-11-30 22:18:58.504235"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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-30 22:19:00.565899"], ["updated_at", "2016-11-30 22:19:00.565899"]]  (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-30 22:19:00.572997"], ["updated_at", "2016-11-30 22:19:00.572997"]]  (0.2ms) 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-30 22:19:00.579758"], ["updated_at", "2016-11-30 22:19:00.579758"]]  (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", 4], ["created_at", "2016-11-30 22:19:00.587502"], ["updated_at", "2016-11-30 22:19:00.587502"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (8.0ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.6ms) 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-30 22:19:02.704206"], ["updated_at", "2016-11-30 22:19:02.704206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) 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", 39], ["created_at", "2016-11-30 22:19:02.712702"], ["updated_at", "2016-11-30 22:19:02.712702"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (4.2ms) 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", 39], ["created_at", "2016-11-30 22:19:02.729040"], ["updated_at", "2016-11-30 22:19:02.729040"]]  (0.1ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 39], ["created_at", "2016-11-30 22:19:02.737311"], ["updated_at", "2016-11-30 22:19:02.737311"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) 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.2ms) 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-30 22:19:04.797913"], ["updated_at", "2016-11-30 22:19:04.797913"]]  (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", 2], ["created_at", "2016-11-30 22:19:04.803477"], ["updated_at", "2016-11-30 22:19:04.803477"]]  (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-30 22:19:04.809547"], ["updated_at", "2016-11-30 22:19:04.809547"]]  (0.3ms) 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-30 22:19:04.815208"], ["updated_at", "2016-11-30 22:19:04.815208"]]  (0.2ms) 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", 5], ["created_at", "2016-11-30 22:19:04.820405"], ["updated_at", "2016-11-30 22:19:04.820405"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) 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-30 22:19:06.882066"], ["updated_at", "2016-11-30 22:19:06.882066"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 40], ["created_at", "2016-11-30 22:19:06.884488"], ["updated_at", "2016-11-30 22:19:06.884488"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN -------------------------- GeneratorsTest: test_index --------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- TasksTest: test_build --------------------- Product Load (0.6ms) 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 ----------------------- TasksTest: test_rebuild ----------------------- 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 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.3ms) ROLLBACK  (0.1ms) BEGIN -------------------------- GeneratorsTest: test_index --------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:19:56.252653"], ["updated_at", "2016-11-30 22:19:56.252653"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 41], ["created_at", "2016-11-30 22:19:56.269725"], ["updated_at", "2016-11-30 22:19:56.269725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:19:58.324038"], ["updated_at", "2016-11-30 22:19:58.324038"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 42], ["created_at", "2016-11-30 22:19:58.332922"], ["updated_at", "2016-11-30 22:19:58.332922"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 42], ["created_at", "2016-11-30 22:19:58.342002"], ["updated_at", "2016-11-30 22:19:58.342002"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 42], ["created_at", "2016-11-30 22:19:58.350040"], ["updated_at", "2016-11-30 22:19:58.350040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-30 22:20:00.405166"], ["updated_at", "2016-11-30 22:20:00.405166"]]  (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", 2], ["created_at", "2016-11-30 22:20:00.410611"], ["updated_at", "2016-11-30 22:20:00.410611"]]  (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-30 22:20:00.416386"], ["updated_at", "2016-11-30 22:20:00.416386"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-30 22:20:00.421970"], ["updated_at", "2016-11-30 22:20:00.421970"]]  (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", 5], ["created_at", "2016-11-30 22:20:00.428028"], ["updated_at", "2016-11-30 22:20:00.428028"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.4ms) 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-30 22:20:02.484854"], ["updated_at", "2016-11-30 22:20:02.484854"]]  (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", 43], ["created_at", "2016-11-30 22:20:02.487723"], ["updated_at", "2016-11-30 22:20:02.487723"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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) 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-30 22:20:04.546721"], ["updated_at", "2016-11-30 22:20:04.546721"]]  (0.6ms) 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", 2], ["created_at", "2016-11-30 22:20:04.554307"], ["updated_at", "2016-11-30 22:20:04.554307"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-30 22:20:04.560904"], ["updated_at", "2016-11-30 22:20:04.560904"]]  (0.2ms) 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-30 22:20:04.567125"], ["updated_at", "2016-11-30 22:20:04.567125"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) 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.3ms) ROLLBACK  (0.1ms) 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.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.3ms) ROLLBACK  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:20:06.734755"], ["updated_at", "2016-11-30 22:20:06.734755"]]  (0.2ms) 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", "Les Paul"], ["shop_id", 44], ["created_at", "2016-11-30 22:20:06.736901"], ["updated_at", "2016-11-30 22:20:06.736901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 44], ["created_at", "2016-11-30 22:20:06.743628"], ["updated_at", "2016-11-30 22:20:06.743628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- IndexesTest: test_find ---------------------- Product Load (0.4ms) 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.4ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:21:00.972775"], ["updated_at", "2016-11-30 22:21:00.972775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 45], ["created_at", "2016-11-30 22:21:00.988525"], ["updated_at", "2016-11-30 22:21:00.988525"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 45], ["created_at", "2016-11-30 22:21:00.997072"], ["updated_at", "2016-11-30 22:21:00.997072"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) 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.3ms) ROLLBACK  (0.1ms) 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 ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- GeneratorsTest: test_index --------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TasksTest: test_build --------------------- 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 ----------------------- 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.4ms) 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.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) ROLLBACK  (0.1ms) 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-30 22:21:03.319812"], ["updated_at", "2016-11-30 22:21:03.319812"]]  (0.1ms) 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", "Test"], ["shop_id", 46], ["created_at", "2016-11-30 22:21:03.322247"], ["updated_at", "2016-11-30 22:21:03.322247"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (6.6ms) SELECT "products".* FROM "products" WHERE "products"."id" = 42 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (46)  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:21:05.447965"], ["updated_at", "2016-11-30 22:21:05.447965"]]  (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", 2], ["created_at", "2016-11-30 22:21:05.453657"], ["updated_at", "2016-11-30 22:21:05.453657"]]  (0.2ms) 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-30 22:21:05.460049"], ["updated_at", "2016-11-30 22:21:05.460049"]]  (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-30 22:21:05.465190"], ["updated_at", "2016-11-30 22:21:05.465190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) 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.4ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:21:07.543937"], ["updated_at", "2016-11-30 22:21:07.543937"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 47], ["created_at", "2016-11-30 22:21:07.549814"], ["updated_at", "2016-11-30 22:21:07.549814"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 47], ["created_at", "2016-11-30 22:21:07.557138"], ["updated_at", "2016-11-30 22:21:07.557138"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 47], ["created_at", "2016-11-30 22:21:07.563396"], ["updated_at", "2016-11-30 22:21:07.563396"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:21:09.622303"], ["updated_at", "2016-11-30 22:21:09.622303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-30 22:21:09.627551"], ["updated_at", "2016-11-30 22:21:09.627551"]]  (0.2ms) 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-30 22:21:09.633226"], ["updated_at", "2016-11-30 22:21:09.633226"]]  (0.2ms) 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-30 22:21:09.638442"], ["updated_at", "2016-11-30 22:21:09.638442"]]  (0.2ms) 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", 5], ["created_at", "2016-11-30 22:21:09.643583"], ["updated_at", "2016-11-30 22:21:09.643583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.4ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2) Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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) 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-30 22:21:11.731824"], ["updated_at", "2016-11-30 22:21:11.731824"]]  (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", 48], ["created_at", "2016-11-30 22:21:11.734182"], ["updated_at", "2016-11-30 22:21:11.734182"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 43  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 43]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 43  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.6ms) 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.5ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:22:12.409505"], ["updated_at", "2016-11-30 22:22:12.409505"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 49], ["created_at", "2016-11-30 22:22:12.428250"], ["updated_at", "2016-11-30 22:22:12.428250"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 44  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 44]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 44  (0.4ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexesTest: test_exist ----------------------- Product Load (0.4ms) 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_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.3ms) ROLLBACK  (0.1ms) 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.1ms) BEGIN ------------------------- IndexesTest: test_suggest ------------------------- Product Load (0.4ms) 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-30 22:22:14.707730"], ["updated_at", "2016-11-30 22:22:14.707730"]]  (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", "Les Paul"], ["shop_id", 50], ["created_at", "2016-11-30 22:22:14.710303"], ["updated_at", "2016-11-30 22:22:14.710303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 50], ["created_at", "2016-11-30 22:22:14.718566"], ["updated_at", "2016-11-30 22:22:14.718566"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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-30 22:22:16.784831"], ["updated_at", "2016-11-30 22:22:16.784831"]]  (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", 2], ["created_at", "2016-11-30 22:22:16.791031"], ["updated_at", "2016-11-30 22:22:16.791031"]]  (0.2ms) 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-30 22:22:16.796753"], ["updated_at", "2016-11-30 22:22:16.796753"]]  (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-30 22:22:16.802590"], ["updated_at", "2016-11-30 22:22:16.802590"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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-30 22:22:18.863924"], ["updated_at", "2016-11-30 22:22:18.863924"]]  (0.2ms) 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", 51], ["created_at", "2016-11-30 22:22:18.866159"], ["updated_at", "2016-11-30 22:22:18.866159"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 47 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (51)  (0.4ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) 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-30 22:22:20.930530"], ["updated_at", "2016-11-30 22:22:20.930530"]]  (0.2ms) 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", 2], ["created_at", "2016-11-30 22:22:20.936228"], ["updated_at", "2016-11-30 22:22:20.936228"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-30 22:22:20.942669"], ["updated_at", "2016-11-30 22:22:20.942669"]]  (0.2ms) 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-30 22:22:20.948649"], ["updated_at", "2016-11-30 22:22:20.948649"]]  (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", 5], ["created_at", "2016-11-30 22:22:20.954392"], ["updated_at", "2016-11-30 22:22:20.954392"]]  (0.5ms) 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.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.4ms) 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-30 22:22:23.049772"], ["updated_at", "2016-11-30 22:22:23.049772"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 52], ["created_at", "2016-11-30 22:22:23.056875"], ["updated_at", "2016-11-30 22:22:23.056875"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 52], ["created_at", "2016-11-30 22:22:23.066553"], ["updated_at", "2016-11-30 22:22:23.066553"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 52], ["created_at", "2016-11-30 22:22:23.073039"], ["updated_at", "2016-11-30 22:22:23.073039"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- GeneratorsTest: test_index --------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------- TasksTest: test_build --------------------- 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.4ms) ROLLBACK  (0.2ms) BEGIN ----------------------- TasksTest: test_rebuild ----------------------- Product Load (0.4ms) 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.4ms) 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.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.4ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:23:02.937205"], ["updated_at", "2016-11-30 22:23:02.937205"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 53], ["created_at", "2016-11-30 22:23:02.955108"], ["updated_at", "2016-11-30 22:23:02.955108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TasksTest: test_rebuild ----------------------- Product Load (0.4ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN --------------------- TasksTest: test_build --------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:23:05.213119"], ["updated_at", "2016-11-30 22:23:05.213119"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 54], ["created_at", "2016-11-30 22:23:05.220355"], ["updated_at", "2016-11-30 22:23:05.220355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", 54], ["created_at", "2016-11-30 22:23:05.229312"], ["updated_at", "2016-11-30 22:23:05.229312"]]  (0.1ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 54], ["created_at", "2016-11-30 22:23:05.238090"], ["updated_at", "2016-11-30 22:23:05.238090"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:23:07.297748"], ["updated_at", "2016-11-30 22:23:07.297748"]]  (0.2ms) 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-30 22:23:07.304882"], ["updated_at", "2016-11-30 22:23:07.304882"]]  (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-30 22:23:07.312027"], ["updated_at", "2016-11-30 22:23:07.312027"]]  (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-30 22:23:07.317722"], ["updated_at", "2016-11-30 22:23:07.317722"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-11-30 22:23:07.323231"], ["updated_at", "2016-11-30 22:23:07.323231"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:23:09.379301"], ["updated_at", "2016-11-30 22:23:09.379301"]]  (0.2ms) 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", 55], ["created_at", "2016-11-30 22:23:09.382277"], ["updated_at", "2016-11-30 22:23:09.382277"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:23:11.439541"], ["updated_at", "2016-11-30 22:23:11.439541"]]  (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", 2], ["created_at", "2016-11-30 22:23:11.445027"], ["updated_at", "2016-11-30 22:23:11.445027"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-30 22:23:11.450575"], ["updated_at", "2016-11-30 22:23:11.450575"]]  (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-30 22:23:11.456464"], ["updated_at", "2016-11-30 22:23:11.456464"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------------- GeneratorsTest: test_index --------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:23:13.534759"], ["updated_at", "2016-11-30 22:23:13.534759"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 56], ["created_at", "2016-11-30 22:23:13.537396"], ["updated_at", "2016-11-30 22:23:13.537396"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 56], ["created_at", "2016-11-30 22:23:13.550488"], ["updated_at", "2016-11-30 22:23:13.550488"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) 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.4ms) ROLLBACK  (0.2ms) BEGIN --------------------------- IndexesTest: test_namespace --------------------------- Product Load (0.4ms) 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.4ms) ROLLBACK  (0.2ms) BEGIN ---------------------- IndexesTest: test_find ---------------------- 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.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ----------------------- IndexesTest: test_exist ----------------------- Product Load (0.5ms) 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_namespace --------------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.3ms) ROLLBACK  (0.1ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:23:27.307721"], ["updated_at", "2016-11-30 22:23:27.307721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 57], ["created_at", "2016-11-30 22:23:27.325675"], ["updated_at", "2016-11-30 22:23:27.325675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 57], ["created_at", "2016-11-30 22:23:27.344962"], ["updated_at", "2016-11-30 22:23:27.344962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:23:29.450243"], ["updated_at", "2016-11-30 22:23:29.450243"]]  (0.2ms) 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", 2], ["created_at", "2016-11-30 22:23:29.456164"], ["updated_at", "2016-11-30 22:23:29.456164"]]  (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-30 22:23:29.461387"], ["updated_at", "2016-11-30 22:23:29.461387"]]  (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", 4], ["created_at", "2016-11-30 22:23:29.466324"], ["updated_at", "2016-11-30 22:23:29.466324"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.5ms) 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.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:23:31.530300"], ["updated_at", "2016-11-30 22:23:31.530300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 58], ["created_at", "2016-11-30 22:23:31.536358"], ["updated_at", "2016-11-30 22:23:31.536358"]]  (0.1ms) 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", 58], ["created_at", "2016-11-30 22:23:31.543801"], ["updated_at", "2016-11-30 22:23:31.543801"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 58], ["created_at", "2016-11-30 22:23:31.550208"], ["updated_at", "2016-11-30 22:23:31.550208"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) 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.8ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:23:34.194085"], ["updated_at", "2016-11-30 22:23:34.194085"]]  (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", 2], ["created_at", "2016-11-30 22:23:34.201073"], ["updated_at", "2016-11-30 22:23:34.201073"]]  (0.2ms) 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-30 22:23:34.207771"], ["updated_at", "2016-11-30 22:23:34.207771"]]  (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-30 22:23:34.213571"], ["updated_at", "2016-11-30 22:23:34.213571"]]  (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", 5], ["created_at", "2016-11-30 22:23:34.219661"], ["updated_at", "2016-11-30 22:23:34.219661"]]  (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.4ms) 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.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.4ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:23:36.319849"], ["updated_at", "2016-11-30 22:23:36.319849"]]  (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", 59], ["created_at", "2016-11-30 22:23:36.322005"], ["updated_at", "2016-11-30 22:23:36.322005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 54 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (59)  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:23:38.404430"], ["updated_at", "2016-11-30 22:23:38.404430"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 60], ["created_at", "2016-11-30 22:23:38.407846"], ["updated_at", "2016-11-30 22:23:38.407846"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 55  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 55]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 55  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------- TasksTest: test_build --------------------- Product Load (0.4ms) 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.1ms) BEGIN ----------------------- TasksTest: test_rebuild ----------------------- Product Load (0.9ms) 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.4ms) 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 -------------------------- GeneratorsTest: test_index --------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.7ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:41:43.497577"], ["updated_at", "2016-11-30 22:41:43.497577"]]  (0.1ms) 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", 61], ["created_at", "2016-11-30 22:41:43.533039"], ["updated_at", "2016-11-30 22:41:43.533039"]]  (0.1ms) 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", 61], ["created_at", "2016-11-30 22:41:43.551830"], ["updated_at", "2016-11-30 22:41:43.551830"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 61], ["created_at", "2016-11-30 22:41:43.564961"], ["updated_at", "2016-11-30 22:41:43.564961"]]  (0.2ms) RELEASE SAVEPOINT active_record_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 (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.4ms) 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.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-30 22:41:45.666558"], ["updated_at", "2016-11-30 22:41:45.666558"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-30 22:41:45.672093"], ["updated_at", "2016-11-30 22:41:45.672093"]]  (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", 3], ["created_at", "2016-11-30 22:41:45.677387"], ["updated_at", "2016-11-30 22:41:45.677387"]]  (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-30 22:41:45.682331"], ["updated_at", "2016-11-30 22:41:45.682331"]]  (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", 5], ["created_at", "2016-11-30 22:41:45.689290"], ["updated_at", "2016-11-30 22:41:45.689290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) 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.4ms) 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.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:41:47.772942"], ["updated_at", "2016-11-30 22:41:47.772942"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:41:47.777938"], ["updated_at", "2016-11-30 22:41:47.777938"]]  (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", 3], ["created_at", "2016-11-30 22:41:47.783389"], ["updated_at", "2016-11-30 22:41:47.783389"]]  (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-30 22:41:47.787988"], ["updated_at", "2016-11-30 22:41:47.787988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:41:49.843600"], ["updated_at", "2016-11-30 22:41:49.843600"]]  (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", 62], ["created_at", "2016-11-30 22:41:49.846135"], ["updated_at", "2016-11-30 22:41:49.846135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 56 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (62)  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- IndexesTest: test_suggest ------------------------- Product Load (0.4ms) 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-30 22:41:51.914505"], ["updated_at", "2016-11-30 22:41:51.914505"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 63], ["created_at", "2016-11-30 22:41:51.916483"], ["updated_at", "2016-11-30 22:41:51.916483"]]  (0.2ms) 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", 63], ["created_at", "2016-11-30 22:41:51.923762"], ["updated_at", "2016-11-30 22:41:51.923762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.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.4ms) ROLLBACK  (0.2ms) 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.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- GeneratorsTest: test_index --------------------------  (0.2ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) 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-30 22:41:54.147764"], ["updated_at", "2016-11-30 22:41:54.147764"]]  (0.2ms) 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", 64], ["created_at", "2016-11-30 22:41:54.150055"], ["updated_at", "2016-11-30 22:41:54.150055"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 59  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 59]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 59  (0.3ms) 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  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------- TasksTest: test_build --------------------- Product Load (0.4ms) 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.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (28.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- DslTest: test_serialization ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (2.0ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.9ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) SAVEPOINT active_record_1 SQL (7.3ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-06 17:59:43.183699"], ["updated_at", "2016-12-06 17:59:43.183699"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (13.8ms) 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", 65], ["created_at", "2016-12-06 17:59:43.210265"], ["updated_at", "2016-12-06 17:59:43.210265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 60  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 60]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = 60  (0.8ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.8ms) 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-12-06 17:59:45.559710"], ["updated_at", "2016-12-06 17:59:45.559710"]]  (0.1ms) 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", "Test"], ["shop_id", 66], ["created_at", "2016-12-06 17:59:45.561989"], ["updated_at", "2016-12-06 17:59:45.561989"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = 61 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (66)  (0.8ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) 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-12-06 17:59:47.672905"], ["updated_at", "2016-12-06 17:59:47.672905"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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-12-06 17:59:47.682019"], ["updated_at", "2016-12-06 17:59:47.682019"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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-12-06 17:59:47.688895"], ["updated_at", "2016-12-06 17:59:47.688895"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-06 17:59:47.696373"], ["updated_at", "2016-12-06 17:59:47.696373"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.6ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.9ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (1.1ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.9ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 17:59:49.821040"], ["updated_at", "2016-12-06 17:59:49.821040"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", 67], ["created_at", "2016-12-06 17:59:49.828411"], ["updated_at", "2016-12-06 17:59:49.828411"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", 67], ["created_at", "2016-12-06 17:59:49.838553"], ["updated_at", "2016-12-06 17:59:49.838553"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (0.7ms) 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", 67], ["created_at", "2016-12-06 17:59:49.846241"], ["updated_at", "2016-12-06 17:59:49.846241"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.7ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.7ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.8ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (1.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (1.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) 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-12-06 17:59:52.523668"], ["updated_at", "2016-12-06 17:59:52.523668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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-12-06 17:59:52.531580"], ["updated_at", "2016-12-06 17:59:52.531580"]]  (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-12-06 17:59:52.539984"], ["updated_at", "2016-12-06 17:59:52.539984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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-12-06 17:59:52.547659"], ["updated_at", "2016-12-06 17:59:52.547659"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-12-06 17:59:52.554737"], ["updated_at", "2016-12-06 17:59:52.554737"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) 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.7ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.3ms) 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.5ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.9ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.4ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (1.1ms) ROLLBACK  (0.2ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.8ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) 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-12-06 17:59:54.874704"], ["updated_at", "2016-12-06 17:59:54.874704"]]  (0.2ms) 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", "Les Paul"], ["shop_id", 68], ["created_at", "2016-12-06 17:59:54.876707"], ["updated_at", "2016-12-06 17:59:54.876707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", 68], ["created_at", "2016-12-06 17:59:54.907296"], ["updated_at", "2016-12-06 17:59:54.907296"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.2ms) BEGIN --------------------- IndexTest: test_exist --------------------- Product Load (1.2ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.7ms) ROLLBACK  (0.2ms) BEGIN -------------------- TaskTest: test_build -------------------- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (1.5ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ---------------------- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000 Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.7ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-06 18:00:13.851176"], ["updated_at", "2016-12-06 18:00:13.851176"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 69], ["created_at", "2016-12-06 18:00:13.869628"], ["updated_at", "2016-12-06 18:00:13.869628"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 64  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 64]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 64  (0.8ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (1.0ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (1.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.9ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (1.0ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) 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-12-06 18:00:16.116927"], ["updated_at", "2016-12-06 18:00:16.116927"]]  (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", "Les Paul"], ["shop_id", 70], ["created_at", "2016-12-06 18:00:16.120066"], ["updated_at", "2016-12-06 18:00:16.120066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", 70], ["created_at", "2016-12-06 18:00:16.135184"], ["updated_at", "2016-12-06 18:00:16.135184"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.2ms) BEGIN --------------------- IndexTest: test_exist --------------------- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.8ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) 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-12-06 18:00:18.280241"], ["updated_at", "2016-12-06 18:00:18.280241"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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-12-06 18:00:18.287146"], ["updated_at", "2016-12-06 18:00:18.287146"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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-12-06 18:00:18.293693"], ["updated_at", "2016-12-06 18:00:18.293693"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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-12-06 18:00:18.300134"], ["updated_at", "2016-12-06 18:00:18.300134"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.7ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 18:00:20.371014"], ["updated_at", "2016-12-06 18:00:20.371014"]]  (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", 71], ["created_at", "2016-12-06 18:00:20.373345"], ["updated_at", "2016-12-06 18:00:20.373345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 67 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (71)  (0.7ms) ROLLBACK  (0.2ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 18:00:22.449099"], ["updated_at", "2016-12-06 18:00:22.449099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", 72], ["created_at", "2016-12-06 18:00:22.456732"], ["updated_at", "2016-12-06 18:00:22.456732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 72], ["created_at", "2016-12-06 18:00:22.467138"], ["updated_at", "2016-12-06 18:00:22.467138"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 72], ["created_at", "2016-12-06 18:00:22.476947"], ["updated_at", "2016-12-06 18:00:22.476947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) 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.3ms) 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.9ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.9ms) 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-12-06 18:00:24.596036"], ["updated_at", "2016-12-06 18:00:24.596036"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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-12-06 18:00:24.602923"], ["updated_at", "2016-12-06 18:00:24.602923"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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-12-06 18:00:24.613529"], ["updated_at", "2016-12-06 18:00:24.613529"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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-12-06 18:00:24.620916"], ["updated_at", "2016-12-06 18:00:24.620916"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-12-06 18:00:24.628645"], ["updated_at", "2016-12-06 18:00:24.628645"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.6ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.8ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2) Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ---------------------- Product Load (1.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.9ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (1.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build -------------------- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000 Product Load (1.1ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.8ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------- IndexTest: test_exist --------------------- Product Load (0.8ms) 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.9ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (1.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.9ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.9ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 19:27:46.879085"], ["updated_at", "2016-12-06 19:27:46.879085"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 73], ["created_at", "2016-12-06 19:27:46.905059"], ["updated_at", "2016-12-06 19:27:46.905059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", 73], ["created_at", "2016-12-06 19:27:46.931520"], ["updated_at", "2016-12-06 19:27:46.931520"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (1.0ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build -------------------- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.7ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ---------------------- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000 Product Load (0.7ms) 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.8ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (1.1ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.9ms) 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-12-06 19:27:49.276733"], ["updated_at", "2016-12-06 19:27:49.276733"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 74], ["created_at", "2016-12-06 19:27:49.280288"], ["updated_at", "2016-12-06 19:27:49.280288"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 70  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 70]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 70  (0.7ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.9ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 19:27:51.413862"], ["updated_at", "2016-12-06 19:27:51.413862"]]  (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", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 75], ["created_at", "2016-12-06 19:27:51.421186"], ["updated_at", "2016-12-06 19:27:51.421186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 75], ["created_at", "2016-12-06 19:27:51.433132"], ["updated_at", "2016-12-06 19:27:51.433132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 75], ["created_at", "2016-12-06 19:27:51.440232"], ["updated_at", "2016-12-06 19:27:51.440232"]]  (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.5ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.9ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.7ms) 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 (1.6ms) 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.9ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (1.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) 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-12-06 19:27:53.564283"], ["updated_at", "2016-12-06 19:27:53.564283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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-12-06 19:27:53.570865"], ["updated_at", "2016-12-06 19:27:53.570865"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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-12-06 19:27:53.577753"], ["updated_at", "2016-12-06 19:27:53.577753"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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-12-06 19:27:53.583619"], ["updated_at", "2016-12-06 19:27:53.583619"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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-12-06 19:27:53.589591"], ["updated_at", "2016-12-06 19:27:53.589591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.5ms) 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.6ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.6ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2) Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.7ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.8ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.8ms) 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-12-06 19:27:55.684403"], ["updated_at", "2016-12-06 19:27:55.684403"]]  (0.1ms) 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", "Test"], ["shop_id", 76], ["created_at", "2016-12-06 19:27:55.686508"], ["updated_at", "2016-12-06 19:27:55.686508"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 71 Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (76)  (3.5ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (1.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) 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-12-06 19:27:57.820861"], ["updated_at", "2016-12-06 19:27:57.820861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-06 19:27:57.826613"], ["updated_at", "2016-12-06 19:27:57.826613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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-12-06 19:27:57.833723"], ["updated_at", "2016-12-06 19:27:57.833723"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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-12-06 19:27:57.842631"], ["updated_at", "2016-12-06 19:27:57.842631"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.6ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.8ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 19:40:02.432362"], ["updated_at", "2016-12-06 19:40:02.432362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:08:43.637049"], ["updated_at", "2016-12-06 20:08:43.637049"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:12:00.041115"], ["updated_at", "2016-12-06 20:12:00.041115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:12:22.204804"], ["updated_at", "2016-12-06 20:12:22.204804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.5ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:13:26.327348"], ["updated_at", "2016-12-06 20:13:26.327348"]]  (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", 81], ["created_at", "2016-12-06 20:13:26.346145"], ["updated_at", "2016-12-06 20:13:26.346145"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 72 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (81)  (0.7ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-06 20:13:28.452250"], ["updated_at", "2016-12-06 20:13:28.452250"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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-12-06 20:13:28.459078"], ["updated_at", "2016-12-06 20:13:28.459078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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-12-06 20:13:28.465591"], ["updated_at", "2016-12-06 20:13:28.465591"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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-12-06 20:13:28.472170"], ["updated_at", "2016-12-06 20:13:28.472170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-12-06 20:13:28.477111"], ["updated_at", "2016-12-06 20:13:28.477111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2) Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2) Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.9ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.9ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) 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-12-06 20:13:30.587625"], ["updated_at", "2016-12-06 20:13:30.587625"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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-12-06 20:13:30.595360"], ["updated_at", "2016-12-06 20:13:30.595360"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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-12-06 20:13:30.601854"], ["updated_at", "2016-12-06 20:13:30.601854"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-06 20:13:30.609282"], ["updated_at", "2016-12-06 20:13:30.609282"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.7ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.5ms) 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-12-06 20:13:32.681273"], ["updated_at", "2016-12-06 20:13:32.681273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", 82], ["created_at", "2016-12-06 20:13:32.687492"], ["updated_at", "2016-12-06 20:13:32.687492"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 82], ["created_at", "2016-12-06 20:13:32.695721"], ["updated_at", "2016-12-06 20:13:32.695721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", 82], ["created_at", "2016-12-06 20:13:32.702456"], ["updated_at", "2016-12-06 20:13:32.702456"]]  (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.7ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (1.1ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.7ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.7ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (1.3ms) ROLLBACK  (0.2ms) BEGIN --------------------- IndexTest: test_exist --------------------- Product Load (0.5ms) 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.1ms) BEGIN ------------------------- IndexTest: 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.7ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (1.0ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.5ms) 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-12-06 20:13:34.933104"], ["updated_at", "2016-12-06 20:13:34.933104"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 83], ["created_at", "2016-12-06 20:13:34.937076"], ["updated_at", "2016-12-06 20:13:34.937076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.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", 83], ["created_at", "2016-12-06 20:13:34.947047"], ["updated_at", "2016-12-06 20:13:34.947047"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (1.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:13:37.037672"], ["updated_at", "2016-12-06 20:13:37.037672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.6ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (1.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) 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-12-06 20:13:37.144627"], ["updated_at", "2016-12-06 20:13:37.144627"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 85], ["created_at", "2016-12-06 20:13:37.147709"], ["updated_at", "2016-12-06 20:13:37.147709"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 75  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 75]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.8ms) SELECT "products".* FROM "products" WHERE "products"."id" = 75  (1.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ---------------------- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.8ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build -------------------- Product Load (0.9ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000 Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (1.0ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.6ms) 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.5ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-06 20:14:09.083496"], ["updated_at", "2016-12-06 20:14:09.083496"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 86], ["created_at", "2016-12-06 20:14:09.103778"], ["updated_at", "2016-12-06 20:14:09.103778"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 76  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 76]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.5ms) SELECT "products".* FROM "products" WHERE 1=0  (0.8ms) ROLLBACK  (0.2ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (1.0ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.8ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist --------------------- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.8ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (1.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) 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-12-06 20:14:11.309005"], ["updated_at", "2016-12-06 20:14:11.309005"]]  (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", "Les Paul"], ["shop_id", 87], ["created_at", "2016-12-06 20:14:11.311450"], ["updated_at", "2016-12-06 20:14:11.311450"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", 87], ["created_at", "2016-12-06 20:14:11.326517"], ["updated_at", "2016-12-06 20:14:11.326517"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) ROLLBACK  (0.2ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.9ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:14:13.414095"], ["updated_at", "2016-12-06 20:14:13.414095"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build -------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.9ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ---------------------- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000 Product Load (0.7ms) 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.7ms) ROLLBACK  (0.2ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.7ms) 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-12-06 20:14:13.649167"], ["updated_at", "2016-12-06 20:14:13.649167"]]  (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", 89], ["created_at", "2016-12-06 20:14:13.651999"], ["updated_at", "2016-12-06 20:14:13.651999"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 79 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (89)  (0.7ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.8ms) 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:14:15.725907"], ["updated_at", "2016-12-06 20:14:15.725907"]]  (0.1ms) 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", 90], ["created_at", "2016-12-06 20:14:15.732707"], ["updated_at", "2016-12-06 20:14:15.732707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 90], ["created_at", "2016-12-06 20:14:15.741038"], ["updated_at", "2016-12-06 20:14:15.741038"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 90], ["created_at", "2016-12-06 20:14:15.748103"], ["updated_at", "2016-12-06 20:14:15.748103"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.9ms) 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.8ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.8ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.7ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.8ms) 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.8ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.8ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.9ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.8ms) 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-12-06 20:14:17.970975"], ["updated_at", "2016-12-06 20:14:17.970975"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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-12-06 20:14:18.088410"], ["updated_at", "2016-12-06 20:14:18.088410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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-12-06 20:14:18.233350"], ["updated_at", "2016-12-06 20:14:18.233350"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-06 20:14:18.459860"], ["updated_at", "2016-12-06 20:14:18.459860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-12-06 20:14:18.465707"], ["updated_at", "2016-12-06 20:14:18.465707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.6ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2) Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2) Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.8ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.7ms) 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-12-06 20:14:20.560263"], ["updated_at", "2016-12-06 20:14:20.560263"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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-12-06 20:14:20.566426"], ["updated_at", "2016-12-06 20:14:20.566426"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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-12-06 20:14:20.573356"], ["updated_at", "2016-12-06 20:14:20.573356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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-12-06 20:14:20.580665"], ["updated_at", "2016-12-06 20:14:20.580665"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.8ms) ROLLBACK ActiveRecord::SchemaMigration Load (12.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (1.7ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist --------------------- Product Load (0.7ms) 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.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-08 07:17:51.865747"], ["updated_at", "2016-12-08 07:17:51.865747"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 91], ["created_at", "2016-12-08 07:17:51.884909"], ["updated_at", "2016-12-08 07:17:51.884909"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 91], ["created_at", "2016-12-08 07:17:51.908797"], ["updated_at", "2016-12-08 07:17:51.908797"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (2.0ms) 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.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-08 07:17:53.970899"], ["updated_at", "2016-12-08 07:17:53.970899"]]  (0.3ms) 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", 92], ["created_at", "2016-12-08 07:17:53.977620"], ["updated_at", "2016-12-08 07:17:53.977620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 92], ["created_at", "2016-12-08 07:17:53.985363"], ["updated_at", "2016-12-08 07:17:53.985363"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", 92], ["created_at", "2016-12-08 07:17:54.000285"], ["updated_at", "2016-12-08 07:17:54.000285"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) 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 (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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-08 07:17:56.109461"], ["updated_at", "2016-12-08 07:17:56.109461"]]  (0.2ms) 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", 2], ["created_at", "2016-12-08 07:17:56.114552"], ["updated_at", "2016-12-08 07:17:56.114552"]]  (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-12-08 07:17:56.119549"], ["updated_at", "2016-12-08 07:17:56.119549"]]  (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-12-08 07:17:56.124166"], ["updated_at", "2016-12-08 07:17:56.124166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-08 07:17:58.186957"], ["updated_at", "2016-12-08 07:17:58.186957"]]  (0.2ms) 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", 93], ["created_at", "2016-12-08 07:17:58.189261"], ["updated_at", "2016-12-08 07:17:58.189261"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 82 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (93)  (0.3ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) 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-12-08 07:18:00.260816"], ["updated_at", "2016-12-08 07:18:00.260816"]]  (0.2ms) 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", 2], ["created_at", "2016-12-08 07:18:00.266911"], ["updated_at", "2016-12-08 07:18:00.266911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-12-08 07:18:00.273222"], ["updated_at", "2016-12-08 07:18:00.273222"]]  (0.2ms) 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-12-08 07:18:00.279674"], ["updated_at", "2016-12-08 07:18:00.279674"]]  (0.2ms) 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", 5], ["created_at", "2016-12-08 07:18:00.284510"], ["updated_at", "2016-12-08 07:18:00.284510"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.7ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2) Shop Load (0.9ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2) Shop Load (0.9ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.4ms) ROLLBACK  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) 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-12-08 07:18:02.422517"], ["updated_at", "2016-12-08 07:18:02.422517"]]  (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", 94], ["created_at", "2016-12-08 07:18:02.425929"], ["updated_at", "2016-12-08 07:18:02.425929"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 83  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 83]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 83  (0.4ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-08 07:18:04.468747"], ["updated_at", "2016-12-08 07:18:04.468747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build -------------------- Product Load (0.8ms) 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.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: 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.4ms) 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 ActiveRecord::SchemaMigration Load (6.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (20.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:02:44.327557"], ["updated_at", "2016-12-09 23:02:44.327557"]]  (0.1ms) 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", 96], ["created_at", "2016-12-09 23:02:44.371501"], ["updated_at", "2016-12-09 23:02:44.371501"]]  (0.2ms) 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", 96], ["created_at", "2016-12-09 23:02:44.374255"], ["updated_at", "2016-12-09 23:02:44.374255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist ---------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.6ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-09 23:02:46.458176"], ["updated_at", "2016-12-09 23:02:46.458176"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 97], ["created_at", "2016-12-09 23:02:46.463067"], ["updated_at", "2016-12-09 23:02:46.463067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:02:48.477139"], ["updated_at", "2016-12-09 23:02:48.477139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:02:48.660323"], ["updated_at", "2016-12-09 23:02:48.660323"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 99], ["created_at", "2016-12-09 23:02:48.663905"], ["updated_at", "2016-12-09 23:02:48.663905"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) 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-12-09 23:02:50.698482"], ["updated_at", "2016-12-09 23:02:50.698482"]]  (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", 2], ["created_at", "2016-12-09 23:02:50.700691"], ["updated_at", "2016-12-09 23:02:50.700691"]]  (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-12-09 23:02:50.702526"], ["updated_at", "2016-12-09 23:02:50.702526"]]  (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-12-09 23:02:50.704451"], ["updated_at", "2016-12-09 23:02:50.704451"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:02:52.733279"], ["updated_at", "2016-12-09 23:02:52.733279"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 100], ["created_at", "2016-12-09 23:02:52.736129"], ["updated_at", "2016-12-09 23:02:52.736129"]]  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 100], ["created_at", "2016-12-09 23:02:52.739027"], ["updated_at", "2016-12-09 23:02:52.739027"]]  (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", 100], ["created_at", "2016-12-09 23:02:52.740991"], ["updated_at", "2016-12-09 23:02:52.740991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.5ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-09 23:02:54.776668"], ["updated_at", "2016-12-09 23:02:54.776668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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-12-09 23:02:54.779202"], ["updated_at", "2016-12-09 23:02:54.779202"]]  (0.4ms) 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-12-09 23:02:54.781876"], ["updated_at", "2016-12-09 23:02:54.781876"]]  (0.3ms) 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-12-09 23:02:54.783972"], ["updated_at", "2016-12-09 23:02:54.783972"]]  (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", 5], ["created_at", "2016-12-09 23:02:54.785518"], ["updated_at", "2016-12-09 23:02:54.785518"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-09 23:04:01.172824"], ["updated_at", "2016-12-09 23:04:01.172824"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 101], ["created_at", "2016-12-09 23:04:01.199129"], ["updated_at", "2016-12-09 23:04:01.199129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:04:03.350209"], ["updated_at", "2016-12-09 23:04:03.350209"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:04:03.366489"], ["updated_at", "2016-12-09 23:04:03.366489"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 103], ["created_at", "2016-12-09 23:04:03.369320"], ["updated_at", "2016-12-09 23:04:03.369320"]]  (0.4ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 103], ["created_at", "2016-12-09 23:04:03.372734"], ["updated_at", "2016-12-09 23:04:03.372734"]]  (0.1ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 103], ["created_at", "2016-12-09 23:04:03.375072"], ["updated_at", "2016-12-09 23:04:03.375072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (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-12-09 23:04:05.406281"], ["updated_at", "2016-12-09 23:04:05.406281"]]  (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-12-09 23:04:05.408358"], ["updated_at", "2016-12-09 23:04:05.408358"]]  (0.2ms) 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", 3], ["created_at", "2016-12-09 23:04:05.410099"], ["updated_at", "2016-12-09 23:04:05.410099"]]  (0.4ms) 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", 4], ["created_at", "2016-12-09 23:04:05.412194"], ["updated_at", "2016-12-09 23:04:05.412194"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:04:07.506771"], ["updated_at", "2016-12-09 23:04:07.506771"]]  (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", 104], ["created_at", "2016-12-09 23:04:07.509707"], ["updated_at", "2016-12-09 23:04:07.509707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.4ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-09 23:04:09.551837"], ["updated_at", "2016-12-09 23:04:09.551837"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-09 23:04:09.555251"], ["updated_at", "2016-12-09 23:04:09.555251"]]  (0.5ms) 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-12-09 23:04:09.557603"], ["updated_at", "2016-12-09 23:04:09.557603"]]  (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-12-09 23:04:09.559228"], ["updated_at", "2016-12-09 23:04:09.559228"]]  (0.2ms) 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", 5], ["created_at", "2016-12-09 23:04:09.560667"], ["updated_at", "2016-12-09 23:04:09.560667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN --------------------- IndexTest: test_exist ---------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.5ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:04:11.708134"], ["updated_at", "2016-12-09 23:04:11.708134"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 105], ["created_at", "2016-12-09 23:04:11.711115"], ["updated_at", "2016-12-09 23:04:11.711115"]]  (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", 105], ["created_at", "2016-12-09 23:04:11.713589"], ["updated_at", "2016-12-09 23:04:11.713589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:04:20.976563"], ["updated_at", "2016-12-09 23:04:20.976563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist ---------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:04:21.175910"], ["updated_at", "2016-12-09 23:04:21.175910"]]  (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", "Les Paul"], ["shop_id", 107], ["created_at", "2016-12-09 23:04:21.202755"], ["updated_at", "2016-12-09 23:04:21.202755"]]  (0.1ms) 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", 107], ["created_at", "2016-12-09 23:04:21.205206"], ["updated_at", "2016-12-09 23:04:21.205206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.4ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:04:23.240940"], ["updated_at", "2016-12-09 23:04:23.240940"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 108], ["created_at", "2016-12-09 23:04:23.244787"], ["updated_at", "2016-12-09 23:04:23.244787"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:04:25.281039"], ["updated_at", "2016-12-09 23:04:25.281039"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 109], ["created_at", "2016-12-09 23:04:25.283666"], ["updated_at", "2016-12-09 23:04:25.283666"]]  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 109], ["created_at", "2016-12-09 23:04:25.286189"], ["updated_at", "2016-12-09 23:04:25.286189"]]  (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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 109], ["created_at", "2016-12-09 23:04:25.288452"], ["updated_at", "2016-12-09 23:04:25.288452"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-09 23:04:27.320884"], ["updated_at", "2016-12-09 23:04:27.320884"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-09 23:04:27.323171"], ["updated_at", "2016-12-09 23:04:27.323171"]]  (0.2ms) 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-12-09 23:04:27.325438"], ["updated_at", "2016-12-09 23:04:27.325438"]]  (0.2ms) 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", 4], ["created_at", "2016-12-09 23:04:27.327375"], ["updated_at", "2016-12-09 23:04:27.327375"]]  (0.2ms) 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", 5], ["created_at", "2016-12-09 23:04:27.329360"], ["updated_at", "2016-12-09 23:04:27.329360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-09 23:04:29.358912"], ["updated_at", "2016-12-09 23:04:29.358912"]]  (0.2ms) 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", 2], ["created_at", "2016-12-09 23:04:29.360844"], ["updated_at", "2016-12-09 23:04:29.360844"]]  (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-12-09 23:04:29.362543"], ["updated_at", "2016-12-09 23:04:29.362543"]]  (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-12-09 23:04:29.364310"], ["updated_at", "2016-12-09 23:04:29.364310"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (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-12-09 23:04:31.417035"], ["updated_at", "2016-12-09 23:04:31.417035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 110], ["created_at", "2016-12-09 23:04:31.419810"], ["updated_at", "2016-12-09 23:04:31.419810"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:04:50.454646"], ["updated_at", "2016-12-09 23:04:50.454646"]]  (0.2ms) 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", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 111], ["created_at", "2016-12-09 23:04:50.474876"], ["updated_at", "2016-12-09 23:04:50.474876"]]  (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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 111], ["created_at", "2016-12-09 23:04:50.477248"], ["updated_at", "2016-12-09 23:04:50.477248"]]  (0.1ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 111], ["created_at", "2016-12-09 23:04:50.479193"], ["updated_at", "2016-12-09 23:04:50.479193"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (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-12-09 23:04:52.510296"], ["updated_at", "2016-12-09 23:04:52.510296"]]  (0.2ms) 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-12-09 23:04:52.512319"], ["updated_at", "2016-12-09 23:04:52.512319"]]  (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", 3], ["created_at", "2016-12-09 23:04:52.513918"], ["updated_at", "2016-12-09 23:04:52.513918"]]  (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", 4], ["created_at", "2016-12-09 23:04:52.515637"], ["updated_at", "2016-12-09 23:04:52.515637"]]  (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", 5], ["created_at", "2016-12-09 23:04:52.517194"], ["updated_at", "2016-12-09 23:04:52.517194"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.9ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:04:54.549973"], ["updated_at", "2016-12-09 23:04:54.549973"]]  (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", "Test"], ["shop_id", 112], ["created_at", "2016-12-09 23:04:54.552927"], ["updated_at", "2016-12-09 23:04:54.552927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.4ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-09 23:04:56.628150"], ["updated_at", "2016-12-09 23:04:56.628150"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-12-09 23:04:56.632230"], ["updated_at", "2016-12-09 23:04:56.632230"]]  (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", 3], ["created_at", "2016-12-09 23:04:56.633837"], ["updated_at", "2016-12-09 23:04:56.633837"]]  (0.2ms) 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-12-09 23:04:56.635688"], ["updated_at", "2016-12-09 23:04:56.635688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:04:58.704381"], ["updated_at", "2016-12-09 23:04:58.704381"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 113], ["created_at", "2016-12-09 23:04:58.707266"], ["updated_at", "2016-12-09 23:04:58.707266"]]  (0.1ms) 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", 113], ["created_at", "2016-12-09 23:04:58.709607"], ["updated_at", "2016-12-09 23:04:58.709607"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist ---------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:05:00.787461"], ["updated_at", "2016-12-09 23:05:00.787461"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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-12-09 23:05:00.805967"], ["updated_at", "2016-12-09 23:05:00.805967"]]  (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", 115], ["created_at", "2016-12-09 23:05:00.808683"], ["updated_at", "2016-12-09 23:05:00.808683"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-09 23:05:57.949966"], ["updated_at", "2016-12-09 23:05:57.949966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 116], ["created_at", "2016-12-09 23:05:57.970037"], ["updated_at", "2016-12-09 23:05:57.970037"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:06:00.019931"], ["updated_at", "2016-12-09 23:06:00.019931"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 117], ["created_at", "2016-12-09 23:06:00.022893"], ["updated_at", "2016-12-09 23:06:00.022893"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (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-12-09 23:06:02.053225"], ["updated_at", "2016-12-09 23:06:02.053225"]]  (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-12-09 23:06:02.055234"], ["updated_at", "2016-12-09 23:06:02.055234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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-12-09 23:06:02.057133"], ["updated_at", "2016-12-09 23:06:02.057133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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-12-09 23:06:02.058757"], ["updated_at", "2016-12-09 23:06:02.058757"]]  (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", 5], ["created_at", "2016-12-09 23:06:02.060426"], ["updated_at", "2016-12-09 23:06:02.060426"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:06:04.091156"], ["updated_at", "2016-12-09 23:06:04.091156"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", 118], ["created_at", "2016-12-09 23:06:04.093859"], ["updated_at", "2016-12-09 23:06:04.093859"]]  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 118], ["created_at", "2016-12-09 23:06:04.096935"], ["updated_at", "2016-12-09 23:06:04.096935"]]  (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", 118], ["created_at", "2016-12-09 23:06:04.099221"], ["updated_at", "2016-12-09 23:06:04.099221"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-09 23:06:06.128891"], ["updated_at", "2016-12-09 23:06:06.128891"]]  (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-12-09 23:06:06.130702"], ["updated_at", "2016-12-09 23:06:06.130702"]]  (0.2ms) 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", 3], ["created_at", "2016-12-09 23:06:06.132284"], ["updated_at", "2016-12-09 23:06:06.132284"]]  (0.2ms) 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-12-09 23:06:06.134110"], ["updated_at", "2016-12-09 23:06:06.134110"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------- IndexTest: test_exist ---------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:06:08.219109"], ["updated_at", "2016-12-09 23:06:08.219109"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 119], ["created_at", "2016-12-09 23:06:08.221626"], ["updated_at", "2016-12-09 23:06:08.221626"]]  (0.1ms) 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", 119], ["created_at", "2016-12-09 23:06:08.223812"], ["updated_at", "2016-12-09 23:06:08.223812"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:06:10.395036"], ["updated_at", "2016-12-09 23:06:10.395036"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:06:32.470198"], ["updated_at", "2016-12-09 23:06:32.470198"]]  (0.1ms) 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", "Test"], ["shop_id", 121], ["created_at", "2016-12-09 23:06:32.495169"], ["updated_at", "2016-12-09 23:06:32.495169"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:06:34.785200"], ["updated_at", "2016-12-09 23:06:34.785200"]]  (0.1ms) 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", 122], ["created_at", "2016-12-09 23:06:34.787981"], ["updated_at", "2016-12-09 23:06:34.787981"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 122], ["created_at", "2016-12-09 23:06:34.791460"], ["updated_at", "2016-12-09 23:06:34.791460"]]  (0.1ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 122], ["created_at", "2016-12-09 23:06:34.793518"], ["updated_at", "2016-12-09 23:06:34.793518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) 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-12-09 23:06:36.820084"], ["updated_at", "2016-12-09 23:06:36.820084"]]  (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-12-09 23:06:36.822140"], ["updated_at", "2016-12-09 23:06:36.822140"]]  (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-12-09 23:06:36.823815"], ["updated_at", "2016-12-09 23:06:36.823815"]]  (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-12-09 23:06:36.825611"], ["updated_at", "2016-12-09 23:06:36.825611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-12-09 23:06:38.852277"], ["updated_at", "2016-12-09 23:06:38.852277"]]  (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-12-09 23:06:38.853936"], ["updated_at", "2016-12-09 23:06:38.853936"]]  (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", 3], ["created_at", "2016-12-09 23:06:38.855577"], ["updated_at", "2016-12-09 23:06:38.855577"]]  (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", 4], ["created_at", "2016-12-09 23:06:38.857341"], ["updated_at", "2016-12-09 23:06:38.857341"]]  (0.2ms) 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", 5], ["created_at", "2016-12-09 23:06:38.859045"], ["updated_at", "2016-12-09 23:06:38.859045"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist ---------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:06:40.979372"], ["updated_at", "2016-12-09 23:06:40.979372"]]  (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", "Les Paul"], ["shop_id", 123], ["created_at", "2016-12-09 23:06:40.982037"], ["updated_at", "2016-12-09 23:06:40.982037"]]  (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", 123], ["created_at", "2016-12-09 23:06:40.984226"], ["updated_at", "2016-12-09 23:06:40.984226"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:06:43.021578"], ["updated_at", "2016-12-09 23:06:43.021578"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (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-12-09 23:06:43.064376"], ["updated_at", "2016-12-09 23:06:43.064376"]]  (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", 125], ["created_at", "2016-12-09 23:06:43.066977"], ["updated_at", "2016-12-09 23:06:43.066977"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search -------------------- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-09 23:13:03.279760"], ["updated_at", "2016-12-09 23:13:03.279760"]]  (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", 2], ["created_at", "2016-12-09 23:13:03.318382"], ["updated_at", "2016-12-09 23:13:03.318382"]]  (0.2ms) 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-12-09 23:13:03.323987"], ["updated_at", "2016-12-09 23:13:03.323987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-09 23:13:03.329525"], ["updated_at", "2016-12-09 23:13:03.329525"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.6ms) 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.5ms) ROLLBACK  (0.2ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Shop Load (0.5ms) 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-12-09 23:13:05.402405"], ["updated_at", "2016-12-09 23:13:05.402405"]]  (0.1ms) 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", "Test"], ["shop_id", 126], ["created_at", "2016-12-09 23:13:05.424736"], ["updated_at", "2016-12-09 23:13:05.424736"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.6ms) 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.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-09 23:13:05.501953"], ["updated_at", "2016-12-09 23:13:05.501953"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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-12-09 23:13:05.508075"], ["updated_at", "2016-12-09 23:13:05.508075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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-12-09 23:13:05.514082"], ["updated_at", "2016-12-09 23:13:05.514082"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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-12-09 23:13:05.519353"], ["updated_at", "2016-12-09 23:13:05.519353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-12-09 23:13:05.524482"], ["updated_at", "2016-12-09 23:13:05.524482"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.4ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.3ms) 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  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (1.0ms) 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-12-09 23:13:07.617742"], ["updated_at", "2016-12-09 23:13:07.617742"]]  (0.1ms) 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", 127], ["created_at", "2016-12-09 23:13:07.624772"], ["updated_at", "2016-12-09 23:13:07.624772"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", 127], ["created_at", "2016-12-09 23:13:07.633225"], ["updated_at", "2016-12-09 23:13:07.633225"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 127], ["created_at", "2016-12-09 23:13:07.639828"], ["updated_at", "2016-12-09 23:13:07.639828"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:13:09.699369"], ["updated_at", "2016-12-09 23:13:09.699369"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build -------------------- Product Load (0.4ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ---------------------- Product Load (0.4ms) 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.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.4ms) 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-09 23:13:09.900879"], ["updated_at", "2016-12-09 23:13:09.900879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 129], ["created_at", "2016-12-09 23:13:09.903919"], ["updated_at", "2016-12-09 23:13:09.903919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 109  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 109]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 109  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.4ms) 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.5ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist --------------------- Product Load (0.4ms) 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.1ms) BEGIN -------------------- IndexTest: test_find -------------------- 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.5ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.4ms) 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:13:12.107806"], ["updated_at", "2016-12-09 23:13:12.107806"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 130], ["created_at", "2016-12-09 23:13:12.110287"], ["updated_at", "2016-12-09 23:13:12.110287"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", 130], ["created_at", "2016-12-09 23:13:12.117362"], ["updated_at", "2016-12-09 23:13:12.117362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.6ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.5ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.6ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:15:33.008984"], ["updated_at", "2016-12-09 23:15:33.008984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist ---------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-09 23:15:46.765786"], ["updated_at", "2016-12-09 23:15:46.765786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 132], ["created_at", "2016-12-09 23:15:46.792968"], ["updated_at", "2016-12-09 23:15:46.792968"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:15:46.825284"], ["updated_at", "2016-12-09 23:15:46.825284"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN -------------------- IndexTest: test_find -------------------- 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.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- IndexTest: 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.4ms) ROLLBACK  (0.2ms) BEGIN --------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.4ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:15:47.004089"], ["updated_at", "2016-12-09 23:15:47.004089"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 134], ["created_at", "2016-12-09 23:15:47.006183"], ["updated_at", "2016-12-09 23:15:47.006183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 134], ["created_at", "2016-12-09 23:15:47.012813"], ["updated_at", "2016-12-09 23:15:47.012813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build -------------------- Product Load (0.4ms) 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 ---------------------- TaskTest: test_rebuild ---------------------- Product Load (0.4ms) 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.3ms) 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.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:15:50.014816"], ["updated_at", "2016-12-09 23:15:50.014816"]]  (0.1ms) 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", "Test"], ["shop_id", 135], ["created_at", "2016-12-09 23:15:50.017638"], ["updated_at", "2016-12-09 23:15:50.017638"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 115 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (135)  (0.5ms) 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.2ms) 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-12-09 23:15:52.092099"], ["updated_at", "2016-12-09 23:15:52.092099"]]  (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", 2], ["created_at", "2016-12-09 23:15:52.097578"], ["updated_at", "2016-12-09 23:15:52.097578"]]  (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-12-09 23:15:52.102030"], ["updated_at", "2016-12-09 23:15:52.102030"]]  (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-12-09 23:15:52.107621"], ["updated_at", "2016-12-09 23:15:52.107621"]]  (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", 5], ["created_at", "2016-12-09 23:15:52.112239"], ["updated_at", "2016-12-09 23:15:52.112239"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.5ms) 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.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-09 23:15:54.196036"], ["updated_at", "2016-12-09 23:15:54.196036"]]  (0.2ms) 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", 2], ["created_at", "2016-12-09 23:15:54.201181"], ["updated_at", "2016-12-09 23:15:54.201181"]]  (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-12-09 23:15:54.206213"], ["updated_at", "2016-12-09 23:15:54.206213"]]  (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-12-09 23:15:54.210949"], ["updated_at", "2016-12-09 23:15:54.210949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.7ms) 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.9ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:15:56.563332"], ["updated_at", "2016-12-09 23:15:56.563332"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 136], ["created_at", "2016-12-09 23:15:56.569165"], ["updated_at", "2016-12-09 23:15:56.569165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", 136], ["created_at", "2016-12-09 23:15:56.577794"], ["updated_at", "2016-12-09 23:15:56.577794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (77.6ms) 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", 136], ["created_at", "2016-12-09 23:15:56.584240"], ["updated_at", "2016-12-09 23:15:56.584240"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (1.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-09 23:16:56.553389"], ["updated_at", "2016-12-09 23:16:56.553389"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 137], ["created_at", "2016-12-09 23:16:56.578714"], ["updated_at", "2016-12-09 23:16:56.578714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:16:56.635864"], ["updated_at", "2016-12-09 23:16:56.635864"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 138], ["created_at", "2016-12-09 23:16:56.638162"], ["updated_at", "2016-12-09 23:16:56.638162"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 117 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (138)  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.4ms) 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-12-09 23:16:58.695549"], ["updated_at", "2016-12-09 23:16:58.695549"]]  (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", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 139], ["created_at", "2016-12-09 23:16:58.702080"], ["updated_at", "2016-12-09 23:16:58.702080"]]  (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", 139], ["created_at", "2016-12-09 23:16:58.708947"], ["updated_at", "2016-12-09 23:16:58.708947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 139], ["created_at", "2016-12-09 23:16:58.714847"], ["updated_at", "2016-12-09 23:16:58.714847"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-09 23:17:00.805054"], ["updated_at", "2016-12-09 23:17:00.805054"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-12-09 23:17:00.810693"], ["updated_at", "2016-12-09 23:17:00.810693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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-12-09 23:17:00.815949"], ["updated_at", "2016-12-09 23:17:00.815949"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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-12-09 23:17:00.821476"], ["updated_at", "2016-12-09 23:17:00.821476"]]  (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.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.4ms) 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-12-09 23:17:02.874219"], ["updated_at", "2016-12-09 23:17:02.874219"]]  (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-12-09 23:17:02.878846"], ["updated_at", "2016-12-09 23:17:02.878846"]]  (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-12-09 23:17:02.883688"], ["updated_at", "2016-12-09 23:17:02.883688"]]  (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-12-09 23:17:02.888226"], ["updated_at", "2016-12-09 23:17:02.888226"]]  (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", 5], ["created_at", "2016-12-09 23:17:02.892482"], ["updated_at", "2016-12-09 23:17:02.892482"]]  (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.3ms) 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  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build -------------------- 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 ---------------------- TaskTest: test_rebuild ---------------------- Product Load (0.4ms) 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 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.5ms) ROLLBACK  (0.3ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:17:05.147319"], ["updated_at", "2016-12-09 23:17:05.147319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.4ms) 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.6ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist --------------------- Product Load (0.4ms) 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.5ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.4ms) 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:17:05.287009"], ["updated_at", "2016-12-09 23:17:05.287009"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "Les Paul"], ["shop_id", 141], ["created_at", "2016-12-09 23:17:05.289540"], ["updated_at", "2016-12-09 23:17:05.289540"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", 141], ["created_at", "2016-12-09 23:17:05.297376"], ["updated_at", "2016-12-09 23:17:05.297376"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.2ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:20:14.274000"], ["updated_at", "2016-12-09 23:20:14.274000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist ---------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:20:31.824364"], ["updated_at", "2016-12-09 23:20:31.824364"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist ---------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.6ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.6ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist ---------------------  (0.6ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:21:14.383251"], ["updated_at", "2016-12-09 23:21:14.383251"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.4ms) ROLLBACK  (0.2ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:29:29.611957"], ["updated_at", "2016-12-09 23:29:29.611957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 145], ["created_at", "2016-12-09 23:29:29.636587"], ["updated_at", "2016-12-09 23:29:29.636587"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist --------------------- Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.6ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.5ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.5ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:29:29.897835"], ["updated_at", "2016-12-09 23:29:29.897835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build -------------------- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ---------------------- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.4ms) ROLLBACK  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:30:32.032325"], ["updated_at", "2016-12-09 23:30:32.032325"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 147], ["created_at", "2016-12-09 23:30:32.057507"], ["updated_at", "2016-12-09 23:30:32.057507"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find -------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: 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.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: 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  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build -------------------- 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.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.2ms) 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-12-09 23:30:32.370447"], ["updated_at", "2016-12-09 23:30:32.370447"]]  (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", 2], ["created_at", "2016-12-09 23:30:32.375844"], ["updated_at", "2016-12-09 23:30:32.375844"]]  (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", 3], ["created_at", "2016-12-09 23:30:32.380723"], ["updated_at", "2016-12-09 23:30:32.380723"]]  (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-12-09 23:30:32.385423"], ["updated_at", "2016-12-09 23:30:32.385423"]]  (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", 5], ["created_at", "2016-12-09 23:30:32.389762"], ["updated_at", "2016-12-09 23:30:32.389762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (1.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2) Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (47.1ms) 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.4ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) 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.1ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:30:34.648598"], ["updated_at", "2016-12-09 23:30:34.648598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (8.8ms) 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", 148], ["created_at", "2016-12-09 23:30:34.653894"], ["updated_at", "2016-12-09 23:30:34.653894"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 148], ["created_at", "2016-12-09 23:30:34.673069"], ["updated_at", "2016-12-09 23:30:34.673069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 148], ["created_at", "2016-12-09 23:30:34.679188"], ["updated_at", "2016-12-09 23:30:34.679188"]]  (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.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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-09 23:30:36.766845"], ["updated_at", "2016-12-09 23:30:36.766845"]]  (0.2ms) 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", 2], ["created_at", "2016-12-09 23:30:36.771455"], ["updated_at", "2016-12-09 23:30:36.771455"]]  (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-12-09 23:30:36.776436"], ["updated_at", "2016-12-09 23:30:36.776436"]]  (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-12-09 23:30:36.781710"], ["updated_at", "2016-12-09 23:30:36.781710"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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-12-09 23:30:38.840805"], ["updated_at", "2016-12-09 23:30:38.840805"]]  (0.2ms) 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", 149], ["created_at", "2016-12-09 23:30:38.842698"], ["updated_at", "2016-12-09 23:30:38.842698"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 122 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (149)  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.4ms) 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.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-09 23:30:40.901180"], ["updated_at", "2016-12-09 23:30:40.901180"]]  (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", 150], ["created_at", "2016-12-09 23:30:40.903499"], ["updated_at", "2016-12-09 23:30:40.903499"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 123]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.8ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123  (13.8ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:30:43.025126"], ["updated_at", "2016-12-09 23:30:43.025126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-09 23:32:45.890148"], ["updated_at", "2016-12-09 23:32:45.890148"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 152], ["created_at", "2016-12-09 23:32:45.910170"], ["updated_at", "2016-12-09 23:32:45.910170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.5ms) ROLLBACK  (0.2ms) BEGIN --------------------- IndexTest: test_exist --------------------- Product Load (0.4ms) 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.5ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.4ms) 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.5ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:32:46.089696"], ["updated_at", "2016-12-09 23:32:46.089696"]]  (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", "Les Paul"], ["shop_id", 153], ["created_at", "2016-12-09 23:32:46.092248"], ["updated_at", "2016-12-09 23:32:46.092248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 153], ["created_at", "2016-12-09 23:32:46.099700"], ["updated_at", "2016-12-09 23:32:46.099700"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build -------------------- 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 ---------------------- TaskTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:32:48.267557"], ["updated_at", "2016-12-09 23:32:48.267557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.5ms) 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-12-09 23:32:48.310341"], ["updated_at", "2016-12-09 23:32:48.310341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 155], ["created_at", "2016-12-09 23:32:48.312446"], ["updated_at", "2016-12-09 23:32:48.312446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 127 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (155)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.4ms) 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-12-09 23:32:50.370322"], ["updated_at", "2016-12-09 23:32:50.370322"]]  (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", 2], ["created_at", "2016-12-09 23:32:50.376060"], ["updated_at", "2016-12-09 23:32:50.376060"]]  (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-12-09 23:32:50.381580"], ["updated_at", "2016-12-09 23:32:50.381580"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-09 23:32:50.389003"], ["updated_at", "2016-12-09 23:32:50.389003"]]  (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", 5], ["created_at", "2016-12-09 23:32:50.393682"], ["updated_at", "2016-12-09 23:32:50.393682"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) 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.3ms) 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  (0.4ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-09 23:32:52.472534"], ["updated_at", "2016-12-09 23:32:52.472534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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-12-09 23:32:52.477946"], ["updated_at", "2016-12-09 23:32:52.477946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-12-09 23:32:52.483183"], ["updated_at", "2016-12-09 23:32:52.483183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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-12-09 23:32:52.489217"], ["updated_at", "2016-12-09 23:32:52.489217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.5ms) ROLLBACK  (0.1ms) 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-12-09 23:32:54.543895"], ["updated_at", "2016-12-09 23:32:54.543895"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 156], ["created_at", "2016-12-09 23:32:54.549586"], ["updated_at", "2016-12-09 23:32:54.549586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 156], ["created_at", "2016-12-09 23:32:54.555847"], ["updated_at", "2016-12-09 23:32:54.555847"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 156], ["created_at", "2016-12-09 23:32:54.561109"], ["updated_at", "2016-12-09 23:32:54.561109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) 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.5ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-09 23:35:21.644730"], ["updated_at", "2016-12-09 23:35:21.644730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 157], ["created_at", "2016-12-09 23:35:21.670472"], ["updated_at", "2016-12-09 23:35:21.670472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:35:21.689109"], ["updated_at", "2016-12-09 23:35:21.689109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.8ms) 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.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:35:46.731167"], ["updated_at", "2016-12-09 23:35:46.731167"]]  (0.2ms) 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", 159], ["created_at", "2016-12-09 23:35:46.733990"], ["updated_at", "2016-12-09 23:35:46.733990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (1.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 129 Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (159)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------- IndexTest: test_exist ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:36:01.962821"], ["updated_at", "2016-12-09 23:36:01.962821"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 160], ["created_at", "2016-12-09 23:36:01.985756"], ["updated_at", "2016-12-09 23:36:01.985756"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build -------------------- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-09 23:36:32.749897"], ["updated_at", "2016-12-09 23:36:32.749897"]]  (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", 2], ["created_at", "2016-12-09 23:36:32.785101"], ["updated_at", "2016-12-09 23:36:32.785101"]]  (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-12-09 23:36:32.790605"], ["updated_at", "2016-12-09 23:36:32.790605"]]  (0.2ms) 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-12-09 23:36:32.795624"], ["updated_at", "2016-12-09 23:36:32.795624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.6ms) 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.5ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:36:34.854498"], ["updated_at", "2016-12-09 23:36:34.854498"]]  (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", "Test"], ["shop_id", 161], ["created_at", "2016-12-09 23:36:34.878178"], ["updated_at", "2016-12-09 23:36:34.878178"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.4ms) 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.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:36:34.923088"], ["updated_at", "2016-12-09 23:36:34.923088"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 162], ["created_at", "2016-12-09 23:36:34.928866"], ["updated_at", "2016-12-09 23:36:34.928866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 162], ["created_at", "2016-12-09 23:36:34.934949"], ["updated_at", "2016-12-09 23:36:34.934949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 162], ["created_at", "2016-12-09 23:36:34.941005"], ["updated_at", "2016-12-09 23:36:34.941005"]]  (0.2ms) 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.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.6ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.4ms) 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.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-09 23:36:37.023016"], ["updated_at", "2016-12-09 23:36:37.023016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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-12-09 23:36:37.028382"], ["updated_at", "2016-12-09 23:36:37.028382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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-12-09 23:36:37.034003"], ["updated_at", "2016-12-09 23:36:37.034003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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-12-09 23:36:37.039760"], ["updated_at", "2016-12-09 23:36:37.039760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-12-09 23:36:37.046174"], ["updated_at", "2016-12-09 23:36:37.046174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.5ms) ROLLBACK  (0.1ms) 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.1ms) 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-12-09 23:36:39.121558"], ["updated_at", "2016-12-09 23:36:39.121558"]]  (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", 163], ["created_at", "2016-12-09 23:36:39.123651"], ["updated_at", "2016-12-09 23:36:39.123651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (4.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 132  (6.6ms) SAVEPOINT active_record_1 SQL (4.8ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 132]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 132  (33.9ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.7ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:36:41.311558"], ["updated_at", "2016-12-09 23:36:41.311558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build -------------------- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (4.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ---------------------- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.5ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.4ms) 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.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.4ms) 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:36:42.027654"], ["updated_at", "2016-12-09 23:36:42.027654"]]  (0.2ms) 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", "Les Paul"], ["shop_id", 165], ["created_at", "2016-12-09 23:36:42.030117"], ["updated_at", "2016-12-09 23:36:42.030117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 165], ["created_at", "2016-12-09 23:36:42.036426"], ["updated_at", "2016-12-09 23:36:42.036426"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- IndexTest: test_find -------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:40:16.442232"], ["updated_at", "2016-12-09 23:40:16.442232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.6ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.9ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.4ms) ROLLBACK  (0.2ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist ---------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist ---------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.4ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:42:49.358802"], ["updated_at", "2016-12-09 23:42:49.358802"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 167], ["created_at", "2016-12-09 23:42:49.393007"], ["updated_at", "2016-12-09 23:42:49.393007"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 167], ["created_at", "2016-12-09 23:42:49.395725"], ["updated_at", "2016-12-09 23:42:49.395725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.1ms) 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-12-09 23:42:51.466937"], ["updated_at", "2016-12-09 23:42:51.466937"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", 168], ["created_at", "2016-12-09 23:42:51.469512"], ["updated_at", "2016-12-09 23:42:51.469512"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:42:53.504709"], ["updated_at", "2016-12-09 23:42:53.504709"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 169], ["created_at", "2016-12-09 23:42:53.507220"], ["updated_at", "2016-12-09 23:42:53.507220"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (7.6ms) ROLLBACK  (3.6ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:42:55.966590"], ["updated_at", "2016-12-09 23:42:55.966590"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 170], ["created_at", "2016-12-09 23:42:55.969967"], ["updated_at", "2016-12-09 23:42:55.969967"]]  (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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 170], ["created_at", "2016-12-09 23:42:55.972986"], ["updated_at", "2016-12-09 23:42:55.972986"]]  (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", 170], ["created_at", "2016-12-09 23:42:55.975714"], ["updated_at", "2016-12-09 23:42:55.975714"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) 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-12-09 23:42:58.005116"], ["updated_at", "2016-12-09 23:42:58.005116"]]  (0.4ms) 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-12-09 23:42:58.007599"], ["updated_at", "2016-12-09 23:42:58.007599"]]  (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-12-09 23:42:58.009417"], ["updated_at", "2016-12-09 23:42:58.009417"]]  (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", 4], ["created_at", "2016-12-09 23:42:58.011255"], ["updated_at", "2016-12-09 23:42:58.011255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-09 23:43:00.039712"], ["updated_at", "2016-12-09 23:43:00.039712"]]  (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", 2], ["created_at", "2016-12-09 23:43:00.042880"], ["updated_at", "2016-12-09 23:43:00.042880"]]  (0.2ms) 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-12-09 23:43:00.045226"], ["updated_at", "2016-12-09 23:43:00.045226"]]  (0.2ms) 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-12-09 23:43:00.047592"], ["updated_at", "2016-12-09 23:43:00.047592"]]  (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", 5], ["created_at", "2016-12-09 23:43:00.049285"], ["updated_at", "2016-12-09 23:43:00.049285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:43:02.065493"], ["updated_at", "2016-12-09 23:43:02.065493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-09 23:44:17.518302"], ["updated_at", "2016-12-09 23:44:17.518302"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 172], ["created_at", "2016-12-09 23:44:17.538193"], ["updated_at", "2016-12-09 23:44:17.538193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build -------------------- Product Load (0.5ms) 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 ---------------------- TaskTest: test_rebuild ---------------------- Product Load (0.4ms) 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 Product Load (0.4ms) 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.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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-12-09 23:44:17.717209"], ["updated_at", "2016-12-09 23:44:17.717209"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-12-09 23:44:17.722961"], ["updated_at", "2016-12-09 23:44:17.722961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-12-09 23:44:17.728274"], ["updated_at", "2016-12-09 23:44:17.728274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-12-09 23:44:17.733474"], ["updated_at", "2016-12-09 23:44:17.733474"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) 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.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:44:19.792035"], ["updated_at", "2016-12-09 23:44:19.792035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 173], ["created_at", "2016-12-09 23:44:19.797588"], ["updated_at", "2016-12-09 23:44:19.797588"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 173], ["created_at", "2016-12-09 23:44:19.803294"], ["updated_at", "2016-12-09 23:44:19.803294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 173], ["created_at", "2016-12-09 23:44:19.808302"], ["updated_at", "2016-12-09 23:44:19.808302"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (1.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.8ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:44:22.302197"], ["updated_at", "2016-12-09 23:44:22.302197"]]  (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", 174], ["created_at", "2016-12-09 23:44:22.304266"], ["updated_at", "2016-12-09 23:44:22.304266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 140 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (174)  (0.3ms) 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.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-12-09 23:44:24.399955"], ["updated_at", "2016-12-09 23:44:24.399955"]]  (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", 2], ["created_at", "2016-12-09 23:44:24.405038"], ["updated_at", "2016-12-09 23:44:24.405038"]]  (0.2ms) 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-12-09 23:44:24.410266"], ["updated_at", "2016-12-09 23:44:24.410266"]]  (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-12-09 23:44:24.415032"], ["updated_at", "2016-12-09 23:44:24.415032"]]  (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", 5], ["created_at", "2016-12-09 23:44:24.419668"], ["updated_at", "2016-12-09 23:44:24.419668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.5ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:44:26.475555"], ["updated_at", "2016-12-09 23:44:26.475555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.4ms) 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.4ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-09 23:44:26.543293"], ["updated_at", "2016-12-09 23:44:26.543293"]]  (0.2ms) 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", "Les Paul"], ["shop_id", 176], ["created_at", "2016-12-09 23:44:26.547599"], ["updated_at", "2016-12-09 23:44:26.547599"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 176], ["created_at", "2016-12-09 23:44:26.553973"], ["updated_at", "2016-12-09 23:44:26.553973"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist --------------------- Product Load (0.4ms) 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.4ms) ROLLBACK  (0.2ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.4ms) 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.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- ActiveRecord::SchemaMigration Load (28.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (25.0ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 13:48:20.910932"], ["updated_at", "2016-12-10 13:48:20.910932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (23.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 177], ["created_at", "2016-12-10 13:48:20.958875"], ["updated_at", "2016-12-10 13:48:20.958875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 13:48:21.230466"], ["updated_at", "2016-12-10 13:48:21.230466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 13:48:21.260643"], ["updated_at", "2016-12-10 13:48:21.260643"]]  (0.1ms) 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", "Test"], ["shop_id", 179], ["created_at", "2016-12-10 13:48:21.263177"], ["updated_at", "2016-12-10 13:48:21.263177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.2ms) 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-12-10 13:48:21.327074"], ["updated_at", "2016-12-10 13:48:21.327074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) 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-12-10 13:48:21.384821"], ["updated_at", "2016-12-10 13:48:21.384821"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 13:48:21.437551"], ["updated_at", "2016-12-10 13:48:21.437551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.1ms) 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-12-10 13:48:21.498991"], ["updated_at", "2016-12-10 13:48:21.498991"]]  (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", 181], ["created_at", "2016-12-10 13:48:21.501387"], ["updated_at", "2016-12-10 13:48:21.501387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 13:49:48.915972"], ["updated_at", "2016-12-10 13:49:48.915972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 182], ["created_at", "2016-12-10 13:49:48.943857"], ["updated_at", "2016-12-10 13:49:48.943857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 13:49:48.981860"], ["updated_at", "2016-12-10 13:49:48.981860"]]  (1.2ms) 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", 183], ["created_at", "2016-12-10 13:49:48.986347"], ["updated_at", "2016-12-10 13:49:48.986347"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 13:49:49.021292"], ["updated_at", "2016-12-10 13:49:49.021292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 13:49:49.063904"], ["updated_at", "2016-12-10 13:49:49.063904"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 13:49:49.105516"], ["updated_at", "2016-12-10 13:49:49.105516"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.5ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 13:49:49.251314"], ["updated_at", "2016-12-10 13:49:49.251314"]]  (0.6ms) 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", "Les Paul"], ["shop_id", 185], ["created_at", "2016-12-10 13:49:49.255119"], ["updated_at", "2016-12-10 13:49:49.255119"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- IndexTest: test_exist ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 13:49:49.315773"], ["updated_at", "2016-12-10 13:49:49.315773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.1ms) SAVEPOINT active_record_1 ------------------------- GeneratorTest: test_index -------------------------  (11.7ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 --------------------------- GeneratorTest: test_install ---------------------------  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 --------------------------- SearchTest: test_pagination ---------------------------  (0.2ms) SAVEPOINT active_record_2 --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) SAVEPOINT active_record_3 ------------------------- SearchTest: test_includes -------------------------  (0.1ms) SAVEPOINT active_record_4 ---------------------- SearchTest: test_order ----------------------  (0.1ms) SAVEPOINT active_record_5 -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_6 SQL (0.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 17:32:08.281324"], ["updated_at", "2016-12-10 17:32:08.281324"]]  (0.1ms) RELEASE SAVEPOINT active_record_6  (0.2ms) ROLLBACK TO SAVEPOINT active_record_5  (0.1ms) SAVEPOINT active_record_5 ----------------------- IndexTest: test_suggest -----------------------  (0.2ms) SAVEPOINT active_record_6 ------------------------- IndexTest: test_namespace -------------------------  (0.1ms) SAVEPOINT active_record_7 ---------------------- TaskTest: test_rebuild ----------------------  (0.2ms) SAVEPOINT active_record_8 -------------------- TaskTest: test_build -------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 17:32:49.619838"], ["updated_at", "2016-12-10 17:32:49.619838"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 17:33:23.441757"], ["updated_at", "2016-12-10 17:33:23.441757"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 17:36:56.209024"], ["updated_at", "2016-12-10 17:36:56.209024"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_create ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_delete ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate -----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (1.6ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 17:38:21.745511"], ["updated_at", "2016-12-10 17:38:21.745511"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_delete ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_create ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate -----------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 17:39:48.455516"], ["updated_at", "2016-12-10 17:39:48.455516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.6ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_create ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_delete ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate -----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 17:41:27.719292"], ["updated_at", "2016-12-10 17:41:27.719292"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_create ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_delete ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 17:48:54.161425"], ["updated_at", "2016-12-10 17:48:54.161425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 17:49:42.251189"], ["updated_at", "2016-12-10 17:49:42.251189"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_delete ---------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN --------------------- TaskTest: test_create ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate -----------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- Product Load (2.2ms) 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 --------------------- TaskTest: test_create ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_delete ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.4ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 17:50:13.911631"], ["updated_at", "2016-12-10 17:50:13.911631"]]  (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", 196], ["created_at", "2016-12-10 17:50:13.931382"], ["updated_at", "2016-12-10 17:50:13.931382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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-12-10 17:50:14.005482"], ["updated_at", "2016-12-10 17:50:14.005482"]]  (0.1ms) 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", "Test"], ["shop_id", 197], ["created_at", "2016-12-10 17:50:14.007820"], ["updated_at", "2016-12-10 17:50:14.007820"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.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-12-10 17:50:14.076896"], ["updated_at", "2016-12-10 17:50:14.076896"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 17:50:14.145469"], ["updated_at", "2016-12-10 17:50:14.145469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 17:50:14.214595"], ["updated_at", "2016-12-10 17:50:14.214595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 17:50:14.304927"], ["updated_at", "2016-12-10 17:50:14.304927"]]  (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", 199], ["created_at", "2016-12-10 17:50:14.307233"], ["updated_at", "2016-12-10 17:50:14.307233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 17:50:14.322883"], ["updated_at", "2016-12-10 17:50:14.322883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.4ms) 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 ----------------------- IndexTest: 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.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 17:50:35.405598"], ["updated_at", "2016-12-10 17:50:35.405598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "Les Paul"], ["shop_id", 201], ["created_at", "2016-12-10 17:50:35.421290"], ["updated_at", "2016-12-10 17:50:35.421290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 17:50:35.435588"], ["updated_at", "2016-12-10 17:50:35.435588"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_delete ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_create ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- Product Load (0.4ms) 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 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 ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 17:50:35.708150"], ["updated_at", "2016-12-10 17:50:35.708150"]]  (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", 203], ["created_at", "2016-12-10 17:50:35.710160"], ["updated_at", "2016-12-10 17:50:35.710160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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-12-10 17:50:35.775549"], ["updated_at", "2016-12-10 17:50:35.775549"]]  (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", "Test"], ["shop_id", 204], ["created_at", "2016-12-10 17:50:35.777466"], ["updated_at", "2016-12-10 17:50:35.777466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 17:50:35.847976"], ["updated_at", "2016-12-10 17:50:35.847976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.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-12-10 17:50:35.926666"], ["updated_at", "2016-12-10 17:50:35.926666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 17:50:35.996729"], ["updated_at", "2016-12-10 17:50:35.996729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:11:18.661390"], ["updated_at", "2016-12-10 18:11:18.661390"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- Product Load (0.6ms) 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 --------------------- TaskTest: test_create --------------------- 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.3ms) ROLLBACK  (0.2ms) BEGIN --------------------- TaskTest: test_delete ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 18:11:18.945644"], ["updated_at", "2016-12-10 18:11:18.945644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 207], ["created_at", "2016-12-10 18:11:18.957772"], ["updated_at", "2016-12-10 18:11:18.957772"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:11:19.073840"], ["updated_at", "2016-12-10 18:11:19.073840"]]  (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", "Les Paul"], ["shop_id", 208], ["created_at", "2016-12-10 18:11:19.075662"], ["updated_at", "2016-12-10 18:11:19.075662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:11:19.139029"], ["updated_at", "2016-12-10 18:11:19.139029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:11:19.196408"], ["updated_at", "2016-12-10 18:11:19.196408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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-12-10 18:11:19.257138"], ["updated_at", "2016-12-10 18:11:19.257138"]]  (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", 210], ["created_at", "2016-12-10 18:11:19.258854"], ["updated_at", "2016-12-10 18:11:19.258854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.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-12-10 18:11:19.318130"], ["updated_at", "2016-12-10 18:11:19.318130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.6ms) 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 ----------------------- IndexTest: 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.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:11:41.947730"], ["updated_at", "2016-12-10 18:11:41.947730"]]  (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", 211], ["created_at", "2016-12-10 18:11:41.961341"], ["updated_at", "2016-12-10 18:11:41.961341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:11:41.975669"], ["updated_at", "2016-12-10 18:11:41.975669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 18:11:42.022183"], ["updated_at", "2016-12-10 18:11:42.022183"]]  (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", 213], ["created_at", "2016-12-10 18:11:42.024381"], ["updated_at", "2016-12-10 18:11:42.024381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:11:42.106447"], ["updated_at", "2016-12-10 18:11:42.106447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:11:42.164282"], ["updated_at", "2016-12-10 18:11:42.164282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.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-12-10 18:11:42.220384"], ["updated_at", "2016-12-10 18:11:42.220384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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-12-10 18:11:42.274677"], ["updated_at", "2016-12-10 18:11:42.274677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 215], ["created_at", "2016-12-10 18:11:42.276302"], ["updated_at", "2016-12-10 18:11:42.276302"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- 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 --------------------- TaskTest: test_create --------------------- 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 --------------------- TaskTest: test_delete ---------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------- TaskTest: test_delete ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- Product Load (0.4ms) 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.4ms) 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 --------------------- TaskTest: test_create --------------------- 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 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 ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:12:00.446008"], ["updated_at", "2016-12-10 18:12:00.446008"]]  (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", 216], ["created_at", "2016-12-10 18:12:00.459548"], ["updated_at", "2016-12-10 18:12:00.459548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 18:12:00.570313"], ["updated_at", "2016-12-10 18:12:00.570313"]]  (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", 217], ["created_at", "2016-12-10 18:12:00.572632"], ["updated_at", "2016-12-10 18:12:00.572632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:12:00.651266"], ["updated_at", "2016-12-10 18:12:00.651266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) 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-12-10 18:12:00.707252"], ["updated_at", "2016-12-10 18:12:00.707252"]]  (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", 218], ["created_at", "2016-12-10 18:12:00.708862"], ["updated_at", "2016-12-10 18:12:00.708862"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:12:00.767011"], ["updated_at", "2016-12-10 18:12:00.767011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.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-12-10 18:12:00.823187"], ["updated_at", "2016-12-10 18:12:00.823187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:12:00.834589"], ["updated_at", "2016-12-10 18:12:00.834589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.5ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:13:56.925530"], ["updated_at", "2016-12-10 18:13:56.925530"]]  (0.1ms) 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", "Test"], ["shop_id", 221], ["created_at", "2016-12-10 18:13:56.938918"], ["updated_at", "2016-12-10 18:13:56.938918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:13:56.995942"], ["updated_at", "2016-12-10 18:13:56.995942"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.4ms) 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-12-10 18:13:57.054595"], ["updated_at", "2016-12-10 18:13:57.054595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:13:57.111502"], ["updated_at", "2016-12-10 18:13:57.111502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_create --------------------- 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 --------------------- TaskTest: test_delete ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- 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 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.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:13:57.377743"], ["updated_at", "2016-12-10 18:13:57.377743"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:13:57.506373"], ["updated_at", "2016-12-10 18:13:57.506373"]]  (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", "Les Paul"], ["shop_id", 224], ["created_at", "2016-12-10 18:13:57.508317"], ["updated_at", "2016-12-10 18:13:57.508317"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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.1ms) 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-12-10 18:13:57.569205"], ["updated_at", "2016-12-10 18:13:57.569205"]]  (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", 225], ["created_at", "2016-12-10 18:13:57.571193"], ["updated_at", "2016-12-10 18:13:57.571193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.4ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 18:14:41.089494"], ["updated_at", "2016-12-10 18:14:41.089494"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 226], ["created_at", "2016-12-10 18:14:41.103353"], ["updated_at", "2016-12-10 18:14:41.103353"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:14:41.214372"], ["updated_at", "2016-12-10 18:14:41.214372"]]  (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", "Les Paul"], ["shop_id", 227], ["created_at", "2016-12-10 18:14:41.216355"], ["updated_at", "2016-12-10 18:14:41.216355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:14:41.228323"], ["updated_at", "2016-12-10 18:14:41.228323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_create --------------------- 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 --------------------- TaskTest: test_delete ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- 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 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 ---------------------- 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:14:41.538967"], ["updated_at", "2016-12-10 18:14:41.538967"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.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-12-10 18:14:41.610490"], ["updated_at", "2016-12-10 18:14:41.610490"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:14:41.668419"], ["updated_at", "2016-12-10 18:14:41.668419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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-12-10 18:14:41.732826"], ["updated_at", "2016-12-10 18:14:41.732826"]]  (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", 230], ["created_at", "2016-12-10 18:14:41.734832"], ["updated_at", "2016-12-10 18:14:41.734832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.5ms) 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:15:00.622408"], ["updated_at", "2016-12-10 18:15:00.622408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:15:00.675827"], ["updated_at", "2016-12-10 18:15:00.675827"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:15:00.728780"], ["updated_at", "2016-12-10 18:15:00.728780"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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-12-10 18:15:00.780326"], ["updated_at", "2016-12-10 18:15:00.780326"]]  (0.1ms) 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", "Test"], ["shop_id", 232], ["created_at", "2016-12-10 18:15:00.792254"], ["updated_at", "2016-12-10 18:15:00.792254"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_delete ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_create --------------------- 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 ----------------------- TaskTest: test_recreate ----------------------- 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.4ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:15:01.180779"], ["updated_at", "2016-12-10 18:15:01.180779"]]  (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", "Les Paul"], ["shop_id", 233], ["created_at", "2016-12-10 18:15:01.183112"], ["updated_at", "2016-12-10 18:15:01.183112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:15:01.196584"], ["updated_at", "2016-12-10 18:15:01.196584"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 18:15:01.246234"], ["updated_at", "2016-12-10 18:15:01.246234"]]  (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", 235], ["created_at", "2016-12-10 18:15:01.248189"], ["updated_at", "2016-12-10 18:15:01.248189"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.5ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 18:16:46.739144"], ["updated_at", "2016-12-10 18:16:46.739144"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 236], ["created_at", "2016-12-10 18:16:46.752839"], ["updated_at", "2016-12-10 18:16:46.752839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:16:46.888257"], ["updated_at", "2016-12-10 18:16:46.888257"]]  (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", "Les Paul"], ["shop_id", 237], ["created_at", "2016-12-10 18:16:46.890474"], ["updated_at", "2016-12-10 18:16:46.890474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_delete ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- 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.2ms) BEGIN --------------------- TaskTest: test_create --------------------- 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 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 ---------------------- SearchTest: test_order ---------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:16:47.213433"], ["updated_at", "2016-12-10 18:16:47.213433"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:16:47.276448"], ["updated_at", "2016-12-10 18:16:47.276448"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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-12-10 18:16:47.332988"], ["updated_at", "2016-12-10 18:16:47.332988"]]  (0.2ms) 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", 239], ["created_at", "2016-12-10 18:16:47.335088"], ["updated_at", "2016-12-10 18:16:47.335088"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.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-12-10 18:16:47.393540"], ["updated_at", "2016-12-10 18:16:47.393540"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:16:47.405652"], ["updated_at", "2016-12-10 18:16:47.405652"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------- TaskTest: test_delete ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_create --------------------- Product Load (0.5ms) 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.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- 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.4ms) 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 ------------------------- GeneratorTest: test_index -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.7ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:18:08.350463"], ["updated_at", "2016-12-10 18:18:08.350463"]]  (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", 241], ["created_at", "2016-12-10 18:18:08.365065"], ["updated_at", "2016-12-10 18:18:08.365065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:18:08.432434"], ["updated_at", "2016-12-10 18:18:08.432434"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:18:08.480688"], ["updated_at", "2016-12-10 18:18:08.480688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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-12-10 18:18:08.537164"], ["updated_at", "2016-12-10 18:18:08.537164"]]  (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", 243], ["created_at", "2016-12-10 18:18:08.539034"], ["updated_at", "2016-12-10 18:18:08.539034"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.4ms) 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-12-10 18:18:08.601678"], ["updated_at", "2016-12-10 18:18:08.601678"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:18:08.658243"], ["updated_at", "2016-12-10 18:18:08.658243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 18:18:08.724919"], ["updated_at", "2016-12-10 18:18:08.724919"]]  (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", 245], ["created_at", "2016-12-10 18:18:08.727086"], ["updated_at", "2016-12-10 18:18:08.727086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.5ms) 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 18:18:36.010169"], ["updated_at", "2016-12-10 18:18:36.010169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 246], ["created_at", "2016-12-10 18:18:36.022946"], ["updated_at", "2016-12-10 18:18:36.022946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- 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 --------------------- TaskTest: test_create --------------------- 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.1ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_delete ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:18:36.312499"], ["updated_at", "2016-12-10 18:18:36.312499"]]  (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", "Les Paul"], ["shop_id", 247], ["created_at", "2016-12-10 18:18:36.315511"], ["updated_at", "2016-12-10 18:18:36.315511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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-12-10 18:18:36.377711"], ["updated_at", "2016-12-10 18:18:36.377711"]]  (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", 248], ["created_at", "2016-12-10 18:18:36.379761"], ["updated_at", "2016-12-10 18:18:36.379761"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.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-12-10 18:18:36.437790"], ["updated_at", "2016-12-10 18:18:36.437790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:18:36.506786"], ["updated_at", "2016-12-10 18:18:36.506786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:18:36.568004"], ["updated_at", "2016-12-10 18:18:36.568004"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:18:36.587005"], ["updated_at", "2016-12-10 18:18:36.587005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:20:40.214675"], ["updated_at", "2016-12-10 18:20:40.214675"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- Product Load (0.6ms) 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 --------------------- TaskTest: test_create --------------------- Product Load (0.4ms) 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 --------------------- TaskTest: test_delete ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:23:11.256395"], ["updated_at", "2016-12-10 18:23:11.256395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.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-12-10 18:23:14.995388"], ["updated_at", "2016-12-10 18:23:14.995388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.4ms) 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-12-10 18:23:15.054499"], ["updated_at", "2016-12-10 18:23:15.054499"]]  (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", "Test"], ["shop_id", 253], ["created_at", "2016-12-10 18:23:15.067398"], ["updated_at", "2016-12-10 18:23:15.067398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:23:15.127179"], ["updated_at", "2016-12-10 18:23:15.127179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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-12-10 18:23:15.194444"], ["updated_at", "2016-12-10 18:23:15.194444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 18:23:15.273185"], ["updated_at", "2016-12-10 18:23:15.273185"]]  (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", 255], ["created_at", "2016-12-10 18:23:15.275022"], ["updated_at", "2016-12-10 18:23:15.275022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:23:15.328800"], ["updated_at", "2016-12-10 18:23:15.328800"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 256], ["created_at", "2016-12-10 18:23:15.330412"], ["updated_at", "2016-12-10 18:23:15.330412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Shop Load (0.4ms) 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:23:48.465109"], ["updated_at", "2016-12-10 18:23:48.465109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.4ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:25:38.135718"], ["updated_at", "2016-12-10 18:25:38.135718"]]  (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", 257], ["created_at", "2016-12-10 18:25:38.149195"], ["updated_at", "2016-12-10 18:25:38.149195"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_create --------------------- 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 --------------------- TaskTest: test_delete ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- 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.4ms) 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 --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:25:38.416279"], ["updated_at", "2016-12-10 18:25:38.416279"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:25:43.751070"], ["updated_at", "2016-12-10 18:25:43.751070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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-12-10 18:25:43.830626"], ["updated_at", "2016-12-10 18:25:43.830626"]]  (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", 260], ["created_at", "2016-12-10 18:25:43.832411"], ["updated_at", "2016-12-10 18:25:43.832411"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:25:43.886275"], ["updated_at", "2016-12-10 18:25:43.886275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:25:43.943470"], ["updated_at", "2016-12-10 18:25:43.943470"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 18:25:43.997105"], ["updated_at", "2016-12-10 18:25:43.997105"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", 261], ["created_at", "2016-12-10 18:25:43.998789"], ["updated_at", "2016-12-10 18:25:43.998789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.5ms) 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.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:25:56.022943"], ["updated_at", "2016-12-10 18:25:56.022943"]]  (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", "Les Paul"], ["shop_id", 262], ["created_at", "2016-12-10 18:25:56.037096"], ["updated_at", "2016-12-10 18:25:56.037096"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:25:56.101475"], ["updated_at", "2016-12-10 18:25:56.101475"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 18:25:56.145449"], ["updated_at", "2016-12-10 18:25:56.145449"]]  (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", 264], ["created_at", "2016-12-10 18:25:56.147275"], ["updated_at", "2016-12-10 18:25:56.147275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- 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) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_create --------------------- Product Load (0.4ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_delete ---------------------  (0.1ms) 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.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-12-10 18:25:56.376196"], ["updated_at", "2016-12-10 18:25:56.376196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:25:56.432286"], ["updated_at", "2016-12-10 18:25:56.432286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) 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-12-10 18:25:56.488739"], ["updated_at", "2016-12-10 18:25:56.488739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 265], ["created_at", "2016-12-10 18:25:56.490662"], ["updated_at", "2016-12-10 18:25:56.490662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.4ms) 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-12-10 18:25:56.547264"], ["updated_at", "2016-12-10 18:25:56.547264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.4ms) 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 18:26:10.903435"], ["updated_at", "2016-12-10 18:26:10.903435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 267], ["created_at", "2016-12-10 18:26:10.916381"], ["updated_at", "2016-12-10 18:26:10.916381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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-12-10 18:26:10.969808"], ["updated_at", "2016-12-10 18:26:10.969808"]]  (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", 268], ["created_at", "2016-12-10 18:26:10.971665"], ["updated_at", "2016-12-10 18:26:10.971665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:26:11.035824"], ["updated_at", "2016-12-10 18:26:11.035824"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (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.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-12-10 18:26:11.090179"], ["updated_at", "2016-12-10 18:26:11.090179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:26:11.145489"], ["updated_at", "2016-12-10 18:26:11.145489"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:26:11.199520"], ["updated_at", "2016-12-10 18:26:11.199520"]]  (0.2ms) 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", "Les Paul"], ["shop_id", 270], ["created_at", "2016-12-10 18:26:11.201663"], ["updated_at", "2016-12-10 18:26:11.201663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:26:11.263771"], ["updated_at", "2016-12-10 18:26:11.263771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_create --------------------- Product Load (0.4ms) 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 --------------------- TaskTest: test_delete ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- 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 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 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.4ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 18:26:26.290534"], ["updated_at", "2016-12-10 18:26:26.290534"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 272], ["created_at", "2016-12-10 18:26:26.303768"], ["updated_at", "2016-12-10 18:26:26.303768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (6.6ms) SELECT "products".* FROM "products" WHERE "products"."id" = 194  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 194]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = 194  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.4ms) 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-12-10 18:26:28.518424"], ["updated_at", "2016-12-10 18:26:28.518424"]]  (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", 273], ["created_at", "2016-12-10 18:26:28.520354"], ["updated_at", "2016-12-10 18:26:28.520354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 195 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (273)  (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.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-12-10 18:26:30.600592"], ["updated_at", "2016-12-10 18:26:30.600592"]]  (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-12-10 18:26:30.608462"], ["updated_at", "2016-12-10 18:26:30.608462"]]  (0.2ms) 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-12-10 18:26:30.614473"], ["updated_at", "2016-12-10 18:26:30.614473"]]  (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-12-10 18:26:30.619674"], ["updated_at", "2016-12-10 18:26:30.619674"]]  (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", 5], ["created_at", "2016-12-10 18:26:30.624824"], ["updated_at", "2016-12-10 18:26:30.624824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:26:32.727413"], ["updated_at", "2016-12-10 18:26:32.727413"]]  (0.1ms) 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", 274], ["created_at", "2016-12-10 18:26:32.733416"], ["updated_at", "2016-12-10 18:26:32.733416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 274], ["created_at", "2016-12-10 18:26:32.740996"], ["updated_at", "2016-12-10 18:26:32.740996"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 274], ["created_at", "2016-12-10 18:26:32.746875"], ["updated_at", "2016-12-10 18:26:32.746875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:26:35.368932"], ["updated_at", "2016-12-10 18:26:35.368932"]]  (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", 2], ["created_at", "2016-12-10 18:26:35.374405"], ["updated_at", "2016-12-10 18:26:35.374405"]]  (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-12-10 18:26:35.380128"], ["updated_at", "2016-12-10 18:26:35.380128"]]  (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-12-10 18:26:35.385620"], ["updated_at", "2016-12-10 18:26:35.385620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:26:37.429007"], ["updated_at", "2016-12-10 18:26:37.429007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- 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) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.4ms) 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-12-10 18:26:37.551091"], ["updated_at", "2016-12-10 18:26:37.551091"]]  (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", "Les Paul"], ["shop_id", 276], ["created_at", "2016-12-10 18:26:37.553146"], ["updated_at", "2016-12-10 18:26:37.553146"]]  (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", "Stratocaster"], ["shop_id", 276], ["created_at", "2016-12-10 18:26:37.559816"], ["updated_at", "2016-12-10 18:26:37.559816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------- TaskTest: test_create --------------------- 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 --------------------- TaskTest: test_delete ---------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- Product Load (0.4ms) 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.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000 Product Load (0.4ms) 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 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------- TaskTest: test_create --------------------- Product Load (0.5ms) 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 --------------------- TaskTest: test_delete ---------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- 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 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 ------------------------- IndexTest: 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.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:29:53.746534"], ["updated_at", "2016-12-10 18:29:53.746534"]]  (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", 277], ["created_at", "2016-12-10 18:29:53.759754"], ["updated_at", "2016-12-10 18:29:53.759754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 277], ["created_at", "2016-12-10 18:29:53.766641"], ["updated_at", "2016-12-10 18:29:53.766641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) 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.1ms) 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-12-10 18:29:55.839926"], ["updated_at", "2016-12-10 18:29:55.839926"]]  (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", 278], ["created_at", "2016-12-10 18:29:55.842164"], ["updated_at", "2016-12-10 18:29:55.842164"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 200  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 200]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 200  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:29:57.896454"], ["updated_at", "2016-12-10 18:29:57.896454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.4ms) 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-12-10 18:29:57.963998"], ["updated_at", "2016-12-10 18:29:57.963998"]]  (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", 280], ["created_at", "2016-12-10 18:29:57.965995"], ["updated_at", "2016-12-10 18:29:57.965995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 201 Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (280)  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:30:00.044211"], ["updated_at", "2016-12-10 18:30:00.044211"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 281], ["created_at", "2016-12-10 18:30:00.050698"], ["updated_at", "2016-12-10 18:30:00.050698"]]  (0.1ms) 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", 281], ["created_at", "2016-12-10 18:30:00.057483"], ["updated_at", "2016-12-10 18:30:00.057483"]]  (0.1ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 281], ["created_at", "2016-12-10 18:30:00.064542"], ["updated_at", "2016-12-10 18:30:00.064542"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (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.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-12-10 18:30:02.174590"], ["updated_at", "2016-12-10 18:30:02.174590"]]  (0.2ms) 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", 2], ["created_at", "2016-12-10 18:30:02.180637"], ["updated_at", "2016-12-10 18:30:02.180637"]]  (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-12-10 18:30:02.186474"], ["updated_at", "2016-12-10 18:30:02.186474"]]  (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-12-10 18:30:02.192401"], ["updated_at", "2016-12-10 18:30:02.192401"]]  (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", 5], ["created_at", "2016-12-10 18:30:02.197596"], ["updated_at", "2016-12-10 18:30:02.197596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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-12-10 18:30:04.320539"], ["updated_at", "2016-12-10 18:30:04.320539"]]  (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-12-10 18:30:04.325797"], ["updated_at", "2016-12-10 18:30:04.325797"]]  (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", 3], ["created_at", "2016-12-10 18:30:04.330992"], ["updated_at", "2016-12-10 18:30:04.330992"]]  (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-12-10 18:30:04.336128"], ["updated_at", "2016-12-10 18:30:04.336128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:32:21.273083"], ["updated_at", "2016-12-10 18:32:21.273083"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.5ms) 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-10 18:32:21.384318"], ["updated_at", "2016-12-10 18:32:21.384318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 283], ["created_at", "2016-12-10 18:32:21.396229"], ["updated_at", "2016-12-10 18:32:21.396229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 202  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 202]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 202  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-10 18:32:23.479394"], ["updated_at", "2016-12-10 18:32:23.479394"]]  (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", "Les Paul"], ["shop_id", 284], ["created_at", "2016-12-10 18:32:23.481046"], ["updated_at", "2016-12-10 18:32:23.481046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 284], ["created_at", "2016-12-10 18:32:23.487282"], ["updated_at", "2016-12-10 18:32:23.487282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.4ms) 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-12-10 18:32:25.636629"], ["updated_at", "2016-12-10 18:32:25.636629"]]  (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", 285], ["created_at", "2016-12-10 18:32:25.643153"], ["updated_at", "2016-12-10 18:32:25.643153"]]  (0.1ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 285], ["created_at", "2016-12-10 18:32:25.649762"], ["updated_at", "2016-12-10 18:32:25.649762"]]  (0.1ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 285], ["created_at", "2016-12-10 18:32:25.655578"], ["updated_at", "2016-12-10 18:32:25.655578"]]  (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.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (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-12-10 18:32:27.754047"], ["updated_at", "2016-12-10 18:32:27.754047"]]  (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", 286], ["created_at", "2016-12-10 18:32:27.756003"], ["updated_at", "2016-12-10 18:32:27.756003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 205 Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (286)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:32:29.826982"], ["updated_at", "2016-12-10 18:32:29.826982"]]  (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-12-10 18:32:29.832368"], ["updated_at", "2016-12-10 18:32:29.832368"]]  (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", 3], ["created_at", "2016-12-10 18:32:29.837308"], ["updated_at", "2016-12-10 18:32:29.837308"]]  (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-12-10 18:32:29.841997"], ["updated_at", "2016-12-10 18:32:29.841997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.6ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-10 18:32:31.913426"], ["updated_at", "2016-12-10 18:32:31.913426"]]  (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", 2], ["created_at", "2016-12-10 18:32:31.917933"], ["updated_at", "2016-12-10 18:32:31.917933"]]  (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-12-10 18:32:31.923320"], ["updated_at", "2016-12-10 18:32:31.923320"]]  (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-12-10 18:32:31.927984"], ["updated_at", "2016-12-10 18:32:31.927984"]]  (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", 5], ["created_at", "2016-12-10 18:32:31.932730"], ["updated_at", "2016-12-10 18:32:31.932730"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- TaskTest: test_recreate ----------------------- 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 --------------------- TaskTest: test_create --------------------- Product Load (0.4ms) 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 --------------------- TaskTest: test_delete ---------------------  (0.1ms) ROLLBACK  (2.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (12.4ms) 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  (8.1ms) 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.4ms) COMMIT Migrating to CreateShops (20161104182219)  (0.2ms) BEGIN  (2.2ms) 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.5ms) 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" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.1ms) SAVEPOINT active_record_1 --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.1ms) SAVEPOINT active_record_2 --------------------------- SearchTest: test_pagination ---------------------------  (0.1ms) SAVEPOINT active_record_3 ------------------------- SearchTest: test_includes -------------------------  (0.2ms) SAVEPOINT active_record_4 ------------------------- RecordTest: test_indexing -------------------------  (0.1ms) SAVEPOINT active_record_5 -------------------- TaskTest: test_build --------------------  (1.2ms) SAVEPOINT active_record_6 ---------------------- TaskTest: test_rebuild ----------------------  (0.2ms) SAVEPOINT active_record_7 -------------------- IndexTest: test_find --------------------  (0.2ms) SAVEPOINT active_record_8 ------------------------- IndexTest: test_namespace -------------------------  (0.1ms) SAVEPOINT active_record_9 ----------------------- IndexTest: test_suggest -----------------------  (0.1ms) SAVEPOINT active_record_10 -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_11 SQL (6.9ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:35:55.327720"], ["updated_at", "2016-12-11 06:35:55.327720"]]  (0.1ms) RELEASE SAVEPOINT active_record_11  (0.2ms) ROLLBACK TO SAVEPOINT active_record_10 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:36:36.378405"], ["updated_at", "2016-12-11 06:36:36.378405"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:37:24.610002"], ["updated_at", "2016-12-11 06:37:24.610002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- IndexTest: test_find -------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:42:26.839899"], ["updated_at", "2016-12-11 06:42:26.839899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:43:26.568757"], ["updated_at", "2016-12-11 06:43:26.568757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_build --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_rebuild ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:44:00.832812"], ["updated_at", "2016-12-11 06:44:00.832812"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:44:27.798759"], ["updated_at", "2016-12-11 06:44:27.798759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:45:15.951141"], ["updated_at", "2016-12-11 06:45:15.951141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.5ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index --------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------- TaskTest: test_reindex ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:45:38.892324"], ["updated_at", "2016-12-11 06:45:38.892324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:46:07.891449"], ["updated_at", "2016-12-11 06:46:07.891449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index --------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ----------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:48:11.473182"], ["updated_at", "2016-12-11 06:48:11.473182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:53:33.564869"], ["updated_at", "2016-12-11 06:53:33.564869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:53:51.042894"], ["updated_at", "2016-12-11 06:53:51.042894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (2.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.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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.4ms) 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.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 06:53:51.281616"], ["updated_at", "2016-12-11 06:53:51.281616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 14], ["created_at", "2016-12-11 06:53:51.299511"], ["updated_at", "2016-12-11 06:53:51.299511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:53:53.380636"], ["updated_at", "2016-12-11 06:53:53.380636"]]  (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", "Les Paul"], ["shop_id", 15], ["created_at", "2016-12-11 06:53:53.382750"], ["updated_at", "2016-12-11 06:53:53.382750"]]  (0.1ms) 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", 15], ["created_at", "2016-12-11 06:53:53.384863"], ["updated_at", "2016-12-11 06:53:53.384863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.4ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:53:55.469446"], ["updated_at", "2016-12-11 06:53:55.469446"]]  (0.1ms) 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", 16], ["created_at", "2016-12-11 06:53:55.471669"], ["updated_at", "2016-12-11 06:53:55.471669"]]  (0.1ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 16], ["created_at", "2016-12-11 06:53:55.473821"], ["updated_at", "2016-12-11 06:53:55.473821"]]  (0.1ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 16], ["created_at", "2016-12-11 06:53:55.475905"], ["updated_at", "2016-12-11 06:53:55.475905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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.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-12-11 06:53:57.528042"], ["updated_at", "2016-12-11 06:53:57.528042"]]  (0.2ms) 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-12-11 06:53:57.529760"], ["updated_at", "2016-12-11 06:53:57.529760"]]  (0.2ms) 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", 3], ["created_at", "2016-12-11 06:53:57.531006"], ["updated_at", "2016-12-11 06:53:57.531006"]]  (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-12-11 06:53:57.532393"], ["updated_at", "2016-12-11 06:53:57.532393"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:53:59.576288"], ["updated_at", "2016-12-11 06:53:59.576288"]]  (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", 17], ["created_at", "2016-12-11 06:53:59.578648"], ["updated_at", "2016-12-11 06:53:59.578648"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.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-12-11 06:54:01.619177"], ["updated_at", "2016-12-11 06:54:01.619177"]]  (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-12-11 06:54:01.620480"], ["updated_at", "2016-12-11 06:54:01.620480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-12-11 06:54:01.621557"], ["updated_at", "2016-12-11 06:54:01.621557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-11 06:54:01.622528"], ["updated_at", "2016-12-11 06:54:01.622528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-12-11 06:54:01.623522"], ["updated_at", "2016-12-11 06:54:01.623522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.5ms) 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.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.4ms) 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.3ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 06:55:35.249487"], ["updated_at", "2016-12-11 06:55:35.249487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 18], ["created_at", "2016-12-11 06:55:35.264739"], ["updated_at", "2016-12-11 06:55:35.264739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:55:35.372631"], ["updated_at", "2016-12-11 06:55:35.372631"]]  (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", "Les Paul"], ["shop_id", 19], ["created_at", "2016-12-11 06:55:35.374919"], ["updated_at", "2016-12-11 06:55:35.374919"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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-12-11 06:55:35.416765"], ["updated_at", "2016-12-11 06:55:35.416765"]]  (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-12-11 06:55:35.418364"], ["updated_at", "2016-12-11 06:55:35.418364"]]  (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", 3], ["created_at", "2016-12-11 06:55:35.419758"], ["updated_at", "2016-12-11 06:55:35.419758"]]  (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-12-11 06:55:35.421250"], ["updated_at", "2016-12-11 06:55:35.421250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:55:37.464886"], ["updated_at", "2016-12-11 06:55:37.464886"]]  (0.1ms) 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", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 20], ["created_at", "2016-12-11 06:55:37.467256"], ["updated_at", "2016-12-11 06:55:37.467256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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-12-11 06:55:37.505055"], ["updated_at", "2016-12-11 06:55:37.505055"]]  (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", 21], ["created_at", "2016-12-11 06:55:37.506848"], ["updated_at", "2016-12-11 06:55:37.506848"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.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-12-11 06:55:37.545019"], ["updated_at", "2016-12-11 06:55:37.545019"]]  (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-12-11 06:55:37.546669"], ["updated_at", "2016-12-11 06:55:37.546669"]]  (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", 3], ["created_at", "2016-12-11 06:55:37.548204"], ["updated_at", "2016-12-11 06:55:37.548204"]]  (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-12-11 06:55:37.549603"], ["updated_at", "2016-12-11 06:55:37.549603"]]  (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", 5], ["created_at", "2016-12-11 06:55:37.550923"], ["updated_at", "2016-12-11 06:55:37.550923"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:55:39.566010"], ["updated_at", "2016-12-11 06:55:39.566010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.6ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 06:56:48.640111"], ["updated_at", "2016-12-11 06:56:48.640111"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 23], ["created_at", "2016-12-11 06:56:48.656695"], ["updated_at", "2016-12-11 06:56:48.656695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 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 ------------------------- 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-12-11 06:56:48.889291"], ["updated_at", "2016-12-11 06:56:48.889291"]]  (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", 24], ["created_at", "2016-12-11 06:56:48.891597"], ["updated_at", "2016-12-11 06:56:48.891597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:56:48.940662"], ["updated_at", "2016-12-11 06:56:48.940662"]]  (0.1ms) 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", 25], ["created_at", "2016-12-11 06:56:48.942931"], ["updated_at", "2016-12-11 06:56:48.942931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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-12-11 06:56:48.986965"], ["updated_at", "2016-12-11 06:56:48.986965"]]  (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-12-11 06:56:48.988601"], ["updated_at", "2016-12-11 06:56:48.988601"]]  (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", 3], ["created_at", "2016-12-11 06:56:48.990108"], ["updated_at", "2016-12-11 06:56:48.990108"]]  (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-12-11 06:56:48.991433"], ["updated_at", "2016-12-11 06:56:48.991433"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.9ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (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-12-11 06:56:51.040754"], ["updated_at", "2016-12-11 06:56:51.040754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-11 06:56:51.042229"], ["updated_at", "2016-12-11 06:56:51.042229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-12-11 06:56:51.043348"], ["updated_at", "2016-12-11 06:56:51.043348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-11 06:56:51.044449"], ["updated_at", "2016-12-11 06:56:51.044449"]]  (0.2ms) 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", 5], ["created_at", "2016-12-11 06:56:51.047001"], ["updated_at", "2016-12-11 06:56:51.047001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:56:53.089200"], ["updated_at", "2016-12-11 06:56:53.089200"]]  (0.2ms) 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", "Les Paul"], ["shop_id", 26], ["created_at", "2016-12-11 06:56:53.091447"], ["updated_at", "2016-12-11 06:56:53.091447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 06:56:53.170576"], ["updated_at", "2016-12-11 06:56:53.170576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.6ms) 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 Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:01:37.085745"], ["updated_at", "2016-12-11 07:01:37.085745"]]  (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", "Test"], ["shop_id", 28], ["created_at", "2016-12-11 07:01:37.099410"], ["updated_at", "2016-12-11 07:01:37.099410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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 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-12-11 07:01:37.140449"], ["updated_at", "2016-12-11 07:01:37.140449"]]  (0.1ms) 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", 29], ["created_at", "2016-12-11 07:01:37.142823"], ["updated_at", "2016-12-11 07:01:37.142823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."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-12-11 07:01:37.183263"], ["updated_at", "2016-12-11 07:01:37.183263"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-11 07:01:37.184568"], ["updated_at", "2016-12-11 07:01:37.184568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-12-11 07:01:37.185600"], ["updated_at", "2016-12-11 07:01:37.185600"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-11 07:01:37.186588"], ["updated_at", "2016-12-11 07:01:37.186588"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-12-11 07:01:37.187618"], ["updated_at", "2016-12-11 07:01:37.187618"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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 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-12-11 07:01:39.236238"], ["updated_at", "2016-12-11 07:01:39.236238"]]  (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-12-11 07:01:39.237559"], ["updated_at", "2016-12-11 07:01:39.237559"]]  (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", 3], ["created_at", "2016-12-11 07:01:39.238725"], ["updated_at", "2016-12-11 07:01:39.238725"]]  (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-12-11 07:01:39.239874"], ["updated_at", "2016-12-11 07:01:39.239874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:01:41.256286"], ["updated_at", "2016-12-11 07:01:41.256286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:01:41.294383"], ["updated_at", "2016-12-11 07:01:41.294383"]]  (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", 31], ["created_at", "2016-12-11 07:01:41.296221"], ["updated_at", "2016-12-11 07:01:41.296221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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 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 Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000 Product Load (0.5ms) 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 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 Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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 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-12-11 07:01:41.583136"], ["updated_at", "2016-12-11 07:01:41.583136"]]  (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", "Les Paul"], ["shop_id", 32], ["created_at", "2016-12-11 07:01:41.585139"], ["updated_at", "2016-12-11 07:01:41.585139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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 Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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 Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- Product Load (0.5ms) 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.1ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.4ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:06:27.141000"], ["updated_at", "2016-12-11 07:06:27.141000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.4ms) 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 -------------------- IndexTest: 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 ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.4ms) 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-12-11 07:06:27.236693"], ["updated_at", "2016-12-11 07:06:27.236693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "Les Paul"], ["shop_id", 34], ["created_at", "2016-12-11 07:06:27.250448"], ["updated_at", "2016-12-11 07:06:27.250448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) 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-12-11 07:06:27.287107"], ["updated_at", "2016-12-11 07:06:27.287107"]]  (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", 35], ["created_at", "2016-12-11 07:06:27.289168"], ["updated_at", "2016-12-11 07:06:27.289168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) 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-12-11 07:06:27.348519"], ["updated_at", "2016-12-11 07:06:27.348519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:06:27.384753"], ["updated_at", "2016-12-11 07:06:27.384753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) 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-12-11 07:06:27.420750"], ["updated_at", "2016-12-11 07:06:27.420750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 36], ["created_at", "2016-12-11 07:06:27.422366"], ["updated_at", "2016-12-11 07:06:27.422366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.5ms) 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-12-11 07:06:27.458622"], ["updated_at", "2016-12-11 07:06:27.458622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:06:59.483428"], ["updated_at", "2016-12-11 07:06:59.483428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.5ms) 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:06:59.577087"], ["updated_at", "2016-12-11 07:06:59.577087"]]  (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", 39], ["created_at", "2016-12-11 07:06:59.589978"], ["updated_at", "2016-12-11 07:06:59.589978"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN -------------------- IndexTest: test_find -------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:07:01.712261"], ["updated_at", "2016-12-11 07:07:01.712261"]]  (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", "Les Paul"], ["shop_id", 40], ["created_at", "2016-12-11 07:07:01.714385"], ["updated_at", "2016-12-11 07:07:01.714385"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 40], ["created_at", "2016-12-11 07:07:01.721420"], ["updated_at", "2016-12-11 07:07:01.721420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 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.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (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.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-12-11 07:07:03.984300"], ["updated_at", "2016-12-11 07:07:03.984300"]]  (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", 2], ["created_at", "2016-12-11 07:07:03.989592"], ["updated_at", "2016-12-11 07:07:03.989592"]]  (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-12-11 07:07:03.994769"], ["updated_at", "2016-12-11 07:07:03.994769"]]  (0.2ms) 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-12-11 07:07:04.001363"], ["updated_at", "2016-12-11 07:07:04.001363"]]  (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", 5], ["created_at", "2016-12-11 07:07:04.005644"], ["updated_at", "2016-12-11 07:07:04.005644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:07:06.055794"], ["updated_at", "2016-12-11 07:07:06.055794"]]  (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", 2], ["created_at", "2016-12-11 07:07:06.060678"], ["updated_at", "2016-12-11 07:07:06.060678"]]  (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-12-11 07:07:06.065382"], ["updated_at", "2016-12-11 07:07:06.065382"]]  (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-12-11 07:07:06.069986"], ["updated_at", "2016-12-11 07:07:06.069986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 07:07:08.114672"], ["updated_at", "2016-12-11 07:07:08.114672"]]  (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", 41], ["created_at", "2016-12-11 07:07:08.116479"], ["updated_at", "2016-12-11 07:07:08.116479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:07:10.168104"], ["updated_at", "2016-12-11 07:07:10.168104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 42], ["created_at", "2016-12-11 07:07:10.174061"], ["updated_at", "2016-12-11 07:07:10.174061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 42], ["created_at", "2016-12-11 07:07:10.180376"], ["updated_at", "2016-12-11 07:07:10.180376"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 42], ["created_at", "2016-12-11 07:07:10.186616"], ["updated_at", "2016-12-11 07:07:10.186616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.5ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:08:10.156405"], ["updated_at", "2016-12-11 07:08:10.156405"]]  (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", "Test"], ["shop_id", 43], ["created_at", "2016-12-11 07:08:10.171253"], ["updated_at", "2016-12-11 07:08:10.171253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:08:12.221083"], ["updated_at", "2016-12-11 07:08:12.221083"]]  (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", 2], ["created_at", "2016-12-11 07:08:12.226681"], ["updated_at", "2016-12-11 07:08:12.226681"]]  (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", 3], ["created_at", "2016-12-11 07:08:12.231694"], ["updated_at", "2016-12-11 07:08:12.231694"]]  (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-12-11 07:08:12.236276"], ["updated_at", "2016-12-11 07:08:12.236276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:08:14.277383"], ["updated_at", "2016-12-11 07:08:14.277383"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 44], ["created_at", "2016-12-11 07:08:14.282923"], ["updated_at", "2016-12-11 07:08:14.282923"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 44], ["created_at", "2016-12-11 07:08:14.288896"], ["updated_at", "2016-12-11 07:08:14.288896"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 44], ["created_at", "2016-12-11 07:08:14.295522"], ["updated_at", "2016-12-11 07:08:14.295522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.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-12-11 07:08:16.344053"], ["updated_at", "2016-12-11 07:08:16.344053"]]  (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", 2], ["created_at", "2016-12-11 07:08:16.348677"], ["updated_at", "2016-12-11 07:08:16.348677"]]  (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", 3], ["created_at", "2016-12-11 07:08:16.353816"], ["updated_at", "2016-12-11 07:08:16.353816"]]  (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-12-11 07:08:16.358912"], ["updated_at", "2016-12-11 07:08:16.358912"]]  (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", 5], ["created_at", "2016-12-11 07:08:16.363399"], ["updated_at", "2016-12-11 07:08:16.363399"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.4ms) 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.4ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.4ms) 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:08:18.598576"], ["updated_at", "2016-12-11 07:08:18.598576"]]  (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", 45], ["created_at", "2016-12-11 07:08:18.600529"], ["updated_at", "2016-12-11 07:08:18.600529"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:08:20.622382"], ["updated_at", "2016-12-11 07:08:20.622382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:08:20.710073"], ["updated_at", "2016-12-11 07:08:20.710073"]]  (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", "Les Paul"], ["shop_id", 47], ["created_at", "2016-12-11 07:08:20.711944"], ["updated_at", "2016-12-11 07:08:20.711944"]]  (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", "Stratocaster"], ["shop_id", 47], ["created_at", "2016-12-11 07:08:20.717873"], ["updated_at", "2016-12-11 07:08:20.717873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.6ms) 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 ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:09:15.159213"], ["updated_at", "2016-12-11 07:09:15.159213"]]  (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", 48], ["created_at", "2016-12-11 07:09:15.175859"], ["updated_at", "2016-12-11 07:09:15.175859"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 48], ["created_at", "2016-12-11 07:09:15.182954"], ["updated_at", "2016-12-11 07:09:15.182954"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- Product Load (0.4ms) 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 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.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:09:17.446218"], ["updated_at", "2016-12-11 07:09:17.446218"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) 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-12-11 07:09:17.473321"], ["updated_at", "2016-12-11 07:09:17.473321"]]  (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", 50], ["created_at", "2016-12-11 07:09:17.475354"], ["updated_at", "2016-12-11 07:09:17.475354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.4ms) 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-12-11 07:09:19.517968"], ["updated_at", "2016-12-11 07:09:19.517968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 51], ["created_at", "2016-12-11 07:09:19.523607"], ["updated_at", "2016-12-11 07:09:19.523607"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 51], ["created_at", "2016-12-11 07:09:19.529805"], ["updated_at", "2016-12-11 07:09:19.529805"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 51], ["created_at", "2016-12-11 07:09:19.535112"], ["updated_at", "2016-12-11 07:09:19.535112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-12-11 07:09:21.582700"], ["updated_at", "2016-12-11 07:09:21.582700"]]  (0.2ms) 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-12-11 07:09:21.587853"], ["updated_at", "2016-12-11 07:09:21.587853"]]  (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-12-11 07:09:21.593066"], ["updated_at", "2016-12-11 07:09:21.593066"]]  (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-12-11 07:09:21.598140"], ["updated_at", "2016-12-11 07:09:21.598140"]]  (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", 5], ["created_at", "2016-12-11 07:09:21.602824"], ["updated_at", "2016-12-11 07:09:21.602824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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-12-11 07:09:23.656084"], ["updated_at", "2016-12-11 07:09:23.656084"]]  (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-12-11 07:09:23.661427"], ["updated_at", "2016-12-11 07:09:23.661427"]]  (0.2ms) 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", 3], ["created_at", "2016-12-11 07:09:23.667129"], ["updated_at", "2016-12-11 07:09:23.667129"]]  (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-12-11 07:09:23.672381"], ["updated_at", "2016-12-11 07:09:23.672381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:09:25.719519"], ["updated_at", "2016-12-11 07:09:25.719519"]]  (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", 52], ["created_at", "2016-12-11 07:09:25.721746"], ["updated_at", "2016-12-11 07:09:25.721746"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.7ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:12:11.001373"], ["updated_at", "2016-12-11 07:12:11.001373"]]  (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", "Test"], ["shop_id", 53], ["created_at", "2016-12-11 07:12:11.015828"], ["updated_at", "2016-12-11 07:12:11.015828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:12:13.075995"], ["updated_at", "2016-12-11 07:12:13.075995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 54], ["created_at", "2016-12-11 07:12:13.082329"], ["updated_at", "2016-12-11 07:12:13.082329"]]  (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", 54], ["created_at", "2016-12-11 07:12:13.089847"], ["updated_at", "2016-12-11 07:12:13.089847"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 54], ["created_at", "2016-12-11 07:12:13.095775"], ["updated_at", "2016-12-11 07:12:13.095775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.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-12-11 07:12:15.160143"], ["updated_at", "2016-12-11 07:12:15.160143"]]  (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-12-11 07:12:15.167075"], ["updated_at", "2016-12-11 07:12:15.167075"]]  (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", 3], ["created_at", "2016-12-11 07:12:15.172811"], ["updated_at", "2016-12-11 07:12:15.172811"]]  (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-12-11 07:12:15.178111"], ["updated_at", "2016-12-11 07:12:15.178111"]]  (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", 5], ["created_at", "2016-12-11 07:12:15.182743"], ["updated_at", "2016-12-11 07:12:15.182743"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:12:17.230750"], ["updated_at", "2016-12-11 07:12:17.230750"]]  (0.2ms) 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-12-11 07:12:17.237040"], ["updated_at", "2016-12-11 07:12:17.237040"]]  (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", 3], ["created_at", "2016-12-11 07:12:17.241996"], ["updated_at", "2016-12-11 07:12:17.241996"]]  (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-12-11 07:12:17.246727"], ["updated_at", "2016-12-11 07:12:17.246727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 4  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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 ---------------------- TaskTest: test_unindex ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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.4ms) 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 --------------------------- GeneratorTest: test_install ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:12:19.453303"], ["updated_at", "2016-12-11 07:12:19.453303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:12:19.493568"], ["updated_at", "2016-12-11 07:12:19.493568"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 56], ["created_at", "2016-12-11 07:12:19.496585"], ["updated_at", "2016-12-11 07:12:19.496585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.4ms) 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 ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:12:21.650046"], ["updated_at", "2016-12-11 07:12:21.650046"]]  (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", "Les Paul"], ["shop_id", 57], ["created_at", "2016-12-11 07:12:21.652128"], ["updated_at", "2016-12-11 07:12:21.652128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 57], ["created_at", "2016-12-11 07:12:21.657617"], ["updated_at", "2016-12-11 07:12:21.657617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.5ms) 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.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- Product Load (0.4ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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.3ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:14:41.861547"], ["updated_at", "2016-12-11 07:14:41.861547"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 58], ["created_at", "2016-12-11 07:14:41.876603"], ["updated_at", "2016-12-11 07:14:41.876603"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.5ms) SELECT "products".* FROM "products" WHERE 1=0  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:14:43.906824"], ["updated_at", "2016-12-11 07:14:43.906824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:14:43.955836"], ["updated_at", "2016-12-11 07:14:43.955836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 60], ["created_at", "2016-12-11 07:14:43.961607"], ["updated_at", "2016-12-11 07:14:43.961607"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 60], ["created_at", "2016-12-11 07:14:43.967099"], ["updated_at", "2016-12-11 07:14:43.967099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", 60], ["created_at", "2016-12-11 07:14:43.973058"], ["updated_at", "2016-12-11 07:14:43.973058"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.5ms) 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-12-11 07:14:46.028275"], ["updated_at", "2016-12-11 07:14:46.028275"]]  (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", 2], ["created_at", "2016-12-11 07:14:46.034322"], ["updated_at", "2016-12-11 07:14:46.034322"]]  (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", 3], ["created_at", "2016-12-11 07:14:46.039968"], ["updated_at", "2016-12-11 07:14:46.039968"]]  (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-12-11 07:14:46.045210"], ["updated_at", "2016-12-11 07:14:46.045210"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 4  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 07:14:48.092878"], ["updated_at", "2016-12-11 07:14:48.092878"]]  (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", 61], ["created_at", "2016-12-11 07:14:48.094743"], ["updated_at", "2016-12-11 07:14:48.094743"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE 1=0  (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-12-11 07:14:50.146306"], ["updated_at", "2016-12-11 07:14:50.146306"]]  (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", 2], ["created_at", "2016-12-11 07:14:50.151028"], ["updated_at", "2016-12-11 07:14:50.151028"]]  (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-12-11 07:14:50.156551"], ["updated_at", "2016-12-11 07:14:50.156551"]]  (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-12-11 07:14:50.161863"], ["updated_at", "2016-12-11 07:14:50.161863"]]  (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", 5], ["created_at", "2016-12-11 07:14:50.166776"], ["updated_at", "2016-12-11 07:14:50.166776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- IndexTest: 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.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:14:52.300556"], ["updated_at", "2016-12-11 07:14:52.300556"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 62], ["created_at", "2016-12-11 07:14:52.302822"], ["updated_at", "2016-12-11 07:14:52.302822"]]  (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", "Stratocaster"], ["shop_id", 62], ["created_at", "2016-12-11 07:14:52.308563"], ["updated_at", "2016-12-11 07:14:52.308563"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.7ms) 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 -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:15:20.727845"], ["updated_at", "2016-12-11 07:15:20.727845"]]  (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", 63], ["created_at", "2016-12-11 07:15:20.743810"], ["updated_at", "2016-12-11 07:15:20.743810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 63], ["created_at", "2016-12-11 07:15:20.750692"], ["updated_at", "2016-12-11 07:15:20.750692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.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-12-11 07:15:22.800702"], ["updated_at", "2016-12-11 07:15:22.800702"]]  (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", 2], ["created_at", "2016-12-11 07:15:22.805799"], ["updated_at", "2016-12-11 07:15:22.805799"]]  (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-12-11 07:15:22.810796"], ["updated_at", "2016-12-11 07:15:22.810796"]]  (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", 4], ["created_at", "2016-12-11 07:15:22.815300"], ["updated_at", "2016-12-11 07:15:22.815300"]]  (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", 5], ["created_at", "2016-12-11 07:15:22.819844"], ["updated_at", "2016-12-11 07:15:22.819844"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:15:24.891347"], ["updated_at", "2016-12-11 07:15:24.891347"]]  (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-12-11 07:15:24.896581"], ["updated_at", "2016-12-11 07:15:24.896581"]]  (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", 3], ["created_at", "2016-12-11 07:15:24.902365"], ["updated_at", "2016-12-11 07:15:24.902365"]]  (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-12-11 07:15:24.908426"], ["updated_at", "2016-12-11 07:15:24.908426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 4  (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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:15:26.963941"], ["updated_at", "2016-12-11 07:15:26.963941"]]  (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", 64], ["created_at", "2016-12-11 07:15:26.969485"], ["updated_at", "2016-12-11 07:15:26.969485"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", 64], ["created_at", "2016-12-11 07:15:26.978539"], ["updated_at", "2016-12-11 07:15:26.978539"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 64], ["created_at", "2016-12-11 07:15:26.984412"], ["updated_at", "2016-12-11 07:15:26.984412"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.5ms) 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-12-11 07:15:29.039891"], ["updated_at", "2016-12-11 07:15:29.039891"]]  (0.1ms) 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", "Test"], ["shop_id", 65], ["created_at", "2016-12-11 07:15:29.042516"], ["updated_at", "2016-12-11 07:15:29.042516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE 1=0  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:15:31.093282"], ["updated_at", "2016-12-11 07:15:31.093282"]]  (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", 66], ["created_at", "2016-12-11 07:15:31.095340"], ["updated_at", "2016-12-11 07:15:31.095340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:15:33.117506"], ["updated_at", "2016-12-11 07:15:33.117506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.4ms) 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.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:15:43.932264"], ["updated_at", "2016-12-11 07:15:43.932264"]]  (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", 68], ["created_at", "2016-12-11 07:15:43.947299"], ["updated_at", "2016-12-11 07:15:43.947299"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 68], ["created_at", "2016-12-11 07:15:43.953409"], ["updated_at", "2016-12-11 07:15:43.953409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:15:45.979769"], ["updated_at", "2016-12-11 07:15:45.979769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:17:23.616000"], ["updated_at", "2016-12-11 07:17:23.616000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) 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-12-11 07:17:23.793444"], ["updated_at", "2016-12-11 07:17:23.793444"]]  (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-12-11 07:17:23.811002"], ["updated_at", "2016-12-11 07:17:23.811002"]]  (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-12-11 07:17:23.815823"], ["updated_at", "2016-12-11 07:17:23.815823"]]  (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", 4], ["created_at", "2016-12-11 07:17:23.820825"], ["updated_at", "2016-12-11 07:17:23.820825"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 4  (0.5ms) ROLLBACK  (0.1ms) 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-12-11 07:17:25.875895"], ["updated_at", "2016-12-11 07:17:25.875895"]]  (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", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 71], ["created_at", "2016-12-11 07:17:25.902651"], ["updated_at", "2016-12-11 07:17:25.902651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 71], ["created_at", "2016-12-11 07:17:25.920459"], ["updated_at", "2016-12-11 07:17:25.920459"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 71], ["created_at", "2016-12-11 07:17:25.931310"], ["updated_at", "2016-12-11 07:17:25.931310"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 07:17:27.983033"], ["updated_at", "2016-12-11 07:17:27.983033"]]  (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", 72], ["created_at", "2016-12-11 07:17:27.985207"], ["updated_at", "2016-12-11 07:17:27.985207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.4ms) 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-12-11 07:17:30.036236"], ["updated_at", "2016-12-11 07:17:30.036236"]]  (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-12-11 07:17:30.042003"], ["updated_at", "2016-12-11 07:17:30.042003"]]  (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-12-11 07:17:30.048044"], ["updated_at", "2016-12-11 07:17:30.048044"]]  (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-12-11 07:17:30.052725"], ["updated_at", "2016-12-11 07:17:30.052725"]]  (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", 5], ["created_at", "2016-12-11 07:17:30.058013"], ["updated_at", "2016-12-11 07:17:30.058013"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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 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) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.4ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.4ms) 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-12-11 07:17:32.431651"], ["updated_at", "2016-12-11 07:17:32.431651"]]  (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", "Les Paul"], ["shop_id", 73], ["created_at", "2016-12-11 07:17:32.434536"], ["updated_at", "2016-12-11 07:17:32.434536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 73], ["created_at", "2016-12-11 07:17:32.440957"], ["updated_at", "2016-12-11 07:17:32.440957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:17:34.487016"], ["updated_at", "2016-12-11 07:17:34.487016"]]  (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", 74], ["created_at", "2016-12-11 07:17:34.488945"], ["updated_at", "2016-12-11 07:17:34.488945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE 1=0  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.7ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:23:00.505667"], ["updated_at", "2016-12-11 07:23:00.505667"]]  (0.1ms) 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", 75], ["created_at", "2016-12-11 07:23:00.523607"], ["updated_at", "2016-12-11 07:23:00.523607"]]  (0.1ms) 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", 75], ["created_at", "2016-12-11 07:23:00.529985"], ["updated_at", "2016-12-11 07:23:00.529985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 75], ["created_at", "2016-12-11 07:23:00.535906"], ["updated_at", "2016-12-11 07:23:00.535906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE 1=0  (0.4ms) ROLLBACK  (0.1ms) 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-12-11 07:23:02.585825"], ["updated_at", "2016-12-11 07:23:02.585825"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 76], ["created_at", "2016-12-11 07:23:02.588032"], ["updated_at", "2016-12-11 07:23:02.588032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE 1=0  (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.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-12-11 07:23:04.641402"], ["updated_at", "2016-12-11 07:23:04.641402"]]  (0.2ms) 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", 2], ["created_at", "2016-12-11 07:23:04.646455"], ["updated_at", "2016-12-11 07:23:04.646455"]]  (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", 3], ["created_at", "2016-12-11 07:23:04.651446"], ["updated_at", "2016-12-11 07:23:04.651446"]]  (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-12-11 07:23:04.655932"], ["updated_at", "2016-12-11 07:23:04.655932"]]  (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", 5], ["created_at", "2016-12-11 07:23:04.660386"], ["updated_at", "2016-12-11 07:23:04.660386"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.5ms) 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-12-11 07:23:06.717571"], ["updated_at", "2016-12-11 07:23:06.717571"]]  (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", 2], ["created_at", "2016-12-11 07:23:06.722883"], ["updated_at", "2016-12-11 07:23:06.722883"]]  (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", 3], ["created_at", "2016-12-11 07:23:06.728070"], ["updated_at", "2016-12-11 07:23:06.728070"]]  (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-12-11 07:23:06.733148"], ["updated_at", "2016-12-11 07:23:06.733148"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 4  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:23:08.780246"], ["updated_at", "2016-12-11 07:23:08.780246"]]  (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", 77], ["created_at", "2016-12-11 07:23:08.782359"], ["updated_at", "2016-12-11 07:23:08.782359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:23:10.903193"], ["updated_at", "2016-12-11 07:23:10.903193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "Les Paul"], ["shop_id", 78], ["created_at", "2016-12-11 07:23:10.905461"], ["updated_at", "2016-12-11 07:23:10.905461"]]  (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", "Stratocaster"], ["shop_id", 78], ["created_at", "2016-12-11 07:23:10.911264"], ["updated_at", "2016-12-11 07:23:10.911264"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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 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.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:23:13.084740"], ["updated_at", "2016-12-11 07:23:13.084740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- 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) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:25:06.542364"], ["updated_at", "2016-12-11 07:25:06.542364"]]  (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", 80], ["created_at", "2016-12-11 07:25:06.559316"], ["updated_at", "2016-12-11 07:25:06.559316"]]  (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", "Stratocaster"], ["shop_id", 80], ["created_at", "2016-12-11 07:25:06.566009"], ["updated_at", "2016-12-11 07:25:06.566009"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------- TaskTest: test_index -------------------- 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 ---------------------- TaskTest: test_reindex ---------------------- 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 ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:25:08.731193"], ["updated_at", "2016-12-11 07:25:08.731193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:25:08.784677"], ["updated_at", "2016-12-11 07:25:08.784677"]]  (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", 82], ["created_at", "2016-12-11 07:25:08.787264"], ["updated_at", "2016-12-11 07:25:08.787264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:25:10.840563"], ["updated_at", "2016-12-11 07:25:10.840563"]]  (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", 2], ["created_at", "2016-12-11 07:25:10.845703"], ["updated_at", "2016-12-11 07:25:10.845703"]]  (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", 3], ["created_at", "2016-12-11 07:25:10.850239"], ["updated_at", "2016-12-11 07:25:10.850239"]]  (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-12-11 07:25:10.854875"], ["updated_at", "2016-12-11 07:25:10.854875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 4  (0.4ms) 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.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-12-11 07:25:12.906372"], ["updated_at", "2016-12-11 07:25:12.906372"]]  (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-12-11 07:25:12.911713"], ["updated_at", "2016-12-11 07:25:12.911713"]]  (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", 3], ["created_at", "2016-12-11 07:25:12.917053"], ["updated_at", "2016-12-11 07:25:12.917053"]]  (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-12-11 07:25:12.921917"], ["updated_at", "2016-12-11 07:25:12.921917"]]  (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", 5], ["created_at", "2016-12-11 07:25:12.927034"], ["updated_at", "2016-12-11 07:25:12.927034"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 07:25:14.979193"], ["updated_at", "2016-12-11 07:25:14.979193"]]  (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", 83], ["created_at", "2016-12-11 07:25:14.981477"], ["updated_at", "2016-12-11 07:25:14.981477"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:25:17.031952"], ["updated_at", "2016-12-11 07:25:17.031952"]]  (0.1ms) 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", 84], ["created_at", "2016-12-11 07:25:17.037556"], ["updated_at", "2016-12-11 07:25:17.037556"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 84], ["created_at", "2016-12-11 07:25:17.045315"], ["updated_at", "2016-12-11 07:25:17.045315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 84], ["created_at", "2016-12-11 07:25:17.050734"], ["updated_at", "2016-12-11 07:25:17.050734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE 1=0  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:26:52.811241"], ["updated_at", "2016-12-11 07:26:52.811241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.5ms) 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:27:43.899385"], ["updated_at", "2016-12-11 07:27:43.899385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 86], ["created_at", "2016-12-11 07:27:43.912898"], ["updated_at", "2016-12-11 07:27:43.912898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:27:43.948139"], ["updated_at", "2016-12-11 07:27:43.948139"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 87], ["created_at", "2016-12-11 07:27:43.955293"], ["updated_at", "2016-12-11 07:27:43.955293"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.4ms) 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:27:43.994708"], ["updated_at", "2016-12-11 07:27:43.994708"]]  (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", 88], ["created_at", "2016-12-11 07:27:43.996778"], ["updated_at", "2016-12-11 07:27:43.996778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.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-12-11 07:27:44.032236"], ["updated_at", "2016-12-11 07:27:44.032236"]]  (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-12-11 07:27:44.036832"], ["updated_at", "2016-12-11 07:27:44.036832"]]  (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-12-11 07:27:44.041191"], ["updated_at", "2016-12-11 07:27:44.041191"]]  (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-12-11 07:27:44.045881"], ["updated_at", "2016-12-11 07:27:44.045881"]]  (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", 5], ["created_at", "2016-12-11 07:27:44.049753"], ["updated_at", "2016-12-11 07:27:44.049753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:27:46.098645"], ["updated_at", "2016-12-11 07:27:46.098645"]]  (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-12-11 07:27:46.103767"], ["updated_at", "2016-12-11 07:27:46.103767"]]  (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-12-11 07:27:46.108602"], ["updated_at", "2016-12-11 07:27:46.108602"]]  (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-12-11 07:27:46.113168"], ["updated_at", "2016-12-11 07:27:46.113168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:27:48.226495"], ["updated_at", "2016-12-11 07:27:48.226495"]]  (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", "Les Paul"], ["shop_id", 89], ["created_at", "2016-12-11 07:27:48.228442"], ["updated_at", "2016-12-11 07:27:48.228442"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:27:48.241604"], ["updated_at", "2016-12-11 07:27:48.241604"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:30:22.665983"], ["updated_at", "2016-12-11 07:30:22.665983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- IndexTest: test_find --------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest -----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination ---------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:30:39.234856"], ["updated_at", "2016-12-11 07:30:39.234856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index --------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ----------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.5ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:31:27.861927"], ["updated_at", "2016-12-11 07:31:27.861927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 93], ["created_at", "2016-12-11 07:31:27.877943"], ["updated_at", "2016-12-11 07:31:27.877943"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 58  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 58]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 58  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) 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-12-11 07:31:29.968651"], ["updated_at", "2016-12-11 07:31:29.968651"]]  (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", 94], ["created_at", "2016-12-11 07:31:29.970806"], ["updated_at", "2016-12-11 07:31:29.970806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 59 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (94)  (0.3ms) 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.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-12-11 07:31:32.031678"], ["updated_at", "2016-12-11 07:31:32.031678"]]  (0.2ms) 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-12-11 07:31:32.037356"], ["updated_at", "2016-12-11 07:31:32.037356"]]  (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-12-11 07:31:32.042392"], ["updated_at", "2016-12-11 07:31:32.042392"]]  (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-12-11 07:31:32.046949"], ["updated_at", "2016-12-11 07:31:32.046949"]]  (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", 5], ["created_at", "2016-12-11 07:31:32.051448"], ["updated_at", "2016-12-11 07:31:32.051448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:31:34.128540"], ["updated_at", "2016-12-11 07:31:34.128540"]]  (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", 2], ["created_at", "2016-12-11 07:31:34.133455"], ["updated_at", "2016-12-11 07:31:34.133455"]]  (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-12-11 07:31:34.138035"], ["updated_at", "2016-12-11 07:31:34.138035"]]  (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-12-11 07:31:34.142614"], ["updated_at", "2016-12-11 07:31:34.142614"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:31:36.203232"], ["updated_at", "2016-12-11 07:31:36.203232"]]  (0.1ms) 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", 95], ["created_at", "2016-12-11 07:31:36.208072"], ["updated_at", "2016-12-11 07:31:36.208072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 95], ["created_at", "2016-12-11 07:31:36.213925"], ["updated_at", "2016-12-11 07:31:36.213925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 95], ["created_at", "2016-12-11 07:31:36.219398"], ["updated_at", "2016-12-11 07:31:36.219398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:31:38.292806"], ["updated_at", "2016-12-11 07:31:38.292806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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 ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.7ms) 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.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:31:38.428798"], ["updated_at", "2016-12-11 07:31:38.428798"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 97], ["created_at", "2016-12-11 07:31:38.431546"], ["updated_at", "2016-12-11 07:31:38.431546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 97], ["created_at", "2016-12-11 07:31:38.438569"], ["updated_at", "2016-12-11 07:31:38.438569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 -------------------- TaskTest: test_index -------------------- Product Load (0.4ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.5ms) 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.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:33:13.430980"], ["updated_at", "2016-12-11 07:33:13.430980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:33:13.500706"], ["updated_at", "2016-12-11 07:33:13.500706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 99], ["created_at", "2016-12-11 07:33:13.521553"], ["updated_at", "2016-12-11 07:33:13.521553"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 99], ["created_at", "2016-12-11 07:33:13.540218"], ["updated_at", "2016-12-11 07:33:13.540218"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 99], ["created_at", "2016-12-11 07:33:13.550379"], ["updated_at", "2016-12-11 07:33:13.550379"]]  (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.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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.9ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.6ms) 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.3ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) 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-12-11 07:33:15.644325"], ["updated_at", "2016-12-11 07:33:15.644325"]]  (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", 2], ["created_at", "2016-12-11 07:33:15.651727"], ["updated_at", "2016-12-11 07:33:15.651727"]]  (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", 3], ["created_at", "2016-12-11 07:33:15.658955"], ["updated_at", "2016-12-11 07:33:15.658955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-11 07:33:15.665042"], ["updated_at", "2016-12-11 07:33:15.665042"]]  (0.2ms) 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", 5], ["created_at", "2016-12-11 07:33:15.677525"], ["updated_at", "2016-12-11 07:33:15.677525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2) Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 07:33:17.753125"], ["updated_at", "2016-12-11 07:33:17.753125"]]  (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", 100], ["created_at", "2016-12-11 07:33:17.754893"], ["updated_at", "2016-12-11 07:33:17.754893"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 62 Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (100)  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:33:19.806021"], ["updated_at", "2016-12-11 07:33:19.806021"]]  (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", 2], ["created_at", "2016-12-11 07:33:19.810896"], ["updated_at", "2016-12-11 07:33:19.810896"]]  (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-12-11 07:33:19.815649"], ["updated_at", "2016-12-11 07:33:19.815649"]]  (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-12-11 07:33:19.820241"], ["updated_at", "2016-12-11 07:33:19.820241"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2, 1)  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:33:21.946183"], ["updated_at", "2016-12-11 07:33:21.946183"]]  (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", "Les Paul"], ["shop_id", 101], ["created_at", "2016-12-11 07:33:21.948909"], ["updated_at", "2016-12-11 07:33:21.948909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 101], ["created_at", "2016-12-11 07:33:21.955398"], ["updated_at", "2016-12-11 07:33:21.955398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:33:24.011270"], ["updated_at", "2016-12-11 07:33:24.011270"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 102], ["created_at", "2016-12-11 07:33:24.013890"], ["updated_at", "2016-12-11 07:33:24.013890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 65  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 65]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 65  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:37:50.239578"], ["updated_at", "2016-12-11 07:37:50.239578"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.2ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:38:09.265633"], ["updated_at", "2016-12-11 07:38:09.265633"]]  (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", "Les Paul"], ["shop_id", 104], ["created_at", "2016-12-11 07:38:09.281934"], ["updated_at", "2016-12-11 07:38:09.281934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 104], ["created_at", "2016-12-11 07:38:09.305142"], ["updated_at", "2016-12-11 07:38:09.305142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:38:11.378480"], ["updated_at", "2016-12-11 07:38:11.378480"]]  (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", 105], ["created_at", "2016-12-11 07:38:11.380570"], ["updated_at", "2016-12-11 07:38:11.380570"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 68  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 68]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 68  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN -------------------- TaskTest: test_index -------------------- 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 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.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 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.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:38:13.681754"], ["updated_at", "2016-12-11 07:38:13.681754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 106], ["created_at", "2016-12-11 07:38:13.687661"], ["updated_at", "2016-12-11 07:38:13.687661"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 106], ["created_at", "2016-12-11 07:38:13.693853"], ["updated_at", "2016-12-11 07:38:13.693853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 106], ["created_at", "2016-12-11 07:38:13.699052"], ["updated_at", "2016-12-11 07:38:13.699052"]]  (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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.3ms) 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.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-12-11 07:38:15.777309"], ["updated_at", "2016-12-11 07:38:15.777309"]]  (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-12-11 07:38:15.782781"], ["updated_at", "2016-12-11 07:38:15.782781"]]  (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", 3], ["created_at", "2016-12-11 07:38:15.788694"], ["updated_at", "2016-12-11 07:38:15.788694"]]  (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-12-11 07:38:15.794066"], ["updated_at", "2016-12-11 07:38:15.794066"]]  (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", 5], ["created_at", "2016-12-11 07:38:15.799292"], ["updated_at", "2016-12-11 07:38:15.799292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 07:38:17.873500"], ["updated_at", "2016-12-11 07:38:17.873500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 107], ["created_at", "2016-12-11 07:38:17.875488"], ["updated_at", "2016-12-11 07:38:17.875488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 69 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (107)  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:38:19.934219"], ["updated_at", "2016-12-11 07:38:19.934219"]]  (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", 2], ["created_at", "2016-12-11 07:38:19.939404"], ["updated_at", "2016-12-11 07:38:19.939404"]]  (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-12-11 07:38:19.944691"], ["updated_at", "2016-12-11 07:38:19.944691"]]  (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-12-11 07:38:19.949786"], ["updated_at", "2016-12-11 07:38:19.949786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2, 1)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.6ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:39:41.825591"], ["updated_at", "2016-12-11 07:39:41.825591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 108], ["created_at", "2016-12-11 07:39:41.843944"], ["updated_at", "2016-12-11 07:39:41.843944"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 70  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 70]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 70  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:39:43.914521"], ["updated_at", "2016-12-11 07:39:43.914521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.4ms) 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:39:43.975954"], ["updated_at", "2016-12-11 07:39:43.975954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 110], ["created_at", "2016-12-11 07:39:43.985975"], ["updated_at", "2016-12-11 07:39:43.985975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 110], ["created_at", "2016-12-11 07:39:43.992590"], ["updated_at", "2016-12-11 07:39:43.992590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 110], ["created_at", "2016-12-11 07:39:43.998145"], ["updated_at", "2016-12-11 07:39:43.998145"]]  (0.2ms) 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.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:39:46.093759"], ["updated_at", "2016-12-11 07:39:46.093759"]]  (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-12-11 07:39:46.098746"], ["updated_at", "2016-12-11 07:39:46.098746"]]  (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", 3], ["created_at", "2016-12-11 07:39:46.103268"], ["updated_at", "2016-12-11 07:39:46.103268"]]  (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-12-11 07:39:46.107664"], ["updated_at", "2016-12-11 07:39:46.107664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 07:39:48.155982"], ["updated_at", "2016-12-11 07:39:48.155982"]]  (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", 111], ["created_at", "2016-12-11 07:39:48.157737"], ["updated_at", "2016-12-11 07:39:48.157737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 71 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (111)  (0.3ms) 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.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-12-11 07:39:50.236315"], ["updated_at", "2016-12-11 07:39:50.236315"]]  (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-12-11 07:39:50.241398"], ["updated_at", "2016-12-11 07:39:50.241398"]]  (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-12-11 07:39:50.246068"], ["updated_at", "2016-12-11 07:39:50.246068"]]  (0.2ms) 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-12-11 07:39:50.251063"], ["updated_at", "2016-12-11 07:39:50.251063"]]  (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", 5], ["created_at", "2016-12-11 07:39:50.255473"], ["updated_at", "2016-12-11 07:39:50.255473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:39:52.363619"], ["updated_at", "2016-12-11 07:39:52.363619"]]  (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", "Les Paul"], ["shop_id", 112], ["created_at", "2016-12-11 07:39:52.365286"], ["updated_at", "2016-12-11 07:39:52.365286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 112], ["created_at", "2016-12-11 07:39:52.370944"], ["updated_at", "2016-12-11 07:39:52.370944"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.9ms) 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.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- Product Load (2.0ms) 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.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.7ms) 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.3ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:40:20.560692"], ["updated_at", "2016-12-11 07:40:20.560692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 113], ["created_at", "2016-12-11 07:40:20.580125"], ["updated_at", "2016-12-11 07:40:20.580125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 74  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 74]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 74  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:40:22.793098"], ["updated_at", "2016-12-11 07:40:22.793098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:40:22.845353"], ["updated_at", "2016-12-11 07:40:22.845353"]]  (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", "Les Paul"], ["shop_id", 115], ["created_at", "2016-12-11 07:40:22.847642"], ["updated_at", "2016-12-11 07:40:22.847642"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 115], ["created_at", "2016-12-11 07:40:22.853942"], ["updated_at", "2016-12-11 07:40:22.853942"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) ROLLBACK  (0.3ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.7ms) 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.4ms) ROLLBACK  (0.1ms) 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.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:40:25.063780"], ["updated_at", "2016-12-11 07:40:25.063780"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "Test"], ["shop_id", 116], ["created_at", "2016-12-11 07:40:25.066379"], ["updated_at", "2016-12-11 07:40:25.066379"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 77 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (116)  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:40:27.127184"], ["updated_at", "2016-12-11 07:40:27.127184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 117], ["created_at", "2016-12-11 07:40:27.132760"], ["updated_at", "2016-12-11 07:40:27.132760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 117], ["created_at", "2016-12-11 07:40:27.138866"], ["updated_at", "2016-12-11 07:40:27.138866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 117], ["created_at", "2016-12-11 07:40:27.144290"], ["updated_at", "2016-12-11 07:40:27.144290"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.3ms) 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.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-12-11 07:40:29.224175"], ["updated_at", "2016-12-11 07:40:29.224175"]]  (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", 2], ["created_at", "2016-12-11 07:40:29.228803"], ["updated_at", "2016-12-11 07:40:29.228803"]]  (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-12-11 07:40:29.233656"], ["updated_at", "2016-12-11 07:40:29.233656"]]  (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-12-11 07:40:29.238432"], ["updated_at", "2016-12-11 07:40:29.238432"]]  (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", 5], ["created_at", "2016-12-11 07:40:29.243037"], ["updated_at", "2016-12-11 07:40:29.243037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:40:31.341491"], ["updated_at", "2016-12-11 07:40:31.341491"]]  (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", 2], ["created_at", "2016-12-11 07:40:31.364330"], ["updated_at", "2016-12-11 07:40:31.364330"]]  (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-12-11 07:40:31.368912"], ["updated_at", "2016-12-11 07:40:31.368912"]]  (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-12-11 07:40:31.373753"], ["updated_at", "2016-12-11 07:40:31.373753"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:41:07.615029"], ["updated_at", "2016-12-11 07:41:07.615029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.4ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:41:35.142529"], ["updated_at", "2016-12-11 07:41:35.142529"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 119], ["created_at", "2016-12-11 07:41:35.156674"], ["updated_at", "2016-12-11 07:41:35.156674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 78  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 78]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 78  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (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.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-12-11 07:41:37.238734"], ["updated_at", "2016-12-11 07:41:37.238734"]]  (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", 2], ["created_at", "2016-12-11 07:41:37.243555"], ["updated_at", "2016-12-11 07:41:37.243555"]]  (0.2ms) 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-12-11 07:41:37.248251"], ["updated_at", "2016-12-11 07:41:37.248251"]]  (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", 4], ["created_at", "2016-12-11 07:41:37.252537"], ["updated_at", "2016-12-11 07:41:37.252537"]]  (0.2ms) 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", 5], ["created_at", "2016-12-11 07:41:37.257621"], ["updated_at", "2016-12-11 07:41:37.257621"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:41:39.349453"], ["updated_at", "2016-12-11 07:41:39.349453"]]  (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", 2], ["created_at", "2016-12-11 07:41:39.353654"], ["updated_at", "2016-12-11 07:41:39.353654"]]  (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-12-11 07:41:39.358236"], ["updated_at", "2016-12-11 07:41:39.358236"]]  (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-12-11 07:41:39.362660"], ["updated_at", "2016-12-11 07:41:39.362660"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:41:41.470327"], ["updated_at", "2016-12-11 07:41:41.470327"]]  (0.2ms) 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", 120], ["created_at", "2016-12-11 07:41:41.472901"], ["updated_at", "2016-12-11 07:41:41.472901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 79 Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (120)  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:41:43.525758"], ["updated_at", "2016-12-11 07:41:43.525758"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 121], ["created_at", "2016-12-11 07:41:43.531766"], ["updated_at", "2016-12-11 07:41:43.531766"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 121], ["created_at", "2016-12-11 07:41:43.538488"], ["updated_at", "2016-12-11 07:41:43.538488"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 121], ["created_at", "2016-12-11 07:41:43.543865"], ["updated_at", "2016-12-11 07:41:43.543865"]]  (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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) 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.8ms) 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.7ms) 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.6ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (2.7ms) 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.1ms) BEGIN ------------------------- IndexTest: 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.4ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:41:45.785434"], ["updated_at", "2016-12-11 07:41:45.785434"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 122], ["created_at", "2016-12-11 07:41:45.787615"], ["updated_at", "2016-12-11 07:41:45.787615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 122], ["created_at", "2016-12-11 07:41:45.795614"], ["updated_at", "2016-12-11 07:41:45.795614"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- Product Load (0.4ms) 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.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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 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 -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:41:47.956486"], ["updated_at", "2016-12-11 07:41:47.956486"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- Product Load (0.7ms) 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 -------------------- TaskTest: test_index -------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:44:46.838220"], ["updated_at", "2016-12-11 07:44:46.838220"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 124], ["created_at", "2016-12-11 07:44:46.851434"], ["updated_at", "2016-12-11 07:44:46.851434"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 124], ["created_at", "2016-12-11 07:44:46.857213"], ["updated_at", "2016-12-11 07:44:46.857213"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) 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.1ms) 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-12-11 07:44:48.916698"], ["updated_at", "2016-12-11 07:44:48.916698"]]  (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", 125], ["created_at", "2016-12-11 07:44:48.918954"], ["updated_at", "2016-12-11 07:44:48.918954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 84  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 84]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 84  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:44:50.993502"], ["updated_at", "2016-12-11 07:44:50.993502"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 126], ["created_at", "2016-12-11 07:44:50.999950"], ["updated_at", "2016-12-11 07:44:50.999950"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 126], ["created_at", "2016-12-11 07:44:51.006037"], ["updated_at", "2016-12-11 07:44:51.006037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 126], ["created_at", "2016-12-11 07:44:51.011465"], ["updated_at", "2016-12-11 07:44:51.011465"]]  (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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (1.2ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 07:44:53.098317"], ["updated_at", "2016-12-11 07:44:53.098317"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 127], ["created_at", "2016-12-11 07:44:53.099955"], ["updated_at", "2016-12-11 07:44:53.099955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" = 85 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (127)  (0.3ms) 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.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-12-11 07:44:55.156438"], ["updated_at", "2016-12-11 07:44:55.156438"]]  (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", 2], ["created_at", "2016-12-11 07:44:55.162414"], ["updated_at", "2016-12-11 07:44:55.162414"]]  (0.2ms) 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", 3], ["created_at", "2016-12-11 07:44:55.166951"], ["updated_at", "2016-12-11 07:44:55.166951"]]  (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-12-11 07:44:55.171576"], ["updated_at", "2016-12-11 07:44:55.171576"]]  (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", 5], ["created_at", "2016-12-11 07:44:55.175865"], ["updated_at", "2016-12-11 07:44:55.175865"]]  (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.3ms) 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.4ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:44:57.254677"], ["updated_at", "2016-12-11 07:44:57.254677"]]  (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-12-11 07:44:57.259886"], ["updated_at", "2016-12-11 07:44:57.259886"]]  (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-12-11 07:44:57.264617"], ["updated_at", "2016-12-11 07:44:57.264617"]]  (0.2ms) 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-12-11 07:44:57.270799"], ["updated_at", "2016-12-11 07:44:57.270799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:44:59.301811"], ["updated_at", "2016-12-11 07:44:59.301811"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.6ms) 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.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:51:46.867007"], ["updated_at", "2016-12-11 07:51:46.867007"]]  (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", 129], ["created_at", "2016-12-11 07:51:46.885565"], ["updated_at", "2016-12-11 07:51:46.885565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 129], ["created_at", "2016-12-11 07:51:46.903038"], ["updated_at", "2016-12-11 07:51:46.903038"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:51:48.934076"], ["updated_at", "2016-12-11 07:51:48.934076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 -------------------- TaskTest: test_index -------------------- 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.4ms) 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.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 07:51:49.106808"], ["updated_at", "2016-12-11 07:51:49.106808"]]  (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", 131], ["created_at", "2016-12-11 07:51:49.109393"], ["updated_at", "2016-12-11 07:51:49.109393"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 88  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 88]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 88  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.4ms) 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-12-11 07:51:51.188785"], ["updated_at", "2016-12-11 07:51:51.188785"]]  (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", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 132], ["created_at", "2016-12-11 07:51:51.193760"], ["updated_at", "2016-12-11 07:51:51.193760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 132], ["created_at", "2016-12-11 07:51:51.199858"], ["updated_at", "2016-12-11 07:51:51.199858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 132], ["created_at", "2016-12-11 07:51:51.204500"], ["updated_at", "2016-12-11 07:51:51.204500"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:51:53.280885"], ["updated_at", "2016-12-11 07:51:53.280885"]]  (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-12-11 07:51:53.285849"], ["updated_at", "2016-12-11 07:51:53.285849"]]  (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-12-11 07:51:53.290451"], ["updated_at", "2016-12-11 07:51:53.290451"]]  (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-12-11 07:51:53.295143"], ["updated_at", "2016-12-11 07:51:53.295143"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 07:51:55.350826"], ["updated_at", "2016-12-11 07:51:55.350826"]]  (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", 133], ["created_at", "2016-12-11 07:51:55.352828"], ["updated_at", "2016-12-11 07:51:55.352828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 89 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (133)  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:51:57.413436"], ["updated_at", "2016-12-11 07:51:57.413436"]]  (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", 2], ["created_at", "2016-12-11 07:51:57.418601"], ["updated_at", "2016-12-11 07:51:57.418601"]]  (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-12-11 07:51:57.424741"], ["updated_at", "2016-12-11 07:51:57.424741"]]  (0.2ms) 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-12-11 07:51:57.437974"], ["updated_at", "2016-12-11 07:51:57.437974"]]  (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", 5], ["created_at", "2016-12-11 07:51:57.443466"], ["updated_at", "2016-12-11 07:51:57.443466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2) Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.3ms) 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  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:55:47.846883"], ["updated_at", "2016-12-11 07:55:47.846883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.7ms) 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.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:55:48.012083"], ["updated_at", "2016-12-11 07:55:48.012083"]]  (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", 135], ["created_at", "2016-12-11 07:55:48.023766"], ["updated_at", "2016-12-11 07:55:48.023766"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 135], ["created_at", "2016-12-11 07:55:48.029810"], ["updated_at", "2016-12-11 07:55:48.029810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) 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-12-11 07:55:50.082601"], ["updated_at", "2016-12-11 07:55:50.082601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", 136], ["created_at", "2016-12-11 07:55:50.084440"], ["updated_at", "2016-12-11 07:55:50.084440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 92  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 92]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 92  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:55:52.151857"], ["updated_at", "2016-12-11 07:55:52.151857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 137], ["created_at", "2016-12-11 07:55:52.157180"], ["updated_at", "2016-12-11 07:55:52.157180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 137], ["created_at", "2016-12-11 07:55:52.162617"], ["updated_at", "2016-12-11 07:55:52.162617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 137], ["created_at", "2016-12-11 07:55:52.167488"], ["updated_at", "2016-12-11 07:55:52.167488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 07:55:54.249040"], ["updated_at", "2016-12-11 07:55:54.249040"]]  (0.2ms) 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-12-11 07:55:54.254096"], ["updated_at", "2016-12-11 07:55:54.254096"]]  (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-12-11 07:55:54.258517"], ["updated_at", "2016-12-11 07:55:54.258517"]]  (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-12-11 07:55:54.262853"], ["updated_at", "2016-12-11 07:55:54.262853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 07:55:56.314745"], ["updated_at", "2016-12-11 07:55:56.314745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 138], ["created_at", "2016-12-11 07:55:56.316548"], ["updated_at", "2016-12-11 07:55:56.316548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 93 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (138)  (0.3ms) 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.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-12-11 07:55:58.367775"], ["updated_at", "2016-12-11 07:55:58.367775"]]  (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", 2], ["created_at", "2016-12-11 07:55:58.372186"], ["updated_at", "2016-12-11 07:55:58.372186"]]  (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-12-11 07:55:58.376556"], ["updated_at", "2016-12-11 07:55:58.376556"]]  (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-12-11 07:55:58.380679"], ["updated_at", "2016-12-11 07:55:58.380679"]]  (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", 5], ["created_at", "2016-12-11 07:55:58.385159"], ["updated_at", "2016-12-11 07:55:58.385159"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 -------------------- TaskTest: test_index -------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:57:53.114167"], ["updated_at", "2016-12-11 07:57:53.114167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.9ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:57:53.392000"], ["updated_at", "2016-12-11 07:57:53.392000"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 140], ["created_at", "2016-12-11 07:57:53.409912"], ["updated_at", "2016-12-11 07:57:53.409912"]]  (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", 140], ["created_at", "2016-12-11 07:57:53.427448"], ["updated_at", "2016-12-11 07:57:53.427448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) 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.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 07:57:55.486403"], ["updated_at", "2016-12-11 07:57:55.486403"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 141], ["created_at", "2016-12-11 07:57:55.493106"], ["updated_at", "2016-12-11 07:57:55.493106"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 141], ["created_at", "2016-12-11 07:57:55.499168"], ["updated_at", "2016-12-11 07:57:55.499168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 141], ["created_at", "2016-12-11 07:57:55.504695"], ["updated_at", "2016-12-11 07:57:55.504695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.4ms) 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-12-11 07:57:57.557172"], ["updated_at", "2016-12-11 07:57:57.557172"]]  (0.1ms) 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", "Test"], ["shop_id", 142], ["created_at", "2016-12-11 07:57:57.559443"], ["updated_at", "2016-12-11 07:57:57.559443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.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-12-11 07:57:59.615469"], ["updated_at", "2016-12-11 07:57:59.615469"]]  (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-12-11 07:57:59.620877"], ["updated_at", "2016-12-11 07:57:59.620877"]]  (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-12-11 07:57:59.626174"], ["updated_at", "2016-12-11 07:57:59.626174"]]  (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-12-11 07:57:59.631193"], ["updated_at", "2016-12-11 07:57:59.631193"]]  (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", 5], ["created_at", "2016-12-11 07:57:59.636890"], ["updated_at", "2016-12-11 07:57:59.636890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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-12-11 07:58:01.718562"], ["updated_at", "2016-12-11 07:58:01.718562"]]  (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", 2], ["created_at", "2016-12-11 07:58:01.723462"], ["updated_at", "2016-12-11 07:58:01.723462"]]  (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", 3], ["created_at", "2016-12-11 07:58:01.728333"], ["updated_at", "2016-12-11 07:58:01.728333"]]  (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-12-11 07:58:01.733535"], ["updated_at", "2016-12-11 07:58:01.733535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) 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-12-11 07:58:03.810422"], ["updated_at", "2016-12-11 07:58:03.810422"]]  (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", 143], ["created_at", "2016-12-11 07:58:03.812519"], ["updated_at", "2016-12-11 07:58:03.812519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.4ms) 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 ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 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 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.5ms) 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 ---------------------- TaskTest: test_reindex ---------------------- 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 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.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.5ms) 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.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.7ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:00:11.266721"], ["updated_at", "2016-12-11 08:00:11.266721"]]  (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", 144], ["created_at", "2016-12-11 08:00:11.286562"], ["updated_at", "2016-12-11 08:00:11.286562"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 144], ["created_at", "2016-12-11 08:00:11.304004"], ["updated_at", "2016-12-11 08:00:11.304004"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) 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-12-11 08:00:13.356922"], ["updated_at", "2016-12-11 08:00:13.356922"]]  (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", 145], ["created_at", "2016-12-11 08:00:13.358598"], ["updated_at", "2016-12-11 08:00:13.358598"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 08:00:15.407431"], ["updated_at", "2016-12-11 08:00:15.407431"]]  (0.1ms) 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", 146], ["created_at", "2016-12-11 08:00:15.413312"], ["updated_at", "2016-12-11 08:00:15.413312"]]  (0.1ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 146], ["created_at", "2016-12-11 08:00:15.420022"], ["updated_at", "2016-12-11 08:00:15.420022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 146], ["created_at", "2016-12-11 08:00:15.425487"], ["updated_at", "2016-12-11 08:00:15.425487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.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-12-11 08:00:17.475606"], ["updated_at", "2016-12-11 08:00:17.475606"]]  (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", 2], ["created_at", "2016-12-11 08:00:17.480592"], ["updated_at", "2016-12-11 08:00:17.480592"]]  (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", 3], ["created_at", "2016-12-11 08:00:17.485620"], ["updated_at", "2016-12-11 08:00:17.485620"]]  (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-12-11 08:00:17.490400"], ["updated_at", "2016-12-11 08:00:17.490400"]]  (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", 5], ["created_at", "2016-12-11 08:00:17.494747"], ["updated_at", "2016-12-11 08:00:17.494747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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-12-11 08:00:19.568580"], ["updated_at", "2016-12-11 08:00:19.568580"]]  (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-12-11 08:00:19.573185"], ["updated_at", "2016-12-11 08:00:19.573185"]]  (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", 3], ["created_at", "2016-12-11 08:00:19.577809"], ["updated_at", "2016-12-11 08:00:19.577809"]]  (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-12-11 08:00:19.582165"], ["updated_at", "2016-12-11 08:00:19.582165"]]  (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.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:00:21.621748"], ["updated_at", "2016-12-11 08:00:21.621748"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:00:21.660410"], ["updated_at", "2016-12-11 08:00:21.660410"]]  (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", 148], ["created_at", "2016-12-11 08:00:21.662357"], ["updated_at", "2016-12-11 08:00:21.662357"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:02:18.104191"], ["updated_at", "2016-12-11 08:02:18.104191"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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 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.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 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.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:02:18.353147"], ["updated_at", "2016-12-11 08:02:18.353147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "Les Paul"], ["shop_id", 150], ["created_at", "2016-12-11 08:02:18.366948"], ["updated_at", "2016-12-11 08:02:18.366948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 150], ["created_at", "2016-12-11 08:02:18.372863"], ["updated_at", "2016-12-11 08:02:18.372863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN -------------------- IndexTest: 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 ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:02:20.488642"], ["updated_at", "2016-12-11 08:02:20.488642"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", 151], ["created_at", "2016-12-11 08:02:20.490410"], ["updated_at", "2016-12-11 08:02:20.490410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.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-12-11 08:02:22.534352"], ["updated_at", "2016-12-11 08:02:22.534352"]]  (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-12-11 08:02:22.539078"], ["updated_at", "2016-12-11 08:02:22.539078"]]  (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", 3], ["created_at", "2016-12-11 08:02:22.543214"], ["updated_at", "2016-12-11 08:02:22.543214"]]  (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-12-11 08:02:22.547304"], ["updated_at", "2016-12-11 08:02:22.547304"]]  (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", 5], ["created_at", "2016-12-11 08:02:22.551718"], ["updated_at", "2016-12-11 08:02:22.551718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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-12-11 08:02:24.621499"], ["updated_at", "2016-12-11 08:02:24.621499"]]  (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", 2], ["created_at", "2016-12-11 08:02:24.626306"], ["updated_at", "2016-12-11 08:02:24.626306"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-12-11 08:02:24.630598"], ["updated_at", "2016-12-11 08:02:24.630598"]]  (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-12-11 08:02:24.634858"], ["updated_at", "2016-12-11 08:02:24.634858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:02:26.688221"], ["updated_at", "2016-12-11 08:02:26.688221"]]  (0.1ms) 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", 152], ["created_at", "2016-12-11 08:02:26.693443"], ["updated_at", "2016-12-11 08:02:26.693443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 152], ["created_at", "2016-12-11 08:02:26.698864"], ["updated_at", "2016-12-11 08:02:26.698864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 152], ["created_at", "2016-12-11 08:02:26.703639"], ["updated_at", "2016-12-11 08:02:26.703639"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 08:02:28.749713"], ["updated_at", "2016-12-11 08:02:28.749713"]]  (0.1ms) 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", "Test"], ["shop_id", 153], ["created_at", "2016-12-11 08:02:28.757388"], ["updated_at", "2016-12-11 08:02:28.757388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.6ms) 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.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:03:16.174765"], ["updated_at", "2016-12-11 08:03:16.174765"]]  (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", 154], ["created_at", "2016-12-11 08:03:16.188631"], ["updated_at", "2016-12-11 08:03:16.188631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 154], ["created_at", "2016-12-11 08:03:16.194605"], ["updated_at", "2016-12-11 08:03:16.194605"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:03:18.223750"], ["updated_at", "2016-12-11 08:03:18.223750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 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 ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:03:18.397631"], ["updated_at", "2016-12-11 08:03:18.397631"]]  (0.1ms) 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", 156], ["created_at", "2016-12-11 08:03:18.403047"], ["updated_at", "2016-12-11 08:03:18.403047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 156], ["created_at", "2016-12-11 08:03:18.408363"], ["updated_at", "2016-12-11 08:03:18.408363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 156], ["created_at", "2016-12-11 08:03:18.413251"], ["updated_at", "2016-12-11 08:03:18.413251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:03:20.458143"], ["updated_at", "2016-12-11 08:03:20.458143"]]  (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", 157], ["created_at", "2016-12-11 08:03:20.460069"], ["updated_at", "2016-12-11 08:03:20.460069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) 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-12-11 08:03:22.516185"], ["updated_at", "2016-12-11 08:03:22.516185"]]  (0.2ms) 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-12-11 08:03:22.521083"], ["updated_at", "2016-12-11 08:03:22.521083"]]  (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-12-11 08:03:22.526191"], ["updated_at", "2016-12-11 08:03:22.526191"]]  (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-12-11 08:03:22.530189"], ["updated_at", "2016-12-11 08:03:22.530189"]]  (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", 5], ["created_at", "2016-12-11 08:03:22.534037"], ["updated_at", "2016-12-11 08:03:22.534037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.8ms) 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.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.3ms) 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  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:03:24.621291"], ["updated_at", "2016-12-11 08:03:24.621291"]]  (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", 2], ["created_at", "2016-12-11 08:03:24.627543"], ["updated_at", "2016-12-11 08:03:24.627543"]]  (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-12-11 08:03:24.633382"], ["updated_at", "2016-12-11 08:03:24.633382"]]  (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-12-11 08:03:24.637813"], ["updated_at", "2016-12-11 08:03:24.637813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:03:26.691828"], ["updated_at", "2016-12-11 08:03:26.691828"]]  (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", 158], ["created_at", "2016-12-11 08:03:26.693930"], ["updated_at", "2016-12-11 08:03:26.693930"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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.4ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:04:49.041966"], ["updated_at", "2016-12-11 08:04:49.041966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-12-11 08:04:49.049129"], ["updated_at", "2016-12-11 08:04:49.049129"]]  (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", 3], ["created_at", "2016-12-11 08:04:49.054052"], ["updated_at", "2016-12-11 08:04:49.054052"]]  (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-12-11 08:04:49.058968"], ["updated_at", "2016-12-11 08:04:49.058968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.4ms) 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-12-11 08:04:51.109367"], ["updated_at", "2016-12-11 08:04:51.109367"]]  (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", "Test"], ["shop_id", 159], ["created_at", "2016-12-11 08:04:51.122304"], ["updated_at", "2016-12-11 08:04:51.122304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:04:53.169516"], ["updated_at", "2016-12-11 08:04:53.169516"]]  (0.1ms) 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", 160], ["created_at", "2016-12-11 08:04:53.174729"], ["updated_at", "2016-12-11 08:04:53.174729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 160], ["created_at", "2016-12-11 08:04:53.180236"], ["updated_at", "2016-12-11 08:04:53.180236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 160], ["created_at", "2016-12-11 08:04:53.185427"], ["updated_at", "2016-12-11 08:04:53.185427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.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-12-11 08:04:55.231753"], ["updated_at", "2016-12-11 08:04:55.231753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-12-11 08:04:55.236578"], ["updated_at", "2016-12-11 08:04:55.236578"]]  (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-12-11 08:04:55.241379"], ["updated_at", "2016-12-11 08:04:55.241379"]]  (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-12-11 08:04:55.246121"], ["updated_at", "2016-12-11 08:04:55.246121"]]  (0.2ms) 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", 5], ["created_at", "2016-12-11 08:04:55.250762"], ["updated_at", "2016-12-11 08:04:55.250762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.6ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:05:40.974902"], ["updated_at", "2016-12-11 08:05:40.974902"]]  (0.1ms) 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", "Test"], ["shop_id", 161], ["created_at", "2016-12-11 08:05:40.987982"], ["updated_at", "2016-12-11 08:05:40.987982"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.5ms) 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.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: 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.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:09:30.916833"], ["updated_at", "2016-12-11 08:09:30.916833"]]  (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", 162], ["created_at", "2016-12-11 08:09:30.936105"], ["updated_at", "2016-12-11 08:09:30.936105"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 162], ["created_at", "2016-12-11 08:09:30.953468"], ["updated_at", "2016-12-11 08:09:30.953468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) 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-12-11 08:09:33.009948"], ["updated_at", "2016-12-11 08:09:33.009948"]]  (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", 163], ["created_at", "2016-12-11 08:09:33.011753"], ["updated_at", "2016-12-11 08:09:33.011753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (2.4ms) 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-12-11 08:09:35.077320"], ["updated_at", "2016-12-11 08:09:35.077320"]]  (0.1ms) 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", 164], ["created_at", "2016-12-11 08:09:35.082732"], ["updated_at", "2016-12-11 08:09:35.082732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 164], ["created_at", "2016-12-11 08:09:35.088841"], ["updated_at", "2016-12-11 08:09:35.088841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 164], ["created_at", "2016-12-11 08:09:35.094319"], ["updated_at", "2016-12-11 08:09:35.094319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:09:37.138831"], ["updated_at", "2016-12-11 08:09:37.138831"]]  (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", 2], ["created_at", "2016-12-11 08:09:37.144044"], ["updated_at", "2016-12-11 08:09:37.144044"]]  (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", 3], ["created_at", "2016-12-11 08:09:37.148137"], ["updated_at", "2016-12-11 08:09:37.148137"]]  (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-12-11 08:09:37.152408"], ["updated_at", "2016-12-11 08:09:37.152408"]]  (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", 5], ["created_at", "2016-12-11 08:09:37.157142"], ["updated_at", "2016-12-11 08:09:37.157142"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:09:39.255830"], ["updated_at", "2016-12-11 08:09:39.255830"]]  (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-12-11 08:09:39.261754"], ["updated_at", "2016-12-11 08:09:39.261754"]]  (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-12-11 08:09:39.266051"], ["updated_at", "2016-12-11 08:09:39.266051"]]  (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-12-11 08:09:39.270190"], ["updated_at", "2016-12-11 08:09:39.270190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:09:41.315013"], ["updated_at", "2016-12-11 08:09:41.315013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", 165], ["created_at", "2016-12-11 08:09:41.316782"], ["updated_at", "2016-12-11 08:09:41.316782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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 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.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:09:43.506909"], ["updated_at", "2016-12-11 08:09:43.506909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.5ms) 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.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:18:17.271023"], ["updated_at", "2016-12-11 08:18:17.271023"]]  (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", 2], ["created_at", "2016-12-11 08:18:17.295888"], ["updated_at", "2016-12-11 08:18:17.295888"]]  (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-12-11 08:18:17.300316"], ["updated_at", "2016-12-11 08:18:17.300316"]]  (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", 4], ["created_at", "2016-12-11 08:18:17.304581"], ["updated_at", "2016-12-11 08:18:17.304581"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.4ms) ROLLBACK  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:18:19.362798"], ["updated_at", "2016-12-11 08:18:19.362798"]]  (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", 2], ["created_at", "2016-12-11 08:18:19.367356"], ["updated_at", "2016-12-11 08:18:19.367356"]]  (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-12-11 08:18:19.371738"], ["updated_at", "2016-12-11 08:18:19.371738"]]  (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-12-11 08:18:19.376235"], ["updated_at", "2016-12-11 08:18:19.376235"]]  (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", 5], ["created_at", "2016-12-11 08:18:19.380724"], ["updated_at", "2016-12-11 08:18:19.380724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 08:18:21.449728"], ["updated_at", "2016-12-11 08:18:21.449728"]]  (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", "Test"], ["shop_id", 167], ["created_at", "2016-12-11 08:18:21.465749"], ["updated_at", "2016-12-11 08:18:21.465749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.5ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:18:55.622660"], ["updated_at", "2016-12-11 08:18:55.622660"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 168], ["created_at", "2016-12-11 08:18:55.641133"], ["updated_at", "2016-12-11 08:18:55.641133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (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.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-12-11 08:20:58.231956"], ["updated_at", "2016-12-11 08:20:58.231956"]]  (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", 2], ["created_at", "2016-12-11 08:20:58.237014"], ["updated_at", "2016-12-11 08:20:58.237014"]]  (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-12-11 08:20:58.241379"], ["updated_at", "2016-12-11 08:20:58.241379"]]  (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-12-11 08:20:58.245541"], ["updated_at", "2016-12-11 08:20:58.245541"]]  (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", 5], ["created_at", "2016-12-11 08:20:58.249631"], ["updated_at", "2016-12-11 08:20:58.249631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 08:21:00.322083"], ["updated_at", "2016-12-11 08:21:00.322083"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 169], ["created_at", "2016-12-11 08:21:00.324028"], ["updated_at", "2016-12-11 08:21:00.324028"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.5ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:29:12.221948"], ["updated_at", "2016-12-11 08:29:12.221948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 170], ["created_at", "2016-12-11 08:29:12.240363"], ["updated_at", "2016-12-11 08:29:12.240363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.5ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:29:29.438026"], ["updated_at", "2016-12-11 08:29:29.438026"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 171], ["created_at", "2016-12-11 08:29:29.456710"], ["updated_at", "2016-12-11 08:29:29.456710"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.4ms) 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-12-11 08:29:31.522974"], ["updated_at", "2016-12-11 08:29:31.522974"]]  (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", 172], ["created_at", "2016-12-11 08:29:31.525058"], ["updated_at", "2016-12-11 08:29:31.525058"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:29:33.573176"], ["updated_at", "2016-12-11 08:29:33.573176"]]  (0.1ms) 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", 173], ["created_at", "2016-12-11 08:29:33.578497"], ["updated_at", "2016-12-11 08:29:33.578497"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 173], ["created_at", "2016-12-11 08:29:33.584338"], ["updated_at", "2016-12-11 08:29:33.584338"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 173], ["created_at", "2016-12-11 08:29:33.589572"], ["updated_at", "2016-12-11 08:29:33.589572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.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-12-11 08:29:35.637559"], ["updated_at", "2016-12-11 08:29:35.637559"]]  (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", 2], ["created_at", "2016-12-11 08:29:35.642456"], ["updated_at", "2016-12-11 08:29:35.642456"]]  (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-12-11 08:29:35.647134"], ["updated_at", "2016-12-11 08:29:35.647134"]]  (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-12-11 08:29:35.651786"], ["updated_at", "2016-12-11 08:29:35.651786"]]  (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", 5], ["created_at", "2016-12-11 08:29:35.656160"], ["updated_at", "2016-12-11 08:29:35.656160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.4ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.3ms) 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  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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-12-11 08:29:37.733621"], ["updated_at", "2016-12-11 08:29:37.733621"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-11 08:29:37.738557"], ["updated_at", "2016-12-11 08:29:37.738557"]]  (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-12-11 08:29:37.742741"], ["updated_at", "2016-12-11 08:29:37.742741"]]  (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-12-11 08:29:37.747024"], ["updated_at", "2016-12-11 08:29:37.747024"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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 ---------------------- TaskTest: test_reindex ---------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.4ms) 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 ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:29:40.052063"], ["updated_at", "2016-12-11 08:29:40.052063"]]  (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", "Les Paul"], ["shop_id", 174], ["created_at", "2016-12-11 08:29:40.053886"], ["updated_at", "2016-12-11 08:29:40.053886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 174], ["created_at", "2016-12-11 08:29:40.059375"], ["updated_at", "2016-12-11 08:29:40.059375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:29:42.083548"], ["updated_at", "2016-12-11 08:29:42.083548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:30:05.852203"], ["updated_at", "2016-12-11 08:30:05.852203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.6ms) 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 ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:31:00.841999"], ["updated_at", "2016-12-11 08:31:00.841999"]]  (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", 177], ["created_at", "2016-12-11 08:31:00.856515"], ["updated_at", "2016-12-11 08:31:00.856515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 177], ["created_at", "2016-12-11 08:31:55.198832"], ["updated_at", "2016-12-11 08:31:55.198832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.4ms) 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.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 -------------------- TaskTest: test_index -------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:32:02.854759"], ["updated_at", "2016-12-11 08:32:02.854759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", 178], ["created_at", "2016-12-11 08:32:02.856783"], ["updated_at", "2016-12-11 08:32:02.856783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.4ms) 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.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:32:25.456209"], ["updated_at", "2016-12-11 08:32:25.456209"]]  (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", "Les Paul"], ["shop_id", 179], ["created_at", "2016-12-11 08:32:25.470092"], ["updated_at", "2016-12-11 08:32:25.470092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 179], ["created_at", "2016-12-11 08:32:25.476645"], ["updated_at", "2016-12-11 08:32:25.476645"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:32:27.505196"], ["updated_at", "2016-12-11 08:32:27.505196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:36:32.207144"], ["updated_at", "2016-12-11 08:36:32.207144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.5ms) 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-12-11 08:36:32.298122"], ["updated_at", "2016-12-11 08:36:32.298122"]]  (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", "Test"], ["shop_id", 182], ["created_at", "2016-12-11 08:36:32.309991"], ["updated_at", "2016-12-11 08:36:32.309991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.4ms) 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-12-11 08:36:34.354043"], ["updated_at", "2016-12-11 08:36:34.354043"]]  (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", 2], ["created_at", "2016-12-11 08:36:34.358675"], ["updated_at", "2016-12-11 08:36:34.358675"]]  (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-12-11 08:36:34.363330"], ["updated_at", "2016-12-11 08:36:34.363330"]]  (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-12-11 08:36:34.368672"], ["updated_at", "2016-12-11 08:36:34.368672"]]  (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", 5], ["created_at", "2016-12-11 08:36:34.373194"], ["updated_at", "2016-12-11 08:36:34.373194"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.5ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.3ms) 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  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:36:36.459068"], ["updated_at", "2016-12-11 08:36:36.459068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 183], ["created_at", "2016-12-11 08:36:36.464895"], ["updated_at", "2016-12-11 08:36:36.464895"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 183], ["created_at", "2016-12-11 08:36:36.470768"], ["updated_at", "2016-12-11 08:36:36.470768"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 183], ["created_at", "2016-12-11 08:36:36.476561"], ["updated_at", "2016-12-11 08:36:36.476561"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:36:38.540441"], ["updated_at", "2016-12-11 08:36:38.540441"]]  (0.2ms) 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", 2], ["created_at", "2016-12-11 08:36:38.545451"], ["updated_at", "2016-12-11 08:36:38.545451"]]  (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-12-11 08:36:38.550307"], ["updated_at", "2016-12-11 08:36:38.550307"]]  (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-12-11 08:36:38.555002"], ["updated_at", "2016-12-11 08:36:38.555002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:36:40.757585"], ["updated_at", "2016-12-11 08:36:40.757585"]]  (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", "Les Paul"], ["shop_id", 184], ["created_at", "2016-12-11 08:36:40.759582"], ["updated_at", "2016-12-11 08:36:40.759582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 184], ["created_at", "2016-12-11 08:36:40.765282"], ["updated_at", "2016-12-11 08:36:40.765282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- 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) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) 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.1ms) 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-12-11 08:36:42.887546"], ["updated_at", "2016-12-11 08:36:42.887546"]]  (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", 185], ["created_at", "2016-12-11 08:36:42.890062"], ["updated_at", "2016-12-11 08:36:42.890062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.5ms) 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.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:37:03.152997"], ["updated_at", "2016-12-11 08:37:03.152997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 186], ["created_at", "2016-12-11 08:37:03.167156"], ["updated_at", "2016-12-11 08:37:03.167156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.5ms) 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.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:37:28.177064"], ["updated_at", "2016-12-11 08:37:28.177064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 187], ["created_at", "2016-12-11 08:37:28.194717"], ["updated_at", "2016-12-11 08:37:28.194717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 187], ["created_at", "2016-12-11 08:37:38.922449"], ["updated_at", "2016-12-11 08:37:38.922449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.6ms) 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.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:38:00.299816"], ["updated_at", "2016-12-11 08:38:00.299816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 188], ["created_at", "2016-12-11 08:38:00.313238"], ["updated_at", "2016-12-11 08:38:00.313238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 188], ["created_at", "2016-12-11 08:38:00.320487"], ["updated_at", "2016-12-11 08:38:00.320487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) 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-12-11 08:38:02.375557"], ["updated_at", "2016-12-11 08:38:02.375557"]]  (0.2ms) 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", 189], ["created_at", "2016-12-11 08:38:02.377520"], ["updated_at", "2016-12-11 08:38:02.377520"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:38:17.191752"], ["updated_at", "2016-12-11 08:38:17.191752"]]  (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", 2], ["created_at", "2016-12-11 08:38:17.196666"], ["updated_at", "2016-12-11 08:38:17.196666"]]  (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-12-11 08:38:17.201269"], ["updated_at", "2016-12-11 08:38:17.201269"]]  (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-12-11 08:38:17.206121"], ["updated_at", "2016-12-11 08:38:17.206121"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:38:26.593317"], ["updated_at", "2016-12-11 08:38:26.593317"]]  (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", 2], ["created_at", "2016-12-11 08:38:26.597867"], ["updated_at", "2016-12-11 08:38:26.597867"]]  (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-12-11 08:38:26.602188"], ["updated_at", "2016-12-11 08:38:26.602188"]]  (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-12-11 08:38:26.606334"], ["updated_at", "2016-12-11 08:38:26.606334"]]  (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", 5], ["created_at", "2016-12-11 08:38:26.611039"], ["updated_at", "2016-12-11 08:38:26.611039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.4ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:38:43.221456"], ["updated_at", "2016-12-11 08:38:43.221456"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 190], ["created_at", "2016-12-11 08:38:43.227001"], ["updated_at", "2016-12-11 08:38:43.227001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 190], ["created_at", "2016-12-11 08:38:43.232514"], ["updated_at", "2016-12-11 08:38:43.232514"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 190], ["created_at", "2016-12-11 08:38:43.238454"], ["updated_at", "2016-12-11 08:38:43.238454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:38:49.704231"], ["updated_at", "2016-12-11 08:38:49.704231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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.1ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:38:51.901002"], ["updated_at", "2016-12-11 08:38:51.901002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", 192], ["created_at", "2016-12-11 08:38:51.902795"], ["updated_at", "2016-12-11 08:38:51.902795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:39:09.157290"], ["updated_at", "2016-12-11 08:39:09.157290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.7ms) 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:39:28.665466"], ["updated_at", "2016-12-11 08:39:28.665466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 194], ["created_at", "2016-12-11 08:39:28.676998"], ["updated_at", "2016-12-11 08:39:28.676998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:39:34.842882"], ["updated_at", "2016-12-11 08:39:34.842882"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 195], ["created_at", "2016-12-11 08:39:34.844984"], ["updated_at", "2016-12-11 08:39:34.844984"]]  (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", "Stratocaster"], ["shop_id", 195], ["created_at", "2016-12-11 08:39:34.850243"], ["updated_at", "2016-12-11 08:39:34.850243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 08:39:36.902855"], ["updated_at", "2016-12-11 08:39:36.902855"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 196], ["created_at", "2016-12-11 08:39:36.904690"], ["updated_at", "2016-12-11 08:39:36.904690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:39:41.705982"], ["updated_at", "2016-12-11 08:39:41.705982"]]  (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", 197], ["created_at", "2016-12-11 08:39:41.711422"], ["updated_at", "2016-12-11 08:39:41.711422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 197], ["created_at", "2016-12-11 08:39:41.716895"], ["updated_at", "2016-12-11 08:39:41.716895"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 197], ["created_at", "2016-12-11 08:39:41.722053"], ["updated_at", "2016-12-11 08:39:41.722053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-12-11 08:39:46.360120"], ["updated_at", "2016-12-11 08:39:46.360120"]]  (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", 2], ["created_at", "2016-12-11 08:39:46.364581"], ["updated_at", "2016-12-11 08:39:46.364581"]]  (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-12-11 08:39:46.369263"], ["updated_at", "2016-12-11 08:39:46.369263"]]  (0.2ms) 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-12-11 08:39:46.374076"], ["updated_at", "2016-12-11 08:39:46.374076"]]  (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", 5], ["created_at", "2016-12-11 08:39:46.378130"], ["updated_at", "2016-12-11 08:39:46.378130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:39:48.452739"], ["updated_at", "2016-12-11 08:39:48.452739"]]  (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-12-11 08:39:48.456888"], ["updated_at", "2016-12-11 08:39:48.456888"]]  (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", 3], ["created_at", "2016-12-11 08:39:48.461135"], ["updated_at", "2016-12-11 08:39:48.461135"]]  (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-12-11 08:39:48.465612"], ["updated_at", "2016-12-11 08:39:48.465612"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- Product Load (0.6ms) 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.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.4ms) 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.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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.3ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:42:59.019547"], ["updated_at", "2016-12-11 08:42:59.019547"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 198], ["created_at", "2016-12-11 08:42:59.033509"], ["updated_at", "2016-12-11 08:42:59.033509"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.5ms) 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.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:43:09.582352"], ["updated_at", "2016-12-11 08:43:09.582352"]]  (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", 199], ["created_at", "2016-12-11 08:43:09.596366"], ["updated_at", "2016-12-11 08:43:09.596366"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:43:11.638051"], ["updated_at", "2016-12-11 08:43:11.638051"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 200], ["created_at", "2016-12-11 08:43:11.643745"], ["updated_at", "2016-12-11 08:43:11.643745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 200], ["created_at", "2016-12-11 08:43:11.649337"], ["updated_at", "2016-12-11 08:43:11.649337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 200], ["created_at", "2016-12-11 08:43:11.654575"], ["updated_at", "2016-12-11 08:43:11.654575"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:43:13.700753"], ["updated_at", "2016-12-11 08:43:13.700753"]]  (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-12-11 08:43:13.705299"], ["updated_at", "2016-12-11 08:43:13.705299"]]  (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-12-11 08:43:13.709573"], ["updated_at", "2016-12-11 08:43:13.709573"]]  (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-12-11 08:43:13.713936"], ["updated_at", "2016-12-11 08:43:13.713936"]]  (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", 5], ["created_at", "2016-12-11 08:43:13.718435"], ["updated_at", "2016-12-11 08:43:13.718435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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-12-11 08:43:15.790021"], ["updated_at", "2016-12-11 08:43:15.790021"]]  (0.2ms) 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-12-11 08:43:15.794864"], ["updated_at", "2016-12-11 08:43:15.794864"]]  (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-12-11 08:43:15.798944"], ["updated_at", "2016-12-11 08:43:15.798944"]]  (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-12-11 08:43:15.802979"], ["updated_at", "2016-12-11 08:43:15.802979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN -------------------- IndexTest: 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.4ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:43:17.925665"], ["updated_at", "2016-12-11 08:43:17.925665"]]  (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", "Les Paul"], ["shop_id", 201], ["created_at", "2016-12-11 08:43:17.927597"], ["updated_at", "2016-12-11 08:43:17.927597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 201], ["created_at", "2016-12-11 08:43:17.932702"], ["updated_at", "2016-12-11 08:43:17.932702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:43:19.959732"], ["updated_at", "2016-12-11 08:43:19.959732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) 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-12-11 08:43:19.986791"], ["updated_at", "2016-12-11 08:43:19.986791"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", 203], ["created_at", "2016-12-11 08:43:19.988502"], ["updated_at", "2016-12-11 08:43:19.988502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:43:48.219330"], ["updated_at", "2016-12-11 08:43:48.219330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:44:39.265832"], ["updated_at", "2016-12-11 08:44:39.265832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.7ms) 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.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:44:39.370391"], ["updated_at", "2016-12-11 08:44:39.370391"]]  (0.2ms) 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", 2], ["created_at", "2016-12-11 08:44:39.378497"], ["updated_at", "2016-12-11 08:44:39.378497"]]  (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-12-11 08:44:39.384435"], ["updated_at", "2016-12-11 08:44:39.384435"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-12-11 08:44:39.390800"], ["updated_at", "2016-12-11 08:44:39.390800"]]  (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", 5], ["created_at", "2016-12-11 08:44:39.395731"], ["updated_at", "2016-12-11 08:44:39.395731"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.4ms) ROLLBACK  (0.1ms) 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-12-11 08:44:41.467151"], ["updated_at", "2016-12-11 08:44:41.467151"]]  (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", "Test"], ["shop_id", 206], ["created_at", "2016-12-11 08:44:41.479932"], ["updated_at", "2016-12-11 08:44:41.479932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:44:43.526131"], ["updated_at", "2016-12-11 08:44:43.526131"]]  (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-12-11 08:44:43.530638"], ["updated_at", "2016-12-11 08:44:43.530638"]]  (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-12-11 08:44:43.538682"], ["updated_at", "2016-12-11 08:44:43.538682"]]  (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-12-11 08:44:43.543192"], ["updated_at", "2016-12-11 08:44:43.543192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:44:45.596574"], ["updated_at", "2016-12-11 08:44:45.596574"]]  (0.1ms) 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", 207], ["created_at", "2016-12-11 08:44:45.601540"], ["updated_at", "2016-12-11 08:44:45.601540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 207], ["created_at", "2016-12-11 08:44:45.606951"], ["updated_at", "2016-12-11 08:44:45.606951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 207], ["created_at", "2016-12-11 08:44:45.612124"], ["updated_at", "2016-12-11 08:44:45.612124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) 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.1ms) 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-12-11 08:44:47.682654"], ["updated_at", "2016-12-11 08:44:47.682654"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", 208], ["created_at", "2016-12-11 08:44:47.684736"], ["updated_at", "2016-12-11 08:44:47.684736"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:44:49.891783"], ["updated_at", "2016-12-11 08:44:49.891783"]]  (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", "Les Paul"], ["shop_id", 209], ["created_at", "2016-12-11 08:44:49.893734"], ["updated_at", "2016-12-11 08:44:49.893734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 209], ["created_at", "2016-12-11 08:44:49.899541"], ["updated_at", "2016-12-11 08:44:49.899541"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.5ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:46:53.410538"], ["updated_at", "2016-12-11 08:46:53.410538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 210], ["created_at", "2016-12-11 08:46:53.424373"], ["updated_at", "2016-12-11 08:46:53.424373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) 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.1ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:47:03.437096"], ["updated_at", "2016-12-11 08:47:03.437096"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 211], ["created_at", "2016-12-11 08:47:03.442623"], ["updated_at", "2016-12-11 08:47:03.442623"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 211], ["created_at", "2016-12-11 08:47:03.448371"], ["updated_at", "2016-12-11 08:47:03.448371"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 211], ["created_at", "2016-12-11 08:47:03.452991"], ["updated_at", "2016-12-11 08:47:03.452991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-12-11 08:47:07.878937"], ["updated_at", "2016-12-11 08:47:07.878937"]]  (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", 2], ["created_at", "2016-12-11 08:47:07.883484"], ["updated_at", "2016-12-11 08:47:07.883484"]]  (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-12-11 08:47:07.887880"], ["updated_at", "2016-12-11 08:47:07.887880"]]  (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-12-11 08:47:07.892415"], ["updated_at", "2016-12-11 08:47:07.892415"]]  (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", 5], ["created_at", "2016-12-11 08:47:07.896312"], ["updated_at", "2016-12-11 08:47:07.896312"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:47:09.969787"], ["updated_at", "2016-12-11 08:47:09.969787"]]  (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", 2], ["created_at", "2016-12-11 08:47:09.974817"], ["updated_at", "2016-12-11 08:47:09.974817"]]  (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-12-11 08:47:09.980168"], ["updated_at", "2016-12-11 08:47:09.980168"]]  (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-12-11 08:47:09.984962"], ["updated_at", "2016-12-11 08:47:09.984962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.4ms) ROLLBACK  (0.1ms) 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-12-11 08:47:12.038182"], ["updated_at", "2016-12-11 08:47:12.038182"]]  (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", 212], ["created_at", "2016-12-11 08:47:12.040148"], ["updated_at", "2016-12-11 08:47:12.040148"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:47:16.763087"], ["updated_at", "2016-12-11 08:47:16.763087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 213], ["created_at", "2016-12-11 08:47:16.765213"], ["updated_at", "2016-12-11 08:47:16.765213"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 213], ["created_at", "2016-12-11 08:47:16.770735"], ["updated_at", "2016-12-11 08:47:16.770735"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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 ---------------------- TaskTest: test_reindex ---------------------- 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.4ms) 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 ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:47:18.972355"], ["updated_at", "2016-12-11 08:47:18.972355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.5ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:47:36.460258"], ["updated_at", "2016-12-11 08:47:36.460258"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 215], ["created_at", "2016-12-11 08:47:36.479011"], ["updated_at", "2016-12-11 08:47:36.479011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 215], ["created_at", "2016-12-11 08:47:36.485029"], ["updated_at", "2016-12-11 08:47:36.485029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 215], ["created_at", "2016-12-11 08:47:36.489777"], ["updated_at", "2016-12-11 08:47:36.489777"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.7ms) 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.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:48:25.098631"], ["updated_at", "2016-12-11 08:48:25.098631"]]  (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", 216], ["created_at", "2016-12-11 08:48:25.113114"], ["updated_at", "2016-12-11 08:48:25.113114"]]  (0.1ms) 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", 216], ["created_at", "2016-12-11 08:48:25.119528"], ["updated_at", "2016-12-11 08:48:25.119528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:48:27.170232"], ["updated_at", "2016-12-11 08:48:27.170232"]]  (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", 217], ["created_at", "2016-12-11 08:48:27.172606"], ["updated_at", "2016-12-11 08:48:27.172606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 -------------------- TaskTest: test_index -------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:48:29.325070"], ["updated_at", "2016-12-11 08:48:29.325070"]]  (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", 2], ["created_at", "2016-12-11 08:48:29.329930"], ["updated_at", "2016-12-11 08:48:29.329930"]]  (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-12-11 08:48:29.334310"], ["updated_at", "2016-12-11 08:48:29.334310"]]  (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-12-11 08:48:29.342268"], ["updated_at", "2016-12-11 08:48:29.342268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) 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.4ms) 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-12-11 08:48:31.395069"], ["updated_at", "2016-12-11 08:48:31.395069"]]  (0.1ms) 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", "Test"], ["shop_id", 218], ["created_at", "2016-12-11 08:48:31.397511"], ["updated_at", "2016-12-11 08:48:31.397511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 08:48:33.439613"], ["updated_at", "2016-12-11 08:48:33.439613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 219], ["created_at", "2016-12-11 08:48:33.445744"], ["updated_at", "2016-12-11 08:48:33.445744"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 219], ["created_at", "2016-12-11 08:48:33.451655"], ["updated_at", "2016-12-11 08:48:33.451655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 219], ["created_at", "2016-12-11 08:48:33.456411"], ["updated_at", "2016-12-11 08:48:33.456411"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.4ms) 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-12-11 08:48:35.501045"], ["updated_at", "2016-12-11 08:48:35.501045"]]  (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-12-11 08:48:35.505351"], ["updated_at", "2016-12-11 08:48:35.505351"]]  (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-12-11 08:48:35.509917"], ["updated_at", "2016-12-11 08:48:35.509917"]]  (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-12-11 08:48:35.514318"], ["updated_at", "2016-12-11 08:48:35.514318"]]  (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", 5], ["created_at", "2016-12-11 08:48:35.518571"], ["updated_at", "2016-12-11 08:48:35.518571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:48:37.560005"], ["updated_at", "2016-12-11 08:48:37.560005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:48:52.395657"], ["updated_at", "2016-12-11 08:48:52.395657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.3ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.4ms) ROLLBACK  (0.4ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:49:56.961029"], ["updated_at", "2016-12-11 08:49:56.961029"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 222], ["created_at", "2016-12-11 08:49:57.003801"], ["updated_at", "2016-12-11 08:49:57.003801"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 222], ["created_at", "2016-12-11 08:49:57.032305"], ["updated_at", "2016-12-11 08:49:57.032305"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 222], ["created_at", "2016-12-11 08:49:57.050549"], ["updated_at", "2016-12-11 08:49:57.050549"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- Product Load (0.5ms) 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.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.4ms) 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 ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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.3ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:50:12.661498"], ["updated_at", "2016-12-11 08:50:12.661498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 223], ["created_at", "2016-12-11 08:50:12.675865"], ["updated_at", "2016-12-11 08:50:12.675865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:50:23.387386"], ["updated_at", "2016-12-11 08:50:23.387386"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.3ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:50:24.218737"], ["updated_at", "2016-12-11 08:50:24.218737"]]  (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", 2], ["created_at", "2016-12-11 08:50:24.223470"], ["updated_at", "2016-12-11 08:50:24.223470"]]  (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-12-11 08:50:24.227742"], ["updated_at", "2016-12-11 08:50:24.227742"]]  (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-12-11 08:50:24.231827"], ["updated_at", "2016-12-11 08:50:24.231827"]]  (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", 5], ["created_at", "2016-12-11 08:50:24.242833"], ["updated_at", "2016-12-11 08:50:24.242833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 08:50:26.315722"], ["updated_at", "2016-12-11 08:50:26.315722"]]  (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", 225], ["created_at", "2016-12-11 08:50:26.317562"], ["updated_at", "2016-12-11 08:50:26.317562"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:50:33.059818"], ["updated_at", "2016-12-11 08:50:33.059818"]]  (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", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 226], ["created_at", "2016-12-11 08:50:33.064502"], ["updated_at", "2016-12-11 08:50:33.064502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 226], ["created_at", "2016-12-11 08:50:33.070297"], ["updated_at", "2016-12-11 08:50:33.070297"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 226], ["created_at", "2016-12-11 08:50:33.075098"], ["updated_at", "2016-12-11 08:50:33.075098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:50:43.859353"], ["updated_at", "2016-12-11 08:50:43.859353"]]  (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-12-11 08:50:43.863507"], ["updated_at", "2016-12-11 08:50:43.863507"]]  (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-12-11 08:50:43.868160"], ["updated_at", "2016-12-11 08:50:43.868160"]]  (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-12-11 08:50:43.873042"], ["updated_at", "2016-12-11 08:50:43.873042"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:50:45.925325"], ["updated_at", "2016-12-11 08:50:45.925325"]]  (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", "Les Paul"], ["shop_id", 227], ["created_at", "2016-12-11 08:50:45.927508"], ["updated_at", "2016-12-11 08:50:45.927508"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 227], ["created_at", "2016-12-11 08:50:45.933170"], ["updated_at", "2016-12-11 08:50:45.933170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.5ms) 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.5ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:52:07.604023"], ["updated_at", "2016-12-11 08:52:07.604023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 228], ["created_at", "2016-12-11 08:52:07.617458"], ["updated_at", "2016-12-11 08:52:07.617458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:52:09.644389"], ["updated_at", "2016-12-11 08:52:09.644389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.4ms) 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 ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:52:09.748025"], ["updated_at", "2016-12-11 08:52:09.748025"]]  (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", "Les Paul"], ["shop_id", 230], ["created_at", "2016-12-11 08:52:09.749769"], ["updated_at", "2016-12-11 08:52:09.749769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 230], ["created_at", "2016-12-11 08:52:09.755512"], ["updated_at", "2016-12-11 08:52:09.755512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 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.1ms) 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-12-11 08:52:11.977996"], ["updated_at", "2016-12-11 08:52:11.977996"]]  (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", 231], ["created_at", "2016-12-11 08:52:11.980373"], ["updated_at", "2016-12-11 08:52:11.980373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.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-12-11 08:52:14.025818"], ["updated_at", "2016-12-11 08:52:14.025818"]]  (0.2ms) 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", 2], ["created_at", "2016-12-11 08:52:14.031196"], ["updated_at", "2016-12-11 08:52:14.031196"]]  (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-12-11 08:52:14.035841"], ["updated_at", "2016-12-11 08:52:14.035841"]]  (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-12-11 08:52:14.040509"], ["updated_at", "2016-12-11 08:52:14.040509"]]  (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", 5], ["created_at", "2016-12-11 08:52:14.044894"], ["updated_at", "2016-12-11 08:52:14.044894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:52:16.116326"], ["updated_at", "2016-12-11 08:52:16.116326"]]  (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", 2], ["created_at", "2016-12-11 08:52:16.121301"], ["updated_at", "2016-12-11 08:52:16.121301"]]  (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-12-11 08:52:16.129948"], ["updated_at", "2016-12-11 08:52:16.129948"]]  (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-12-11 08:52:16.134753"], ["updated_at", "2016-12-11 08:52:16.134753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:52:18.184837"], ["updated_at", "2016-12-11 08:52:18.184837"]]  (0.1ms) 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", 232], ["created_at", "2016-12-11 08:52:18.190089"], ["updated_at", "2016-12-11 08:52:18.190089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 232], ["created_at", "2016-12-11 08:52:18.195760"], ["updated_at", "2016-12-11 08:52:18.195760"]]  (0.1ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 232], ["created_at", "2016-12-11 08:52:18.206613"], ["updated_at", "2016-12-11 08:52:18.206613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 Product Load (0.4ms) 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.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 08:52:30.367854"], ["updated_at", "2016-12-11 08:52:30.367854"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 233], ["created_at", "2016-12-11 08:52:30.383141"], ["updated_at", "2016-12-11 08:52:30.383141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:53:19.551179"], ["updated_at", "2016-12-11 08:53:19.551179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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-12-11 08:53:21.777500"], ["updated_at", "2016-12-11 08:53:21.777500"]]  (0.1ms) 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", 235], ["created_at", "2016-12-11 08:53:21.783199"], ["updated_at", "2016-12-11 08:53:21.783199"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 235], ["created_at", "2016-12-11 08:53:21.788865"], ["updated_at", "2016-12-11 08:53:21.788865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 235], ["created_at", "2016-12-11 08:53:21.793620"], ["updated_at", "2016-12-11 08:53:21.793620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:53:26.872922"], ["updated_at", "2016-12-11 08:53:26.872922"]]  (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", 2], ["created_at", "2016-12-11 08:53:26.877226"], ["updated_at", "2016-12-11 08:53:26.877226"]]  (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-12-11 08:53:26.882302"], ["updated_at", "2016-12-11 08:53:26.882302"]]  (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-12-11 08:53:26.886906"], ["updated_at", "2016-12-11 08:53:26.886906"]]  (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", 5], ["created_at", "2016-12-11 08:53:26.890727"], ["updated_at", "2016-12-11 08:53:26.890727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 08:53:28.967830"], ["updated_at", "2016-12-11 08:53:28.967830"]]  (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-12-11 08:53:28.972384"], ["updated_at", "2016-12-11 08:53:28.972384"]]  (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-12-11 08:53:28.977087"], ["updated_at", "2016-12-11 08:53:28.977087"]]  (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-12-11 08:53:28.981194"], ["updated_at", "2016-12-11 08:53:28.981194"]]  (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.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 08:53:31.035312"], ["updated_at", "2016-12-11 08:53:31.035312"]]  (0.2ms) 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", 236], ["created_at", "2016-12-11 08:53:31.037518"], ["updated_at", "2016-12-11 08:53:31.037518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.5ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 09:00:39.436182"], ["updated_at", "2016-12-11 09:00:39.436182"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 237], ["created_at", "2016-12-11 09:00:39.454956"], ["updated_at", "2016-12-11 09:00:39.454956"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 09:00:41.521817"], ["updated_at", "2016-12-11 09:00:41.521817"]]  (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", 238], ["created_at", "2016-12-11 09:00:41.523669"], ["updated_at", "2016-12-11 09:00:41.523669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:00:43.590081"], ["updated_at", "2016-12-11 09:00:43.590081"]]  (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", 239], ["created_at", "2016-12-11 09:00:43.596049"], ["updated_at", "2016-12-11 09:00:43.596049"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 239], ["created_at", "2016-12-11 09:00:43.601869"], ["updated_at", "2016-12-11 09:00:43.601869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 239], ["created_at", "2016-12-11 09:00:43.606278"], ["updated_at", "2016-12-11 09:00:43.606278"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.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-12-11 09:00:45.651827"], ["updated_at", "2016-12-11 09:00:45.651827"]]  (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-12-11 09:00:45.656450"], ["updated_at", "2016-12-11 09:00:45.656450"]]  (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", 3], ["created_at", "2016-12-11 09:00:45.660583"], ["updated_at", "2016-12-11 09:00:45.660583"]]  (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-12-11 09:00:45.664707"], ["updated_at", "2016-12-11 09:00:45.664707"]]  (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", 5], ["created_at", "2016-12-11 09:00:45.669125"], ["updated_at", "2016-12-11 09:00:45.669125"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 09:00:47.747881"], ["updated_at", "2016-12-11 09:00:47.747881"]]  (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-12-11 09:00:47.751970"], ["updated_at", "2016-12-11 09:00:47.751970"]]  (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-12-11 09:00:47.756975"], ["updated_at", "2016-12-11 09:00:47.756975"]]  (0.2ms) 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-12-11 09:00:47.761441"], ["updated_at", "2016-12-11 09:00:47.761441"]]  (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.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:00:49.790188"], ["updated_at", "2016-12-11 09:00:49.790188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:00:49.850995"], ["updated_at", "2016-12-11 09:00:49.850995"]]  (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", "Les Paul"], ["shop_id", 241], ["created_at", "2016-12-11 09:00:49.853083"], ["updated_at", "2016-12-11 09:00:49.853083"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 241], ["created_at", "2016-12-11 09:00:49.858532"], ["updated_at", "2016-12-11 09:00:49.858532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.4ms) 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 ---------------------- TaskTest: test_reindex ---------------------- 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 Product Load (0.4ms) 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 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.5ms) 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.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.4ms) 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-12-11 09:01:15.454428"], ["updated_at", "2016-12-11 09:01:15.454428"]]  (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", 242], ["created_at", "2016-12-11 09:01:15.468484"], ["updated_at", "2016-12-11 09:01:15.468484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 242], ["created_at", "2016-12-11 09:01:15.474468"], ["updated_at", "2016-12-11 09:01:15.474468"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) 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-12-11 09:01:17.524484"], ["updated_at", "2016-12-11 09:01:17.524484"]]  (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", 243], ["created_at", "2016-12-11 09:01:17.526142"], ["updated_at", "2016-12-11 09:01:17.526142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:01:19.569032"], ["updated_at", "2016-12-11 09:01:19.569032"]]  (0.1ms) 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", 244], ["created_at", "2016-12-11 09:01:19.574544"], ["updated_at", "2016-12-11 09:01:19.574544"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 244], ["created_at", "2016-12-11 09:01:19.579933"], ["updated_at", "2016-12-11 09:01:19.579933"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 244], ["created_at", "2016-12-11 09:01:19.584468"], ["updated_at", "2016-12-11 09:01:19.584468"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.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-12-11 09:01:21.629584"], ["updated_at", "2016-12-11 09:01:21.629584"]]  (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", 2], ["created_at", "2016-12-11 09:01:21.634255"], ["updated_at", "2016-12-11 09:01:21.634255"]]  (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-12-11 09:01:21.638491"], ["updated_at", "2016-12-11 09:01:21.638491"]]  (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-12-11 09:01:21.642812"], ["updated_at", "2016-12-11 09:01:21.642812"]]  (0.2ms) 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", 5], ["created_at", "2016-12-11 09:01:21.647123"], ["updated_at", "2016-12-11 09:01:21.647123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 09:01:23.720387"], ["updated_at", "2016-12-11 09:01:23.720387"]]  (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", 2], ["created_at", "2016-12-11 09:01:23.725089"], ["updated_at", "2016-12-11 09:01:23.725089"]]  (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-12-11 09:01:23.729274"], ["updated_at", "2016-12-11 09:01:23.729274"]]  (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-12-11 09:01:23.733543"], ["updated_at", "2016-12-11 09:01:23.733543"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.5ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 09:01:25.810361"], ["updated_at", "2016-12-11 09:01:25.810361"]]  (0.2ms) 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", 245], ["created_at", "2016-12-11 09:01:25.812716"], ["updated_at", "2016-12-11 09:01:25.812716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:01:27.964500"], ["updated_at", "2016-12-11 09:01:27.964500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.4ms) 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 ---------------------- TaskTest: test_reindex ---------------------- 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.4ms) 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.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 09:01:49.530892"], ["updated_at", "2016-12-11 09:01:49.530892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 247], ["created_at", "2016-12-11 09:01:49.544903"], ["updated_at", "2016-12-11 09:01:49.544903"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.4ms) 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.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 09:07:42.842959"], ["updated_at", "2016-12-11 09:07:42.842959"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 248], ["created_at", "2016-12-11 09:07:42.861144"], ["updated_at", "2016-12-11 09:07:42.861144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:08:58.163011"], ["updated_at", "2016-12-11 09:08:58.163011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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.1ms) 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-12-11 09:09:03.543583"], ["updated_at", "2016-12-11 09:09:03.543583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 250], ["created_at", "2016-12-11 09:09:03.556669"], ["updated_at", "2016-12-11 09:09:03.556669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (179, 178)  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 179]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (179, 178)  (0.4ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:09:12.204961"], ["updated_at", "2016-12-11 09:09:12.204961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 251], ["created_at", "2016-12-11 09:09:12.210672"], ["updated_at", "2016-12-11 09:09:12.210672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 251], ["created_at", "2016-12-11 09:09:12.216093"], ["updated_at", "2016-12-11 09:09:12.216093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 251], ["created_at", "2016-12-11 09:09:12.220701"], ["updated_at", "2016-12-11 09:09:12.220701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 09:09:20.114008"], ["updated_at", "2016-12-11 09:09:20.114008"]]  (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", 2], ["created_at", "2016-12-11 09:09:20.118265"], ["updated_at", "2016-12-11 09:09:20.118265"]]  (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-12-11 09:09:20.122650"], ["updated_at", "2016-12-11 09:09:20.122650"]]  (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-12-11 09:09:20.127576"], ["updated_at", "2016-12-11 09:09:20.127576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 09:09:22.181450"], ["updated_at", "2016-12-11 09:09:22.181450"]]  (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", 252], ["created_at", "2016-12-11 09:09:22.183482"], ["updated_at", "2016-12-11 09:09:22.183482"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 180 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (252)  (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.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-12-11 09:09:26.640256"], ["updated_at", "2016-12-11 09:09:26.640256"]]  (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-12-11 09:09:26.644928"], ["updated_at", "2016-12-11 09:09:26.644928"]]  (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-12-11 09:09:26.649331"], ["updated_at", "2016-12-11 09:09:26.649331"]]  (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-12-11 09:09:26.653670"], ["updated_at", "2016-12-11 09:09:26.653670"]]  (0.2ms) 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", 5], ["created_at", "2016-12-11 09:09:26.658095"], ["updated_at", "2016-12-11 09:09:26.658095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:09:28.797399"], ["updated_at", "2016-12-11 09:09:28.797399"]]  (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", "Les Paul"], ["shop_id", 253], ["created_at", "2016-12-11 09:09:28.799618"], ["updated_at", "2016-12-11 09:09:28.799618"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 253], ["created_at", "2016-12-11 09:09:28.805277"], ["updated_at", "2016-12-11 09:09:28.805277"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.4ms) 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 ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 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) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.4ms) 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 ---------------------- TaskTest: test_reindex ---------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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.3ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 09:09:36.556741"], ["updated_at", "2016-12-11 09:09:36.556741"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 254], ["created_at", "2016-12-11 09:09:36.570714"], ["updated_at", "2016-12-11 09:09:36.570714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 183  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 183]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 183  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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 -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:09:38.724442"], ["updated_at", "2016-12-11 09:09:38.724442"]]  (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", "Les Paul"], ["shop_id", 255], ["created_at", "2016-12-11 09:09:38.726233"], ["updated_at", "2016-12-11 09:09:38.726233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 255], ["created_at", "2016-12-11 09:09:38.731366"], ["updated_at", "2016-12-11 09:09:38.731366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:09:40.778097"], ["updated_at", "2016-12-11 09:09:40.778097"]]  (0.1ms) 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", 256], ["created_at", "2016-12-11 09:09:40.783092"], ["updated_at", "2016-12-11 09:09:40.783092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 256], ["created_at", "2016-12-11 09:09:40.788592"], ["updated_at", "2016-12-11 09:09:40.788592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 256], ["created_at", "2016-12-11 09:09:40.793841"], ["updated_at", "2016-12-11 09:09:40.793841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.3ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 09:09:42.868790"], ["updated_at", "2016-12-11 09:09:42.868790"]]  (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", 2], ["created_at", "2016-12-11 09:09:42.873101"], ["updated_at", "2016-12-11 09:09:42.873101"]]  (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", 3], ["created_at", "2016-12-11 09:09:42.876959"], ["updated_at", "2016-12-11 09:09:42.876959"]]  (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", 4], ["created_at", "2016-12-11 09:09:42.881300"], ["updated_at", "2016-12-11 09:09:42.881300"]]  (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", 5], ["created_at", "2016-12-11 09:09:42.885944"], ["updated_at", "2016-12-11 09:09:42.885944"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 09:09:44.955936"], ["updated_at", "2016-12-11 09:09:44.955936"]]  (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", 2], ["created_at", "2016-12-11 09:09:44.960660"], ["updated_at", "2016-12-11 09:09:44.960660"]]  (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-12-11 09:09:44.964609"], ["updated_at", "2016-12-11 09:09:44.964609"]]  (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-12-11 09:09:44.968928"], ["updated_at", "2016-12-11 09:09:44.968928"]]  (6.0ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 09:09:47.028432"], ["updated_at", "2016-12-11 09:09:47.028432"]]  (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", 257], ["created_at", "2016-12-11 09:09:47.030746"], ["updated_at", "2016-12-11 09:09:47.030746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 186 Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (257)  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:09:49.070500"], ["updated_at", "2016-12-11 09:09:49.070500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.7ms) 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.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.4ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:10:52.600721"], ["updated_at", "2016-12-11 09:10:52.600721"]]  (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", "Les Paul"], ["shop_id", 259], ["created_at", "2016-12-11 09:10:52.615411"], ["updated_at", "2016-12-11 09:10:52.615411"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 259], ["created_at", "2016-12-11 09:10:52.620883"], ["updated_at", "2016-12-11 09:10:52.620883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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 ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:10:54.756210"], ["updated_at", "2016-12-11 09:10:54.756210"]]  (0.2ms) 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", 260], ["created_at", "2016-12-11 09:10:54.758138"], ["updated_at", "2016-12-11 09:10:54.758138"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 189 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (260)  (0.3ms) 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.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-12-11 09:10:56.813939"], ["updated_at", "2016-12-11 09:10:56.813939"]]  (0.2ms) 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", 2], ["created_at", "2016-12-11 09:10:56.818981"], ["updated_at", "2016-12-11 09:10:56.818981"]]  (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-12-11 09:10:56.823673"], ["updated_at", "2016-12-11 09:10:56.823673"]]  (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-12-11 09:10:56.828121"], ["updated_at", "2016-12-11 09:10:56.828121"]]  (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", 5], ["created_at", "2016-12-11 09:10:56.832388"], ["updated_at", "2016-12-11 09:10:56.832388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 09:10:58.905222"], ["updated_at", "2016-12-11 09:10:58.905222"]]  (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-12-11 09:10:58.909368"], ["updated_at", "2016-12-11 09:10:58.909368"]]  (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", 3], ["created_at", "2016-12-11 09:10:58.913555"], ["updated_at", "2016-12-11 09:10:58.913555"]]  (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-12-11 09:10:58.917941"], ["updated_at", "2016-12-11 09:10:58.917941"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:11:00.966193"], ["updated_at", "2016-12-11 09:11:00.966193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 261], ["created_at", "2016-12-11 09:11:00.971225"], ["updated_at", "2016-12-11 09:11:00.971225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 261], ["created_at", "2016-12-11 09:11:00.976739"], ["updated_at", "2016-12-11 09:11:00.976739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 261], ["created_at", "2016-12-11 09:11:00.981508"], ["updated_at", "2016-12-11 09:11:00.981508"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:11:03.037744"], ["updated_at", "2016-12-11 09:11:03.037744"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 09:11:03.066741"], ["updated_at", "2016-12-11 09:11:03.066741"]]  (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", 263], ["created_at", "2016-12-11 09:11:03.069023"], ["updated_at", "2016-12-11 09:11:03.069023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 190  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 190]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 190  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.6ms) 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.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexTest: 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:12:23.345910"], ["updated_at", "2016-12-11 09:12:23.345910"]]  (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", 264], ["created_at", "2016-12-11 09:12:23.361926"], ["updated_at", "2016-12-11 09:12:23.361926"]]  (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", "Stratocaster"], ["shop_id", 264], ["created_at", "2016-12-11 09:12:23.368147"], ["updated_at", "2016-12-11 09:12:23.368147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) 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-12-11 09:12:25.444126"], ["updated_at", "2016-12-11 09:12:25.444126"]]  (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", 265], ["created_at", "2016-12-11 09:12:25.446463"], ["updated_at", "2016-12-11 09:12:25.446463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 193  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 193]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 193  (0.3ms) 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.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-12-11 09:12:27.513863"], ["updated_at", "2016-12-11 09:12:27.513863"]]  (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-12-11 09:12:27.519066"], ["updated_at", "2016-12-11 09:12:27.519066"]]  (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-12-11 09:12:27.524013"], ["updated_at", "2016-12-11 09:12:27.524013"]]  (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-12-11 09:12:27.528612"], ["updated_at", "2016-12-11 09:12:27.528612"]]  (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", 5], ["created_at", "2016-12-11 09:12:27.533342"], ["updated_at", "2016-12-11 09:12:27.533342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:12:29.605302"], ["updated_at", "2016-12-11 09:12:29.605302"]]  (0.1ms) 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", 266], ["created_at", "2016-12-11 09:12:29.610433"], ["updated_at", "2016-12-11 09:12:29.610433"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 266], ["created_at", "2016-12-11 09:12:29.615658"], ["updated_at", "2016-12-11 09:12:29.615658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 266], ["created_at", "2016-12-11 09:12:29.620684"], ["updated_at", "2016-12-11 09:12:29.620684"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 09:12:31.694313"], ["updated_at", "2016-12-11 09:12:31.694313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-11 09:12:31.698476"], ["updated_at", "2016-12-11 09:12:31.698476"]]  (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-12-11 09:12:31.702788"], ["updated_at", "2016-12-11 09:12:31.702788"]]  (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-12-11 09:12:31.706806"], ["updated_at", "2016-12-11 09:12:31.706806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 09:12:33.758973"], ["updated_at", "2016-12-11 09:12:33.758973"]]  (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", 267], ["created_at", "2016-12-11 09:12:33.761020"], ["updated_at", "2016-12-11 09:12:33.761020"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 194 Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (267)  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:12:35.787978"], ["updated_at", "2016-12-11 09:12:35.787978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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 ---------------------- TaskTest: test_reindex ---------------------- 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 ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.6ms) 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 09:13:51.174209"], ["updated_at", "2016-12-11 09:13:51.174209"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 269], ["created_at", "2016-12-11 09:13:51.188778"], ["updated_at", "2016-12-11 09:13:51.188778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 195  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 195]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 195  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:13:53.315342"], ["updated_at", "2016-12-11 09:13:53.315342"]]  (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", "Les Paul"], ["shop_id", 270], ["created_at", "2016-12-11 09:13:53.317542"], ["updated_at", "2016-12-11 09:13:53.317542"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 270], ["created_at", "2016-12-11 09:13:53.323205"], ["updated_at", "2016-12-11 09:13:53.323205"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.4ms) 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.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 ---------------------- TaskTest: test_unindex ----------------------  (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.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 09:13:55.567903"], ["updated_at", "2016-12-11 09:13:55.567903"]]  (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-12-11 09:13:55.573476"], ["updated_at", "2016-12-11 09:13:55.573476"]]  (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-12-11 09:13:55.578091"], ["updated_at", "2016-12-11 09:13:55.578091"]]  (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-12-11 09:13:55.582696"], ["updated_at", "2016-12-11 09:13:55.582696"]]  (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", 5], ["created_at", "2016-12-11 09:13:55.587134"], ["updated_at", "2016-12-11 09:13:55.587134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 09:13:57.658912"], ["updated_at", "2016-12-11 09:13:57.658912"]]  (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", 271], ["created_at", "2016-12-11 09:13:57.661167"], ["updated_at", "2016-12-11 09:13:57.661167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 198 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (271)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 09:13:59.715161"], ["updated_at", "2016-12-11 09:13:59.715161"]]  (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-12-11 09:13:59.719748"], ["updated_at", "2016-12-11 09:13:59.719748"]]  (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-12-11 09:13:59.723762"], ["updated_at", "2016-12-11 09:13:59.723762"]]  (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", 4], ["created_at", "2016-12-11 09:13:59.727967"], ["updated_at", "2016-12-11 09:13:59.727967"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:14:01.775303"], ["updated_at", "2016-12-11 09:14:01.775303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 272], ["created_at", "2016-12-11 09:14:01.780738"], ["updated_at", "2016-12-11 09:14:01.780738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 272], ["created_at", "2016-12-11 09:14:01.786124"], ["updated_at", "2016-12-11 09:14:01.786124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 272], ["created_at", "2016-12-11 09:14:01.790888"], ["updated_at", "2016-12-11 09:14:01.790888"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:14:03.858080"], ["updated_at", "2016-12-11 09:14:03.858080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.9ms) 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 ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:14:30.055920"], ["updated_at", "2016-12-11 09:14:30.055920"]]  (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", 274], ["created_at", "2016-12-11 09:14:30.074389"], ["updated_at", "2016-12-11 09:14:30.074389"]]  (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", "Stratocaster"], ["shop_id", 274], ["created_at", "2016-12-11 09:14:30.097021"], ["updated_at", "2016-12-11 09:14:30.097021"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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 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.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 09:14:32.286983"], ["updated_at", "2016-12-11 09:14:32.286983"]]  (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", 275], ["created_at", "2016-12-11 09:14:32.289421"], ["updated_at", "2016-12-11 09:14:32.289421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:14:34.310783"], ["updated_at", "2016-12-11 09:14:34.310783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:14:34.363544"], ["updated_at", "2016-12-11 09:14:34.363544"]]  (0.1ms) 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", 277], ["created_at", "2016-12-11 09:14:34.368501"], ["updated_at", "2016-12-11 09:14:34.368501"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 277], ["created_at", "2016-12-11 09:14:34.374164"], ["updated_at", "2016-12-11 09:14:34.374164"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 277], ["created_at", "2016-12-11 09:14:34.379041"], ["updated_at", "2016-12-11 09:14:34.379041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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-12-11 09:14:36.419136"], ["updated_at", "2016-12-11 09:14:36.419136"]]  (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-12-11 09:14:36.423985"], ["updated_at", "2016-12-11 09:14:36.423985"]]  (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", 3], ["created_at", "2016-12-11 09:14:36.429290"], ["updated_at", "2016-12-11 09:14:36.429290"]]  (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", 4], ["created_at", "2016-12-11 09:14:36.434010"], ["updated_at", "2016-12-11 09:14:36.434010"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.4ms) ROLLBACK  (0.1ms) 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-12-11 09:14:38.490784"], ["updated_at", "2016-12-11 09:14:38.490784"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 278], ["created_at", "2016-12-11 09:14:38.492451"], ["updated_at", "2016-12-11 09:14:38.492451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.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-12-11 09:14:40.534995"], ["updated_at", "2016-12-11 09:14:40.534995"]]  (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", 2], ["created_at", "2016-12-11 09:14:40.540651"], ["updated_at", "2016-12-11 09:14:40.540651"]]  (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", 3], ["created_at", "2016-12-11 09:14:40.545237"], ["updated_at", "2016-12-11 09:14:40.545237"]]  (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-12-11 09:14:40.549110"], ["updated_at", "2016-12-11 09:14:40.549110"]]  (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", 5], ["created_at", "2016-12-11 09:14:40.553685"], ["updated_at", "2016-12-11 09:14:40.553685"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.3ms) 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  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.5ms) 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.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 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 ------------------------- GeneratorTest: test_index -------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) 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.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:15:28.153737"], ["updated_at", "2016-12-11 09:15:28.153737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 279], ["created_at", "2016-12-11 09:15:28.173318"], ["updated_at", "2016-12-11 09:15:28.173318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 203 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (279)  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:15:30.247990"], ["updated_at", "2016-12-11 09:15:30.247990"]]  (0.1ms) 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", 280], ["created_at", "2016-12-11 09:15:30.253248"], ["updated_at", "2016-12-11 09:15:30.253248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 280], ["created_at", "2016-12-11 09:15:30.258677"], ["updated_at", "2016-12-11 09:15:30.258677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 280], ["created_at", "2016-12-11 09:15:30.263681"], ["updated_at", "2016-12-11 09:15:30.263681"]]  (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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 09:15:32.336308"], ["updated_at", "2016-12-11 09:15:32.336308"]]  (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-12-11 09:15:32.340644"], ["updated_at", "2016-12-11 09:15:32.340644"]]  (0.2ms) 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-12-11 09:15:32.345263"], ["updated_at", "2016-12-11 09:15:32.345263"]]  (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-12-11 09:15:32.349466"], ["updated_at", "2016-12-11 09:15:32.349466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 09:15:34.400599"], ["updated_at", "2016-12-11 09:15:34.400599"]]  (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-12-11 09:15:34.404637"], ["updated_at", "2016-12-11 09:15:34.404637"]]  (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", 3], ["created_at", "2016-12-11 09:15:34.408444"], ["updated_at", "2016-12-11 09:15:34.408444"]]  (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-12-11 09:15:34.412716"], ["updated_at", "2016-12-11 09:15:34.412716"]]  (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", 5], ["created_at", "2016-12-11 09:15:34.416932"], ["updated_at", "2016-12-11 09:15:34.416932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.3ms) 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  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:15:36.521881"], ["updated_at", "2016-12-11 09:15:36.521881"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 281], ["created_at", "2016-12-11 09:15:36.524217"], ["updated_at", "2016-12-11 09:15:36.524217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (5.7ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 281], ["created_at", "2016-12-11 09:15:36.529792"], ["updated_at", "2016-12-11 09:15:36.529792"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 09:15:38.625214"], ["updated_at", "2016-12-11 09:15:38.625214"]]  (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", 282], ["created_at", "2016-12-11 09:15:38.627228"], ["updated_at", "2016-12-11 09:15:38.627228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 206  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 206]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 206  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:15:40.667362"], ["updated_at", "2016-12-11 09:15:40.667362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.6ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:15:54.185870"], ["updated_at", "2016-12-11 09:15:54.185870"]]  (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", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 284], ["created_at", "2016-12-11 09:15:54.203087"], ["updated_at", "2016-12-11 09:15:54.203087"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 284], ["created_at", "2016-12-11 09:15:54.209393"], ["updated_at", "2016-12-11 09:15:54.209393"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 284], ["created_at", "2016-12-11 09:15:54.213920"], ["updated_at", "2016-12-11 09:15:54.213920"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 09:15:56.255715"], ["updated_at", "2016-12-11 09:15:56.255715"]]  (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", 2], ["created_at", "2016-12-11 09:15:56.260027"], ["updated_at", "2016-12-11 09:15:56.260027"]]  (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", 3], ["created_at", "2016-12-11 09:15:56.264364"], ["updated_at", "2016-12-11 09:15:56.264364"]]  (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-12-11 09:15:56.268875"], ["updated_at", "2016-12-11 09:15:56.268875"]]  (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", 5], ["created_at", "2016-12-11 09:15:56.272659"], ["updated_at", "2016-12-11 09:15:56.272659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 09:15:58.343610"], ["updated_at", "2016-12-11 09:15:58.343610"]]  (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", 2], ["created_at", "2016-12-11 09:15:58.348212"], ["updated_at", "2016-12-11 09:15:58.348212"]]  (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-12-11 09:15:58.352327"], ["updated_at", "2016-12-11 09:15:58.352327"]]  (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-12-11 09:15:58.356543"], ["updated_at", "2016-12-11 09:15:58.356543"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:16:00.410051"], ["updated_at", "2016-12-11 09:16:00.410051"]]  (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", "Test"], ["shop_id", 285], ["created_at", "2016-12-11 09:16:00.412226"], ["updated_at", "2016-12-11 09:16:00.412226"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 09:16:02.462279"], ["updated_at", "2016-12-11 09:16:02.462279"]]  (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", 286], ["created_at", "2016-12-11 09:16:02.464311"], ["updated_at", "2016-12-11 09:16:02.464311"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.4ms) 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 ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:16:04.605527"], ["updated_at", "2016-12-11 09:16:04.605527"]]  (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", "Les Paul"], ["shop_id", 287], ["created_at", "2016-12-11 09:16:04.607728"], ["updated_at", "2016-12-11 09:16:04.607728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 287], ["created_at", "2016-12-11 09:16:04.613228"], ["updated_at", "2016-12-11 09:16:04.613228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.6ms) 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.5ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:16:09.484252"], ["updated_at", "2016-12-11 09:16:09.484252"]]  (0.1ms) 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", "Les Paul"], ["shop_id", 288], ["created_at", "2016-12-11 09:16:09.497872"], ["updated_at", "2016-12-11 09:16:09.497872"]]  (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", "Stratocaster"], ["shop_id", 288], ["created_at", "2016-12-11 09:16:09.503928"], ["updated_at", "2016-12-11 09:16:09.503928"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 09:16:11.553508"], ["updated_at", "2016-12-11 09:16:11.553508"]]  (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-12-11 09:16:11.558396"], ["updated_at", "2016-12-11 09:16:11.558396"]]  (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", 3], ["created_at", "2016-12-11 09:16:11.563479"], ["updated_at", "2016-12-11 09:16:11.563479"]]  (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-12-11 09:16:11.569040"], ["updated_at", "2016-12-11 09:16:11.569040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:16:13.624207"], ["updated_at", "2016-12-11 09:16:13.624207"]]  (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", 289], ["created_at", "2016-12-11 09:16:13.626476"], ["updated_at", "2016-12-11 09:16:13.626476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:17:38.126778"], ["updated_at", "2016-12-11 09:17:38.126778"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:17:38.410518"], ["updated_at", "2016-12-11 09:17:38.410518"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "Les Paul"], ["shop_id", 291], ["created_at", "2016-12-11 09:17:38.424573"], ["updated_at", "2016-12-11 09:17:38.424573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 291], ["created_at", "2016-12-11 09:17:38.430555"], ["updated_at", "2016-12-11 09:17:38.430555"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) 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.1ms) 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-12-11 09:17:40.478425"], ["updated_at", "2016-12-11 09:17:40.478425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 292], ["created_at", "2016-12-11 09:17:40.480998"], ["updated_at", "2016-12-11 09:17:40.480998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 216  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 216]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 216  (0.3ms) 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-12-11 09:17:42.545776"], ["updated_at", "2016-12-11 09:17:42.545776"]]  (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", 2], ["created_at", "2016-12-11 09:17:42.550600"], ["updated_at", "2016-12-11 09:17:42.550600"]]  (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-12-11 09:17:42.554952"], ["updated_at", "2016-12-11 09:17:42.554952"]]  (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", 4], ["created_at", "2016-12-11 09:17:42.559144"], ["updated_at", "2016-12-11 09:17:42.559144"]]  (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", 5], ["created_at", "2016-12-11 09:17:42.563387"], ["updated_at", "2016-12-11 09:17:42.563387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 09:17:44.632629"], ["updated_at", "2016-12-11 09:17:44.632629"]]  (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", 293], ["created_at", "2016-12-11 09:17:44.634454"], ["updated_at", "2016-12-11 09:17:44.634454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 217 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (293)  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 09:17:46.693472"], ["updated_at", "2016-12-11 09:17:46.693472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", 294], ["created_at", "2016-12-11 09:17:46.698610"], ["updated_at", "2016-12-11 09:17:46.698610"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 294], ["created_at", "2016-12-11 09:17:46.704043"], ["updated_at", "2016-12-11 09:17:46.704043"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 294], ["created_at", "2016-12-11 09:17:46.709056"], ["updated_at", "2016-12-11 09:17:46.709056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 09:17:48.793436"], ["updated_at", "2016-12-11 09:17:48.793436"]]  (0.2ms) 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", 2], ["created_at", "2016-12-11 09:17:48.798460"], ["updated_at", "2016-12-11 09:17:48.798460"]]  (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-12-11 09:17:48.803520"], ["updated_at", "2016-12-11 09:17:48.803520"]]  (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-12-11 09:17:48.808080"], ["updated_at", "2016-12-11 09:17:48.808080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.5ms) 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.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 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 ------------------------- GeneratorTest: test_index -------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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.3ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 09:18:04.176308"], ["updated_at", "2016-12-11 09:18:04.176308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 295], ["created_at", "2016-12-11 09:18:04.189420"], ["updated_at", "2016-12-11 09:18:04.189420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (6.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 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.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- 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) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 21:45:33.477163"], ["updated_at", "2016-12-11 21:45:33.477163"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 296], ["created_at", "2016-12-11 21:45:33.494670"], ["updated_at", "2016-12-11 21:45:33.494670"]]  (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", "Stratocaster"], ["shop_id", 296], ["created_at", "2016-12-11 21:45:33.512472"], ["updated_at", "2016-12-11 21:45:33.512472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 21:45:35.553077"], ["updated_at", "2016-12-11 21:45:35.553077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 21:45:35.595472"], ["updated_at", "2016-12-11 21:45:35.595472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-12-11 21:45:35.600472"], ["updated_at", "2016-12-11 21:45:35.600472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-12-11 21:45:35.605307"], ["updated_at", "2016-12-11 21:45:35.605307"]]  (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-12-11 21:45:35.610091"], ["updated_at", "2016-12-11 21:45:35.610091"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) 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-12-11 21:45:37.665244"], ["updated_at", "2016-12-11 21:45:37.665244"]]  (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", 298], ["created_at", "2016-12-11 21:45:37.667330"], ["updated_at", "2016-12-11 21:45:37.667330"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 221 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (298)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- Product Load (0.4ms) 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 21:45:39.731879"], ["updated_at", "2016-12-11 21:45:39.731879"]]  (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", 299], ["created_at", "2016-12-11 21:45:39.737313"], ["updated_at", "2016-12-11 21:45:39.737313"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 299], ["created_at", "2016-12-11 21:45:39.743185"], ["updated_at", "2016-12-11 21:45:39.743185"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 299], ["created_at", "2016-12-11 21:45:39.747930"], ["updated_at", "2016-12-11 21:45:39.747930"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.4ms) ROLLBACK  (0.2ms) 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-12-11 21:45:41.815270"], ["updated_at", "2016-12-11 21:45:41.815270"]]  (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", 2], ["created_at", "2016-12-11 21:45:41.820169"], ["updated_at", "2016-12-11 21:45:41.820169"]]  (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-12-11 21:45:41.824532"], ["updated_at", "2016-12-11 21:45:41.824532"]]  (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-12-11 21:45:41.828571"], ["updated_at", "2016-12-11 21:45:41.828571"]]  (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", 5], ["created_at", "2016-12-11 21:45:41.833582"], ["updated_at", "2016-12-11 21:45:41.833582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (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.1ms) 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-12-11 21:45:43.902966"], ["updated_at", "2016-12-11 21:45:43.902966"]]  (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", 300], ["created_at", "2016-12-11 21:45:43.905307"], ["updated_at", "2016-12-11 21:45:43.905307"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 222  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 222]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 222  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.5ms) 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.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 21:46:57.615730"], ["updated_at", "2016-12-11 21:46:57.615730"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 301], ["created_at", "2016-12-11 21:46:57.630806"], ["updated_at", "2016-12-11 21:46:57.630806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 223 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (301)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- SearchTest: test_order ---------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 21:46:59.681602"], ["updated_at", "2016-12-11 21:46:59.681602"]]  (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", 302], ["created_at", "2016-12-11 21:46:59.687198"], ["updated_at", "2016-12-11 21:46:59.687198"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 302], ["created_at", "2016-12-11 21:46:59.692479"], ["updated_at", "2016-12-11 21:46:59.692479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 302], ["created_at", "2016-12-11 21:46:59.697293"], ["updated_at", "2016-12-11 21:46:59.697293"]]  (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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.4ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-11 21:47:01.770107"], ["updated_at", "2016-12-11 21:47:01.770107"]]  (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-12-11 21:47:01.774592"], ["updated_at", "2016-12-11 21:47:01.774592"]]  (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-12-11 21:47:01.779105"], ["updated_at", "2016-12-11 21:47:01.779105"]]  (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-12-11 21:47:01.783842"], ["updated_at", "2016-12-11 21:47:01.783842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) 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-12-11 21:47:03.833914"], ["updated_at", "2016-12-11 21:47:03.833914"]]  (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", 2], ["created_at", "2016-12-11 21:47:03.838921"], ["updated_at", "2016-12-11 21:47:03.838921"]]  (0.2ms) 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-12-11 21:47:03.843370"], ["updated_at", "2016-12-11 21:47:03.843370"]]  (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-12-11 21:47:03.847562"], ["updated_at", "2016-12-11 21:47:03.847562"]]  (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", 5], ["created_at", "2016-12-11 21:47:03.851903"], ["updated_at", "2016-12-11 21:47:03.851903"]]  (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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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.1ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-11 21:47:05.926168"], ["updated_at", "2016-12-11 21:47:05.926168"]]  (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", 303], ["created_at", "2016-12-11 21:47:05.928038"], ["updated_at", "2016-12-11 21:47:05.928038"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 224  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 224]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 224  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 21:47:07.972310"], ["updated_at", "2016-12-11 21:47:07.972310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.1ms) BEGIN -------------------- IndexTest: 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.5ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-11 21:47:08.082782"], ["updated_at", "2016-12-11 21:47:08.082782"]]  (0.2ms) 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", "Les Paul"], ["shop_id", 305], ["created_at", "2016-12-11 21:47:08.085022"], ["updated_at", "2016-12-11 21:47:08.085022"]]  (0.1ms) 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", 305], ["created_at", "2016-12-11 21:47:08.091056"], ["updated_at", "2016-12-11 21:47:08.091056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- Product Load (0.4ms) 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 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.3ms) ROLLBACK  (19.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (15.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateProducts (20161104164148)  (0.1ms) BEGIN  (14.2ms) 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"]]  (11.1ms) COMMIT Migrating to CreateShops (20161104182219)  (5.6ms) BEGIN  (7.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.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.7ms) 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.9ms) 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  (178.1ms) DROP DATABASE IF EXISTS "indexers_test"  (371.0ms) CREATE DATABASE "indexers_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.1ms) 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)  (2.6ms) CREATE TABLE "shops" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20161104182219')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20161104164148') ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- SearchTest: test_includes -------------------------  (0.2ms) SAVEPOINT active_record_1 ---------------------- SearchTest: test_order ----------------------  (0.1ms) SAVEPOINT active_record_2 --------------------------- SearchTest: test_pagination ---------------------------  (0.1ms) SAVEPOINT active_record_3 --------------------------------- SearchTest: test_with_and_without ---------------------------------  (0.1ms) SAVEPOINT active_record_4 --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK TO SAVEPOINT active_record_4  (0.1ms) SAVEPOINT active_record_4 ------------------------- GeneratorTest: test_index -------------------------  (0.1ms) ROLLBACK TO SAVEPOINT active_record_4  (0.1ms) SAVEPOINT active_record_4 ------------------------- RecordTest: test_indexing -------------------------  (0.1ms) SAVEPOINT active_record_5 -------------------- IndexTest: test_find --------------------  (0.1ms) SAVEPOINT active_record_6 ------------------------- IndexTest: test_namespace -------------------------  (0.1ms) SAVEPOINT active_record_7 ----------------------- IndexTest: test_suggest -----------------------  (0.1ms) SAVEPOINT active_record_8 ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) SAVEPOINT active_record_9 -------------------- TaskTest: test_index --------------------  (0.1ms) SAVEPOINT active_record_10 ---------------------- TaskTest: test_reindex ----------------------  (0.2ms) SAVEPOINT active_record_11 -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_12 SQL (0.6ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:38:45.617952"], ["updated_at", "2016-12-13 20:38:45.617952"]]  (0.1ms) RELEASE SAVEPOINT active_record_12  (0.2ms) ROLLBACK TO SAVEPOINT active_record_11 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (2.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-12-13 20:39:16.526656"], ["updated_at", "2016-12-13 20:39:16.526656"]]  (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", "Test"], ["shop_id", 2], ["created_at", "2016-12-13 20:39:16.545124"], ["updated_at", "2016-12-13 20:39:16.545124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2)  (0.3ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:39:18.636749"], ["updated_at", "2016-12-13 20:39:18.636749"]]  (0.1ms) 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", 3], ["created_at", "2016-12-13 20:39:18.642462"], ["updated_at", "2016-12-13 20:39:18.642462"]]  (0.1ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 3], ["created_at", "2016-12-13 20:39:18.649042"], ["updated_at", "2016-12-13 20:39:18.649042"]]  (0.1ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 3], ["created_at", "2016-12-13 20:39:18.654151"], ["updated_at", "2016-12-13 20:39:18.654151"]]  (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.3ms) 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.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (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.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-12-13 20:39:20.735861"], ["updated_at", "2016-12-13 20:39:20.735861"]]  (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", 2], ["created_at", "2016-12-13 20:39:20.740770"], ["updated_at", "2016-12-13 20:39:20.740770"]]  (0.2ms) 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", 3], ["created_at", "2016-12-13 20:39:20.745820"], ["updated_at", "2016-12-13 20:39:20.745820"]]  (0.2ms) 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-12-13 20:39:20.750587"], ["updated_at", "2016-12-13 20:39:20.750587"]]  (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", 5], ["created_at", "2016-12-13 20:39:20.754852"], ["updated_at", "2016-12-13 20:39:20.754852"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) 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  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-13 20:39:22.839245"], ["updated_at", "2016-12-13 20:39:22.839245"]]  (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-12-13 20:39:22.843860"], ["updated_at", "2016-12-13 20:39:22.843860"]]  (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-12-13 20:39:22.848501"], ["updated_at", "2016-12-13 20:39:22.848501"]]  (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-12-13 20:39:22.852989"], ["updated_at", "2016-12-13 20:39:22.852989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:39:24.875507"], ["updated_at", "2016-12-13 20:39:24.875507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- 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 -------------------- TaskTest: test_index -------------------- 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 ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-13 20:39:25.003877"], ["updated_at", "2016-12-13 20:39:25.003877"]]  (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", 5], ["created_at", "2016-12-13 20:39:25.005996"], ["updated_at", "2016-12-13 20:39:25.005996"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 2  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 2  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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 ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.4ms) 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-12-13 20:39:27.172197"], ["updated_at", "2016-12-13 20:39:27.172197"]]  (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", "Les Paul"], ["shop_id", 6], ["created_at", "2016-12-13 20:39:27.174862"], ["updated_at", "2016-12-13 20:39:27.174862"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 6], ["created_at", "2016-12-13 20:39:27.181254"], ["updated_at", "2016-12-13 20:39:27.181254"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.5ms) 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.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-13 20:50:02.905531"], ["updated_at", "2016-12-13 20:50:02.905531"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 7], ["created_at", "2016-12-13 20:50:02.924086"], ["updated_at", "2016-12-13 20:50:02.924086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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 ---------------------- TaskTest: test_reindex ---------------------- Product Load (0.4ms) 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 ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.4ms) 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 ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:50:03.170105"], ["updated_at", "2016-12-13 20:50:03.170105"]]  (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", "Les Paul"], ["shop_id", 8], ["created_at", "2016-12-13 20:50:03.172771"], ["updated_at", "2016-12-13 20:50:03.172771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:50:03.184636"], ["updated_at", "2016-12-13 20:50:03.184636"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-13 20:50:03.228313"], ["updated_at", "2016-12-13 20:50:03.228313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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-12-13 20:50:03.267332"], ["updated_at", "2016-12-13 20:50:03.267332"]]  (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", 10], ["created_at", "2016-12-13 20:50:03.269301"], ["updated_at", "2016-12-13 20:50:03.269301"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:50:03.304520"], ["updated_at", "2016-12-13 20:50:03.304520"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-13 20:50:03.339275"], ["updated_at", "2016-12-13 20:50:03.339275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:50:13.495734"], ["updated_at", "2016-12-13 20:50:13.495734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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.1ms) 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-12-13 20:50:13.647350"], ["updated_at", "2016-12-13 20:50:13.647350"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", 13], ["created_at", "2016-12-13 20:50:13.659496"], ["updated_at", "2016-12-13 20:50:13.659496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" = 8  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 8  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: test_find -------------------- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000  (0.2ms) ROLLBACK  (1.0ms) BEGIN ------------------------- IndexTest: test_namespace ------------------------- Product Load (0.4ms) 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.6ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexTest: test_suggest ----------------------- Product Load (0.4ms) 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-12-13 20:50:16.198618"], ["updated_at", "2016-12-13 20:50:16.198618"]]  (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", "Les Paul"], ["shop_id", 14], ["created_at", "2016-12-13 20:50:16.201203"], ["updated_at", "2016-12-13 20:50:16.201203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 14], ["created_at", "2016-12-13 20:50:16.218866"], ["updated_at", "2016-12-13 20:50:16.218866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- Product Load (0.4ms) 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 ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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 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.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-12-13 20:50:18.468458"], ["updated_at", "2016-12-13 20:50:18.468458"]]  (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", 15], ["created_at", "2016-12-13 20:50:18.470733"], ["updated_at", "2016-12-13 20:50:18.470733"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 11 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (15)  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:50:20.534773"], ["updated_at", "2016-12-13 20:50:20.534773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 16], ["created_at", "2016-12-13 20:50:20.541080"], ["updated_at", "2016-12-13 20:50:20.541080"]]  (0.2ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 16], ["created_at", "2016-12-13 20:50:20.553800"], ["updated_at", "2016-12-13 20:50:20.553800"]]  (0.1ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 16], ["created_at", "2016-12-13 20:50:20.558524"], ["updated_at", "2016-12-13 20:50:20.558524"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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-12-13 20:50:22.629120"], ["updated_at", "2016-12-13 20:50:22.629120"]]  (0.2ms) 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-12-13 20:50:22.633447"], ["updated_at", "2016-12-13 20:50:22.633447"]]  (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-12-13 20:50:22.637178"], ["updated_at", "2016-12-13 20:50:22.637178"]]  (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-12-13 20:50:22.641295"], ["updated_at", "2016-12-13 20:50:22.641295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (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.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-12-13 20:50:24.688061"], ["updated_at", "2016-12-13 20:50:24.688061"]]  (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", 2], ["created_at", "2016-12-13 20:50:24.692530"], ["updated_at", "2016-12-13 20:50:24.692530"]]  (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", 3], ["created_at", "2016-12-13 20:50:24.696942"], ["updated_at", "2016-12-13 20:50:24.696942"]]  (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-12-13 20:50:24.701599"], ["updated_at", "2016-12-13 20:50:24.701599"]]  (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", 5], ["created_at", "2016-12-13 20:50:24.705626"], ["updated_at", "2016-12-13 20:50:24.705626"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN --------------------------- SearchTest: test_pagination --------------------------- Product Load (0.6ms) 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-13 20:59:12.281131"], ["updated_at", "2016-12-13 20:59:12.281131"]]  (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", 2], ["created_at", "2016-12-13 20:59:12.299774"], ["updated_at", "2016-12-13 20:59:12.299774"]]  (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-12-13 20:59:12.309186"], ["updated_at", "2016-12-13 20:59:12.309186"]]  (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-12-13 20:59:12.313648"], ["updated_at", "2016-12-13 20:59:12.313648"]]  (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", 5], ["created_at", "2016-12-13 20:59:12.317377"], ["updated_at", "2016-12-13 20:59:12.317377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- Product Load (0.4ms) 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.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-13 20:59:14.358444"], ["updated_at", "2016-12-13 20:59:14.358444"]]  (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-12-13 20:59:14.362581"], ["updated_at", "2016-12-13 20:59:14.362581"]]  (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-12-13 20:59:14.366486"], ["updated_at", "2016-12-13 20:59:14.366486"]]  (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-12-13 20:59:14.370541"], ["updated_at", "2016-12-13 20:59:14.370541"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) 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-12-13 20:59:16.413420"], ["updated_at", "2016-12-13 20:59:16.413420"]]  (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", "Test"], ["shop_id", 17], ["created_at", "2016-12-13 20:59:16.429964"], ["updated_at", "2016-12-13 20:59:16.429964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 12 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (17)  (0.8ms) ROLLBACK  (0.4ms) BEGIN ---------------------- SearchTest: test_order ---------------------- 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" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:59:18.576248"], ["updated_at", "2016-12-13 20:59:18.576248"]]  (0.1ms) 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", 18], ["created_at", "2016-12-13 20:59:18.593413"], ["updated_at", "2016-12-13 20:59:18.593413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 18], ["created_at", "2016-12-13 20:59:18.612625"], ["updated_at", "2016-12-13 20:59:18.612625"]]  (0.1ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 18], ["created_at", "2016-12-13 20:59:18.717477"], ["updated_at", "2016-12-13 20:59:18.717477"]]  (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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) 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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:59:20.847985"], ["updated_at", "2016-12-13 20:59:20.847985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-13 20:59:20.892580"], ["updated_at", "2016-12-13 20:59:20.892580"]]  (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", 20], ["created_at", "2016-12-13 20:59:20.894679"], ["updated_at", "2016-12-13 20:59:20.894679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 13  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 13  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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 ---------------------- TaskTest: test_reindex ---------------------- Product Load (0.4ms) 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.4ms) 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) ROLLBACK  (0.1ms) BEGIN ---------------------- TaskTest: test_unindex ----------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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 ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:59:23.213648"], ["updated_at", "2016-12-13 20:59:23.213648"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 21], ["created_at", "2016-12-13 20:59:23.215519"], ["updated_at", "2016-12-13 20:59:23.215519"]]  (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", 21], ["created_at", "2016-12-13 20:59:23.220418"], ["updated_at", "2016-12-13 20:59:23.220418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TaskTest: test_reindex ---------------------- Product Load (0.5ms) 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 -------------------- TaskTest: test_index -------------------- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000 Shop Load (0.6ms) 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 ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:59:56.575313"], ["updated_at", "2016-12-13 20:59:56.575313"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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 ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:59:56.659102"], ["updated_at", "2016-12-13 20:59:56.659102"]]  (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", 23], ["created_at", "2016-12-13 20:59:56.674266"], ["updated_at", "2016-12-13 20:59:56.674266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 23], ["created_at", "2016-12-13 20:59:56.680873"], ["updated_at", "2016-12-13 20:59:56.680873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- Product Load (0.4ms) 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-13 20:59:58.766879"], ["updated_at", "2016-12-13 20:59:58.766879"]]  (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", 24], ["created_at", "2016-12-13 20:59:58.769426"], ["updated_at", "2016-12-13 20:59:58.769426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 18  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 18  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (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.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-12-13 21:00:00.863500"], ["updated_at", "2016-12-13 21:00:00.863500"]]  (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", 2], ["created_at", "2016-12-13 21:00:00.868938"], ["updated_at", "2016-12-13 21:00:00.868938"]]  (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", 3], ["created_at", "2016-12-13 21:00:00.874772"], ["updated_at", "2016-12-13 21:00:00.874772"]]  (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-12-13 21:00:00.878873"], ["updated_at", "2016-12-13 21:00:00.878873"]]  (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", 5], ["created_at", "2016-12-13 21:00:00.883524"], ["updated_at", "2016-12-13 21:00:00.883524"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.4ms) 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-12-13 21:00:02.962954"], ["updated_at", "2016-12-13 21:00:02.962954"]]  (0.1ms) 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", "Test"], ["shop_id", 25], ["created_at", "2016-12-13 21:00:02.964621"], ["updated_at", "2016-12-13 21:00:02.964621"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 19 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (25)  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 21:00:05.018882"], ["updated_at", "2016-12-13 21:00:05.018882"]]  (0.1ms) 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", 26], ["created_at", "2016-12-13 21:00:05.023449"], ["updated_at", "2016-12-13 21:00:05.023449"]]  (0.1ms) 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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 26], ["created_at", "2016-12-13 21:00:05.028941"], ["updated_at", "2016-12-13 21:00:05.028941"]]  (0.1ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 26], ["created_at", "2016-12-13 21:00:05.033470"], ["updated_at", "2016-12-13 21:00:05.033470"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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.1ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-13 21:00:07.110318"], ["updated_at", "2016-12-13 21:00:07.110318"]]  (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-12-13 21:00:07.114599"], ["updated_at", "2016-12-13 21:00:07.114599"]]  (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", 3], ["created_at", "2016-12-13 21:00:07.118602"], ["updated_at", "2016-12-13 21:00:07.118602"]]  (0.2ms) 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-12-13 21:00:07.122752"], ["updated_at", "2016-12-13 21:00:07.122752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3) Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------- SearchTest: test_includes ------------------------- Product Load (0.6ms) 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.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-14 05:30:36.973703"], ["updated_at", "2016-12-14 05:30:36.973703"]]  (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", 27], ["created_at", "2016-12-14 05:30:36.993931"], ["updated_at", "2016-12-14 05:30:36.993931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 20 Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (27)  (0.2ms) ROLLBACK  (0.1ms) 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.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-14 05:30:39.083524"], ["updated_at", "2016-12-14 05:30:39.083524"]]  (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", 28], ["created_at", "2016-12-14 05:30:39.089484"], ["updated_at", "2016-12-14 05:30:39.089484"]]  (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", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 28], ["created_at", "2016-12-14 05:30:39.097123"], ["updated_at", "2016-12-14 05:30:39.097123"]]  (0.1ms) 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", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 28], ["created_at", "2016-12-14 05:30:39.103640"], ["updated_at", "2016-12-14 05:30:39.103640"]]  (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.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3) Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1) Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)  (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.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-12-14 05:30:41.196209"], ["updated_at", "2016-12-14 05:30:41.196209"]]  (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-12-14 05:30:41.200796"], ["updated_at", "2016-12-14 05:30:41.200796"]]  (0.2ms) 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", 3], ["created_at", "2016-12-14 05:30:41.205773"], ["updated_at", "2016-12-14 05:30:41.205773"]]  (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", 4], ["created_at", "2016-12-14 05:30:41.210767"], ["updated_at", "2016-12-14 05:30:41.210767"]]  (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", 5], ["created_at", "2016-12-14 05:30:41.215848"], ["updated_at", "2016-12-14 05:30:41.215848"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4) Shop Load (0.3ms) 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.2ms) SELECT "shops".* FROM "shops" WHERE 1=0 Shop Load (0.3ms) 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  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- SearchTest: test_with_and_without --------------------------------- 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" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-14 05:30:43.289696"], ["updated_at", "2016-12-14 05:30:43.289696"]]  (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", 2], ["created_at", "2016-12-14 05:30:43.294088"], ["updated_at", "2016-12-14 05:30:43.294088"]]  (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-12-14 05:30:43.298828"], ["updated_at", "2016-12-14 05:30:43.298828"]]  (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-12-14 05:30:43.303533"], ["updated_at", "2016-12-14 05:30:43.303533"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.4ms) 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 ---------------------- TaskTest: test_reindex ---------------------- 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 ---------------------- TaskTest: test_unindex ----------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------- TaskTest: test_index -------------------- 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.4ms) 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 ----------------------- IndexTest: 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-14 05:30:45.552541"], ["updated_at", "2016-12-14 05:30:45.552541"]]  (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", "Les Paul"], ["shop_id", 29], ["created_at", "2016-12-14 05:30:45.554406"], ["updated_at", "2016-12-14 05:30:45.554406"]]  (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", 29], ["created_at", "2016-12-14 05:30:45.559676"], ["updated_at", "2016-12-14 05:30:45.559676"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- IndexTest: 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 ------------------------- IndexTest: 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.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------- RecordTest: test_indexing ------------------------- 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" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-14 05:30:47.686239"], ["updated_at", "2016-12-14 05:30:47.686239"]]  (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", 30], ["created_at", "2016-12-14 05:30:47.688292"], ["updated_at", "2016-12-14 05:30:47.688292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 23  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 23]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 23  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------- DslTest: test_search --------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-14 05:30:49.728454"], ["updated_at", "2016-12-14 05:30:49.728454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------- GeneratorTest: test_index -------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- GeneratorTest: test_install ---------------------------  (0.1ms) ROLLBACK