test/dummy/log/test.log in pagers-3.1.5 vs test/dummy/log/test.log in pagers-4.0.0.0

- old
+ new

@@ -1,989 +1,22129 @@ -  (0.2ms) CREATE TABLE "records" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime)  -  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130820024335') -  (0.1ms) begin transaction +  (2.6ms) 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 (20130820024335) +  (0.1ms) BEGIN +  (1.7ms) CREATE TABLE "products" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130820024335"]] +  (0.5ms) 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 + + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) ROLLBACK +  (0.3ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (11.7ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.898937"], ["updated_at", "2016-12-02 15:41:28.898937"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.913698"], ["updated_at", "2016-12-02 15:41:28.913698"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.914842"], ["updated_at", "2016-12-02 15:41:28.914842"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.915860"], ["updated_at", "2016-12-02 15:41:28.915860"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.916837"], ["updated_at", "2016-12-02 15:41:28.916837"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.917772"], ["updated_at", "2016-12-02 15:41:28.917772"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.918745"], ["updated_at", "2016-12-02 15:41:28.918745"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.919641"], ["updated_at", "2016-12-02 15:41:28.919641"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.920653"], ["updated_at", "2016-12-02 15:41:28.920653"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.922332"], ["updated_at", "2016-12-02 15:41:28.922332"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.924338"], ["updated_at", "2016-12-02 15:41:28.924338"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.925344"], ["updated_at", "2016-12-02 15:41:28.925344"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.926323"], ["updated_at", "2016-12-02 15:41:28.926323"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.927258"], ["updated_at", "2016-12-02 15:41:28.927258"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.928221"], ["updated_at", "2016-12-02 15:41:28.928221"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.929180"], ["updated_at", "2016-12-02 15:41:28.929180"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.931674"], ["updated_at", "2016-12-02 15:41:28.931674"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.932658"], ["updated_at", "2016-12-02 15:41:28.932658"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.933545"], ["updated_at", "2016-12-02 15:41:28.933545"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.934478"], ["updated_at", "2016-12-02 15:41:28.934478"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN -------------------------- -MiddleTest: test_next_page +RelationTest: test_padding -------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.664492"], ["updated_at", "2016-01-14 20:49:44.664492"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.668218"], ["updated_at", "2016-01-14 20:49:44.668218"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.669043"], ["updated_at", "2016-01-14 20:49:44.669043"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.669894"], ["updated_at", "2016-01-14 20:49:44.669894"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.670621"], ["updated_at", "2016-01-14 20:49:44.670621"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.671326"], ["updated_at", "2016-01-14 20:49:44.671326"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.672065"], ["updated_at", "2016-01-14 20:49:44.672065"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.672742"], ["updated_at", "2016-01-14 20:49:44.672742"]] + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.936229"], ["updated_at", "2016-12-02 15:41:28.936229"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.937209"], ["updated_at", "2016-12-02 15:41:28.937209"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.938135"], ["updated_at", "2016-12-02 15:41:28.938135"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.939024"], ["updated_at", "2016-12-02 15:41:28.939024"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.939899"], ["updated_at", "2016-12-02 15:41:28.939899"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.940745"], ["updated_at", "2016-12-02 15:41:28.940745"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.941619"], ["updated_at", "2016-12-02 15:41:28.941619"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.942498"], ["updated_at", "2016-12-02 15:41:28.942498"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.943491"], ["updated_at", "2016-12-02 15:41:28.943491"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.944365"], ["updated_at", "2016-12-02 15:41:28.944365"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.945158"], ["updated_at", "2016-12-02 15:41:28.945158"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.946002"], ["updated_at", "2016-12-02 15:41:28.946002"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.946819"], ["updated_at", "2016-12-02 15:41:28.946819"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.947750"], ["updated_at", "2016-12-02 15:41:28.947750"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.948602"], ["updated_at", "2016-12-02 15:41:28.948602"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.949458"], ["updated_at", "2016-12-02 15:41:28.949458"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.950280"], ["updated_at", "2016-12-02 15:41:28.950280"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.951155"], ["updated_at", "2016-12-02 15:41:28.951155"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.952032"], ["updated_at", "2016-12-02 15:41:28.952032"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.953748"], ["updated_at", "2016-12-02 15:41:28.953748"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.954687"], ["updated_at", "2016-12-02 15:41:28.954687"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.955519"], ["updated_at", "2016-12-02 15:41:28.955519"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.956307"], ["updated_at", "2016-12-02 15:41:28.956307"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.957126"], ["updated_at", "2016-12-02 15:41:28.957126"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.958003"], ["updated_at", "2016-12-02 15:41:28.958003"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.958905"], ["updated_at", "2016-12-02 15:41:28.958905"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.959787"], ["updated_at", "2016-12-02 15:41:28.959787"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.960647"], ["updated_at", "2016-12-02 15:41:28.960647"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.961550"], ["updated_at", "2016-12-02 15:41:28.961550"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.963547"], ["updated_at", "2016-12-02 15:41:28.963547"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.964742"], ["updated_at", "2016-12-02 15:41:28.964742"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.965849"], ["updated_at", "2016-12-02 15:41:28.965849"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.966819"], ["updated_at", "2016-12-02 15:41:28.966819"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.967673"], ["updated_at", "2016-12-02 15:41:28.967673"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.968596"], ["updated_at", "2016-12-02 15:41:28.968596"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.969562"], ["updated_at", "2016-12-02 15:41:28.969562"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.970552"], ["updated_at", "2016-12-02 15:41:28.970552"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.971480"], ["updated_at", "2016-12-02 15:41:28.971480"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:28.972363"], ["updated_at", "2016-12-02 15:41:28.972363"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 12:41:29 -0300 +Processing by ProductsController#index as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:29.009747"], ["updated_at", "2016-12-02 15:41:29.009747"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:29.011053"], ["updated_at", "2016-12-02 15:41:29.011053"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.673456"], ["updated_at", "2016-01-14 20:49:44.673456"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.674200"], ["updated_at", "2016-01-14 20:49:44.674200"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------ -MiddleTest: test_current_page ------------------------------ -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.676361"], ["updated_at", "2016-01-14 20:49:44.676361"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.677127"], ["updated_at", "2016-01-14 20:49:44.677127"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:29.012044"], ["updated_at", "2016-12-02 15:41:29.012044"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:29.012956"], ["updated_at", "2016-12-02 15:41:29.012956"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:29.014018"], ["updated_at", "2016-12-02 15:41:29.014018"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:29.014949"], ["updated_at", "2016-12-02 15:41:29.014949"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:29.015868"], ["updated_at", "2016-12-02 15:41:29.015868"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:29.016721"], ["updated_at", "2016-12-02 15:41:29.016721"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:29.017558"], ["updated_at", "2016-12-02 15:41:29.017558"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:41:29.018401"], ["updated_at", "2016-12-02 15:41:29.018401"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 12:41:29 -0300 +Processing by ProductsController#index as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.365052"], ["updated_at", "2016-12-02 15:42:26.365052"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.369921"], ["updated_at", "2016-12-02 15:42:26.369921"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.371543"], ["updated_at", "2016-12-02 15:42:26.371543"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.372822"], ["updated_at", "2016-12-02 15:42:26.372822"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.374014"], ["updated_at", "2016-12-02 15:42:26.374014"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.374982"], ["updated_at", "2016-12-02 15:42:26.374982"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.376024"], ["updated_at", "2016-12-02 15:42:26.376024"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.377035"], ["updated_at", "2016-12-02 15:42:26.377035"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.377871"], ["updated_at", "2016-12-02 15:42:26.377871"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.378760"], ["updated_at", "2016-12-02 15:42:26.378760"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 12:42:26 -0300 +Processing by ProductsController#index as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.411824"], ["updated_at", "2016-12-02 15:42:26.411824"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.413040"], ["updated_at", "2016-12-02 15:42:26.413040"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.413964"], ["updated_at", "2016-12-02 15:42:26.413964"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.414888"], ["updated_at", "2016-12-02 15:42:26.414888"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.415808"], ["updated_at", "2016-12-02 15:42:26.415808"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.416752"], ["updated_at", "2016-12-02 15:42:26.416752"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.417661"], ["updated_at", "2016-12-02 15:42:26.417661"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.418572"], ["updated_at", "2016-12-02 15:42:26.418572"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.419478"], ["updated_at", "2016-12-02 15:42:26.419478"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.420383"], ["updated_at", "2016-12-02 15:42:26.420383"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 12:42:26 -0300 +Processing by ProductsController#index as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.425817"], ["updated_at", "2016-12-02 15:42:26.425817"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.426968"], ["updated_at", "2016-12-02 15:42:26.426968"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.427799"], ["updated_at", "2016-12-02 15:42:26.427799"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.428683"], ["updated_at", "2016-12-02 15:42:26.428683"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.429531"], ["updated_at", "2016-12-02 15:42:26.429531"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.430369"], ["updated_at", "2016-12-02 15:42:26.430369"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.431249"], ["updated_at", "2016-12-02 15:42:26.431249"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.432310"], ["updated_at", "2016-12-02 15:42:26.432310"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.433267"], ["updated_at", "2016-12-02 15:42:26.433267"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.434109"], ["updated_at", "2016-12-02 15:42:26.434109"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.435759"], ["updated_at", "2016-12-02 15:42:26.435759"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.436693"], ["updated_at", "2016-12-02 15:42:26.436693"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.437676"], ["updated_at", "2016-12-02 15:42:26.437676"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.438544"], ["updated_at", "2016-12-02 15:42:26.438544"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.439390"], ["updated_at", "2016-12-02 15:42:26.439390"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.440238"], ["updated_at", "2016-12-02 15:42:26.440238"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.441067"], ["updated_at", "2016-12-02 15:42:26.441067"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.441894"], ["updated_at", "2016-12-02 15:42:26.441894"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.442756"], ["updated_at", "2016-12-02 15:42:26.442756"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.443654"], ["updated_at", "2016-12-02 15:42:26.443654"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.444565"], ["updated_at", "2016-12-02 15:42:26.444565"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.445564"], ["updated_at", "2016-12-02 15:42:26.445564"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.446534"], ["updated_at", "2016-12-02 15:42:26.446534"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.447473"], ["updated_at", "2016-12-02 15:42:26.447473"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.448370"], ["updated_at", "2016-12-02 15:42:26.448370"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.449243"], ["updated_at", "2016-12-02 15:42:26.449243"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.450167"], ["updated_at", "2016-12-02 15:42:26.450167"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.451119"], ["updated_at", "2016-12-02 15:42:26.451119"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.451990"], ["updated_at", "2016-12-02 15:42:26.451990"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.453658"], ["updated_at", "2016-12-02 15:42:26.453658"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.454671"], ["updated_at", "2016-12-02 15:42:26.454671"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.455567"], ["updated_at", "2016-12-02 15:42:26.455567"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.456518"], ["updated_at", "2016-12-02 15:42:26.456518"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.457448"], ["updated_at", "2016-12-02 15:42:26.457448"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.458411"], ["updated_at", "2016-12-02 15:42:26.458411"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.459299"], ["updated_at", "2016-12-02 15:42:26.459299"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.460247"], ["updated_at", "2016-12-02 15:42:26.460247"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.461342"], ["updated_at", "2016-12-02 15:42:26.461342"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.462454"], ["updated_at", "2016-12-02 15:42:26.462454"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.464267"], ["updated_at", "2016-12-02 15:42:26.464267"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.465269"], ["updated_at", "2016-12-02 15:42:26.465269"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.466233"], ["updated_at", "2016-12-02 15:42:26.466233"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.467124"], ["updated_at", "2016-12-02 15:42:26.467124"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.468048"], ["updated_at", "2016-12-02 15:42:26.468048"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.469034"], ["updated_at", "2016-12-02 15:42:26.469034"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.469917"], ["updated_at", "2016-12-02 15:42:26.469917"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.470798"], ["updated_at", "2016-12-02 15:42:26.470798"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.471694"], ["updated_at", "2016-12-02 15:42:26.471694"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:42:26.472587"], ["updated_at", "2016-12-02 15:42:26.472587"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.236807"], ["updated_at", "2016-12-02 15:44:46.236807"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.240115"], ["updated_at", "2016-12-02 15:44:46.240115"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.241236"], ["updated_at", "2016-12-02 15:44:46.241236"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.242262"], ["updated_at", "2016-12-02 15:44:46.242262"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.243209"], ["updated_at", "2016-12-02 15:44:46.243209"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.244146"], ["updated_at", "2016-12-02 15:44:46.244146"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.245069"], ["updated_at", "2016-12-02 15:44:46.245069"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.245977"], ["updated_at", "2016-12-02 15:44:46.245977"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.246944"], ["updated_at", "2016-12-02 15:44:46.246944"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.247909"], ["updated_at", "2016-12-02 15:44:46.247909"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 12:44:46 -0300 +Processing by ProductsController#index as HTML + Rendered products/index.html.erb within layouts/application (4.1ms) +Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.296291"], ["updated_at", "2016-12-02 15:44:46.296291"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.297532"], ["updated_at", "2016-12-02 15:44:46.297532"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.298526"], ["updated_at", "2016-12-02 15:44:46.298526"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.299501"], ["updated_at", "2016-12-02 15:44:46.299501"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.300416"], ["updated_at", "2016-12-02 15:44:46.300416"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.301431"], ["updated_at", "2016-12-02 15:44:46.301431"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.302440"], ["updated_at", "2016-12-02 15:44:46.302440"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.303379"], ["updated_at", "2016-12-02 15:44:46.303379"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.304226"], ["updated_at", "2016-12-02 15:44:46.304226"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.305097"], ["updated_at", "2016-12-02 15:44:46.305097"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 12:44:46 -0300 +Processing by ProductsController#index as HTML + Rendered products/index.html.erb within layouts/application (0.8ms) +Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.310822"], ["updated_at", "2016-12-02 15:44:46.310822"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.311943"], ["updated_at", "2016-12-02 15:44:46.311943"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.312870"], ["updated_at", "2016-12-02 15:44:46.312870"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.313797"], ["updated_at", "2016-12-02 15:44:46.313797"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.314759"], ["updated_at", "2016-12-02 15:44:46.314759"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.315735"], ["updated_at", "2016-12-02 15:44:46.315735"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.316666"], ["updated_at", "2016-12-02 15:44:46.316666"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.317708"], ["updated_at", "2016-12-02 15:44:46.317708"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.318708"], ["updated_at", "2016-12-02 15:44:46.318708"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.319629"], ["updated_at", "2016-12-02 15:44:46.319629"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.321963"], ["updated_at", "2016-12-02 15:44:46.321963"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.322882"], ["updated_at", "2016-12-02 15:44:46.322882"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.323782"], ["updated_at", "2016-12-02 15:44:46.323782"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.324672"], ["updated_at", "2016-12-02 15:44:46.324672"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.325535"], ["updated_at", "2016-12-02 15:44:46.325535"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.326450"], ["updated_at", "2016-12-02 15:44:46.326450"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.327351"], ["updated_at", "2016-12-02 15:44:46.327351"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.328362"], ["updated_at", "2016-12-02 15:44:46.328362"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.329339"], ["updated_at", "2016-12-02 15:44:46.329339"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.330341"], ["updated_at", "2016-12-02 15:44:46.330341"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.333803"], ["updated_at", "2016-12-02 15:44:46.333803"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.334873"], ["updated_at", "2016-12-02 15:44:46.334873"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.335850"], ["updated_at", "2016-12-02 15:44:46.335850"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.336707"], ["updated_at", "2016-12-02 15:44:46.336707"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.337696"], ["updated_at", "2016-12-02 15:44:46.337696"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.338561"], ["updated_at", "2016-12-02 15:44:46.338561"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.339591"], ["updated_at", "2016-12-02 15:44:46.339591"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.340404"], ["updated_at", "2016-12-02 15:44:46.340404"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.341321"], ["updated_at", "2016-12-02 15:44:46.341321"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.342179"], ["updated_at", "2016-12-02 15:44:46.342179"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.344293"], ["updated_at", "2016-12-02 15:44:46.344293"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.345230"], ["updated_at", "2016-12-02 15:44:46.345230"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.346098"], ["updated_at", "2016-12-02 15:44:46.346098"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.346943"], ["updated_at", "2016-12-02 15:44:46.346943"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.347822"], ["updated_at", "2016-12-02 15:44:46.347822"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.348721"], ["updated_at", "2016-12-02 15:44:46.348721"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.349622"], ["updated_at", "2016-12-02 15:44:46.349622"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.350494"], ["updated_at", "2016-12-02 15:44:46.350494"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.351475"], ["updated_at", "2016-12-02 15:44:46.351475"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.352314"], ["updated_at", "2016-12-02 15:44:46.352314"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.353185"], ["updated_at", "2016-12-02 15:44:46.353185"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.354078"], ["updated_at", "2016-12-02 15:44:46.354078"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.354920"], ["updated_at", "2016-12-02 15:44:46.354920"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.355808"], ["updated_at", "2016-12-02 15:44:46.355808"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.356707"], ["updated_at", "2016-12-02 15:44:46.356707"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.357574"], ["updated_at", "2016-12-02 15:44:46.357574"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.358463"], ["updated_at", "2016-12-02 15:44:46.358463"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.359384"], ["updated_at", "2016-12-02 15:44:46.359384"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:44:46.360306"], ["updated_at", "2016-12-02 15:44:46.360306"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:06.978528"], ["updated_at", "2016-12-02 15:47:06.978528"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:06.982956"], ["updated_at", "2016-12-02 15:47:06.982956"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:06.984689"], ["updated_at", "2016-12-02 15:47:06.984689"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:06.986215"], ["updated_at", "2016-12-02 15:47:06.986215"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:06.987343"], ["updated_at", "2016-12-02 15:47:06.987343"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:06.988488"], ["updated_at", "2016-12-02 15:47:06.988488"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:06.989594"], ["updated_at", "2016-12-02 15:47:06.989594"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:06.991171"], ["updated_at", "2016-12-02 15:47:06.991171"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:06.992770"], ["updated_at", "2016-12-02 15:47:06.992770"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:06.993742"], ["updated_at", "2016-12-02 15:47:06.993742"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 12:47:07 -0300 +Processing by ProductsController#index as HTML + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.031670"], ["updated_at", "2016-12-02 15:47:07.031670"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.032912"], ["updated_at", "2016-12-02 15:47:07.032912"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.033903"], ["updated_at", "2016-12-02 15:47:07.033903"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.034828"], ["updated_at", "2016-12-02 15:47:07.034828"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.035874"], ["updated_at", "2016-12-02 15:47:07.035874"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.036764"], ["updated_at", "2016-12-02 15:47:07.036764"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.037624"], ["updated_at", "2016-12-02 15:47:07.037624"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.038489"], ["updated_at", "2016-12-02 15:47:07.038489"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.039384"], ["updated_at", "2016-12-02 15:47:07.039384"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.040252"], ["updated_at", "2016-12-02 15:47:07.040252"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 12:47:07 -0300 +Processing by ProductsController#index as HTML + Rendered products/index.html.erb within layouts/application (0.9ms) +Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.046200"], ["updated_at", "2016-12-02 15:47:07.046200"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.047381"], ["updated_at", "2016-12-02 15:47:07.047381"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.048328"], ["updated_at", "2016-12-02 15:47:07.048328"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.049232"], ["updated_at", "2016-12-02 15:47:07.049232"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.050159"], ["updated_at", "2016-12-02 15:47:07.050159"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.051018"], ["updated_at", "2016-12-02 15:47:07.051018"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.051901"], ["updated_at", "2016-12-02 15:47:07.051901"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.052820"], ["updated_at", "2016-12-02 15:47:07.052820"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.053677"], ["updated_at", "2016-12-02 15:47:07.053677"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.054503"], ["updated_at", "2016-12-02 15:47:07.054503"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.056810"], ["updated_at", "2016-12-02 15:47:07.056810"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.057843"], ["updated_at", "2016-12-02 15:47:07.057843"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.058730"], ["updated_at", "2016-12-02 15:47:07.058730"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.059600"], ["updated_at", "2016-12-02 15:47:07.059600"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.060499"], ["updated_at", "2016-12-02 15:47:07.060499"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.061386"], ["updated_at", "2016-12-02 15:47:07.061386"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.062330"], ["updated_at", "2016-12-02 15:47:07.062330"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.063137"], ["updated_at", "2016-12-02 15:47:07.063137"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.063973"], ["updated_at", "2016-12-02 15:47:07.063973"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.064885"], ["updated_at", "2016-12-02 15:47:07.064885"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.067125"], ["updated_at", "2016-12-02 15:47:07.067125"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.068037"], ["updated_at", "2016-12-02 15:47:07.068037"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.069015"], ["updated_at", "2016-12-02 15:47:07.069015"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.069938"], ["updated_at", "2016-12-02 15:47:07.069938"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.070817"], ["updated_at", "2016-12-02 15:47:07.070817"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.071709"], ["updated_at", "2016-12-02 15:47:07.071709"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.072589"], ["updated_at", "2016-12-02 15:47:07.072589"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.073418"], ["updated_at", "2016-12-02 15:47:07.073418"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.074319"], ["updated_at", "2016-12-02 15:47:07.074319"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.075181"], ["updated_at", "2016-12-02 15:47:07.075181"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.078230"], ["updated_at", "2016-12-02 15:47:07.078230"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.079238"], ["updated_at", "2016-12-02 15:47:07.079238"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.080246"], ["updated_at", "2016-12-02 15:47:07.080246"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.081212"], ["updated_at", "2016-12-02 15:47:07.081212"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.082058"], ["updated_at", "2016-12-02 15:47:07.082058"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.082963"], ["updated_at", "2016-12-02 15:47:07.082963"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.083918"], ["updated_at", "2016-12-02 15:47:07.083918"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.084802"], ["updated_at", "2016-12-02 15:47:07.084802"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.085660"], ["updated_at", "2016-12-02 15:47:07.085660"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.086572"], ["updated_at", "2016-12-02 15:47:07.086572"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.087483"], ["updated_at", "2016-12-02 15:47:07.087483"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.088403"], ["updated_at", "2016-12-02 15:47:07.088403"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.089224"], ["updated_at", "2016-12-02 15:47:07.089224"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.090108"], ["updated_at", "2016-12-02 15:47:07.090108"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.090997"], ["updated_at", "2016-12-02 15:47:07.090997"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.091971"], ["updated_at", "2016-12-02 15:47:07.091971"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.092876"], ["updated_at", "2016-12-02 15:47:07.092876"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.093734"], ["updated_at", "2016-12-02 15:47:07.093734"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:07.094651"], ["updated_at", "2016-12-02 15:47:07.094651"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.616003"], ["updated_at", "2016-12-02 15:47:32.616003"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.619244"], ["updated_at", "2016-12-02 15:47:32.619244"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.620349"], ["updated_at", "2016-12-02 15:47:32.620349"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.621368"], ["updated_at", "2016-12-02 15:47:32.621368"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.622358"], ["updated_at", "2016-12-02 15:47:32.622358"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.623324"], ["updated_at", "2016-12-02 15:47:32.623324"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.624251"], ["updated_at", "2016-12-02 15:47:32.624251"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.625325"], ["updated_at", "2016-12-02 15:47:32.625325"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.626529"], ["updated_at", "2016-12-02 15:47:32.626529"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.628278"], ["updated_at", "2016-12-02 15:47:32.628278"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 12:47:32 -0300 +Processing by ProductsController#index as HTML + Rendered products/index.html.erb within layouts/application (2.3ms) +Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.667561"], ["updated_at", "2016-12-02 15:47:32.667561"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.668923"], ["updated_at", "2016-12-02 15:47:32.668923"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.669918"], ["updated_at", "2016-12-02 15:47:32.669918"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.670944"], ["updated_at", "2016-12-02 15:47:32.670944"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.671865"], ["updated_at", "2016-12-02 15:47:32.671865"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.672813"], ["updated_at", "2016-12-02 15:47:32.672813"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.673766"], ["updated_at", "2016-12-02 15:47:32.673766"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.674819"], ["updated_at", "2016-12-02 15:47:32.674819"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.675868"], ["updated_at", "2016-12-02 15:47:32.675868"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.676819"], ["updated_at", "2016-12-02 15:47:32.676819"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 12:47:32 -0300 +Processing by ProductsController#index as HTML + Rendered products/index.html.erb within layouts/application (0.8ms) +Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.685746"], ["updated_at", "2016-12-02 15:47:32.685746"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.686994"], ["updated_at", "2016-12-02 15:47:32.686994"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.687964"], ["updated_at", "2016-12-02 15:47:32.687964"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.688893"], ["updated_at", "2016-12-02 15:47:32.688893"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.689849"], ["updated_at", "2016-12-02 15:47:32.689849"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.690711"], ["updated_at", "2016-12-02 15:47:32.690711"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.691546"], ["updated_at", "2016-12-02 15:47:32.691546"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.692387"], ["updated_at", "2016-12-02 15:47:32.692387"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.693542"], ["updated_at", "2016-12-02 15:47:32.693542"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.694513"], ["updated_at", "2016-12-02 15:47:32.694513"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.696932"], ["updated_at", "2016-12-02 15:47:32.696932"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.697854"], ["updated_at", "2016-12-02 15:47:32.697854"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.698682"], ["updated_at", "2016-12-02 15:47:32.698682"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.699511"], ["updated_at", "2016-12-02 15:47:32.699511"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.700328"], ["updated_at", "2016-12-02 15:47:32.700328"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.701269"], ["updated_at", "2016-12-02 15:47:32.701269"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.702283"], ["updated_at", "2016-12-02 15:47:32.702283"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.703258"], ["updated_at", "2016-12-02 15:47:32.703258"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.704142"], ["updated_at", "2016-12-02 15:47:32.704142"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.705029"], ["updated_at", "2016-12-02 15:47:32.705029"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.707057"], ["updated_at", "2016-12-02 15:47:32.707057"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.708045"], ["updated_at", "2016-12-02 15:47:32.708045"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.708913"], ["updated_at", "2016-12-02 15:47:32.708913"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.709739"], ["updated_at", "2016-12-02 15:47:32.709739"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.710594"], ["updated_at", "2016-12-02 15:47:32.710594"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.711545"], ["updated_at", "2016-12-02 15:47:32.711545"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.712432"], ["updated_at", "2016-12-02 15:47:32.712432"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.713388"], ["updated_at", "2016-12-02 15:47:32.713388"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.714263"], ["updated_at", "2016-12-02 15:47:32.714263"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.715166"], ["updated_at", "2016-12-02 15:47:32.715166"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.716019"], ["updated_at", "2016-12-02 15:47:32.716019"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.716882"], ["updated_at", "2016-12-02 15:47:32.716882"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.717824"], ["updated_at", "2016-12-02 15:47:32.717824"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.718648"], ["updated_at", "2016-12-02 15:47:32.718648"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.719659"], ["updated_at", "2016-12-02 15:47:32.719659"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.720491"], ["updated_at", "2016-12-02 15:47:32.720491"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.721402"], ["updated_at", "2016-12-02 15:47:32.721402"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.722279"], ["updated_at", "2016-12-02 15:47:32.722279"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.723163"], ["updated_at", "2016-12-02 15:47:32.723163"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.730331"], ["updated_at", "2016-12-02 15:47:32.730331"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.731645"], ["updated_at", "2016-12-02 15:47:32.731645"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.732577"], ["updated_at", "2016-12-02 15:47:32.732577"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.733540"], ["updated_at", "2016-12-02 15:47:32.733540"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.734521"], ["updated_at", "2016-12-02 15:47:32.734521"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.735431"], ["updated_at", "2016-12-02 15:47:32.735431"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.736343"], ["updated_at", "2016-12-02 15:47:32.736343"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.737274"], ["updated_at", "2016-12-02 15:47:32.737274"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.738184"], ["updated_at", "2016-12-02 15:47:32.738184"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:47:32.739097"], ["updated_at", "2016-12-02 15:47:32.739097"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.008577"], ["updated_at", "2016-12-02 15:48:24.008577"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.013360"], ["updated_at", "2016-12-02 15:48:24.013360"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.014607"], ["updated_at", "2016-12-02 15:48:24.014607"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.015698"], ["updated_at", "2016-12-02 15:48:24.015698"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.016773"], ["updated_at", "2016-12-02 15:48:24.016773"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.017833"], ["updated_at", "2016-12-02 15:48:24.017833"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.018900"], ["updated_at", "2016-12-02 15:48:24.018900"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.019850"], ["updated_at", "2016-12-02 15:48:24.019850"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.020877"], ["updated_at", "2016-12-02 15:48:24.020877"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.022147"], ["updated_at", "2016-12-02 15:48:24.022147"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.025349"], ["updated_at", "2016-12-02 15:48:24.025349"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.026386"], ["updated_at", "2016-12-02 15:48:24.026386"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.027431"], ["updated_at", "2016-12-02 15:48:24.027431"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.028425"], ["updated_at", "2016-12-02 15:48:24.028425"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.029371"], ["updated_at", "2016-12-02 15:48:24.029371"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.030310"], ["updated_at", "2016-12-02 15:48:24.030310"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.031169"], ["updated_at", "2016-12-02 15:48:24.031169"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.032154"], ["updated_at", "2016-12-02 15:48:24.032154"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.033069"], ["updated_at", "2016-12-02 15:48:24.033069"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.033958"], ["updated_at", "2016-12-02 15:48:24.033958"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.036082"], ["updated_at", "2016-12-02 15:48:24.036082"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.037045"], ["updated_at", "2016-12-02 15:48:24.037045"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.037965"], ["updated_at", "2016-12-02 15:48:24.037965"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.038927"], ["updated_at", "2016-12-02 15:48:24.038927"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.039942"], ["updated_at", "2016-12-02 15:48:24.039942"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.040935"], ["updated_at", "2016-12-02 15:48:24.040935"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.041919"], ["updated_at", "2016-12-02 15:48:24.041919"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.042851"], ["updated_at", "2016-12-02 15:48:24.042851"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.043777"], ["updated_at", "2016-12-02 15:48:24.043777"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.044697"], ["updated_at", "2016-12-02 15:48:24.044697"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.046801"], ["updated_at", "2016-12-02 15:48:24.046801"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.047807"], ["updated_at", "2016-12-02 15:48:24.047807"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.048733"], ["updated_at", "2016-12-02 15:48:24.048733"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.049654"], ["updated_at", "2016-12-02 15:48:24.049654"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.050549"], ["updated_at", "2016-12-02 15:48:24.050549"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.051422"], ["updated_at", "2016-12-02 15:48:24.051422"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.052281"], ["updated_at", "2016-12-02 15:48:24.052281"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.053140"], ["updated_at", "2016-12-02 15:48:24.053140"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.054150"], ["updated_at", "2016-12-02 15:48:24.054150"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.054982"], ["updated_at", "2016-12-02 15:48:24.054982"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.056184"], ["updated_at", "2016-12-02 15:48:24.056184"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.057165"], ["updated_at", "2016-12-02 15:48:24.057165"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.058016"], ["updated_at", "2016-12-02 15:48:24.058016"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.058851"], ["updated_at", "2016-12-02 15:48:24.058851"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.059755"], ["updated_at", "2016-12-02 15:48:24.059755"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.060742"], ["updated_at", "2016-12-02 15:48:24.060742"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.061718"], ["updated_at", "2016-12-02 15:48:24.061718"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.062627"], ["updated_at", "2016-12-02 15:48:24.062627"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.063494"], ["updated_at", "2016-12-02 15:48:24.063494"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.072095"], ["updated_at", "2016-12-02 15:48:24.072095"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.073156"], ["updated_at", "2016-12-02 15:48:24.073156"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.074087"], ["updated_at", "2016-12-02 15:48:24.074087"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.075022"], ["updated_at", "2016-12-02 15:48:24.075022"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.076003"], ["updated_at", "2016-12-02 15:48:24.076003"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.077015"], ["updated_at", "2016-12-02 15:48:24.077015"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.077984"], ["updated_at", "2016-12-02 15:48:24.077984"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.078983"], ["updated_at", "2016-12-02 15:48:24.078983"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.079930"], ["updated_at", "2016-12-02 15:48:24.079930"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.080810"], ["updated_at", "2016-12-02 15:48:24.080810"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 12:48:24 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Product Load (0.3ms) SELECT "products".* FROM "products" LIMIT 1 OFFSET 0 + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (12.6ms) + Rendered products/index.html.erb within layouts/application (18.3ms) +Completed 500 Internal Server Error in 25ms (ActiveRecord: 0.6ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.135415"], ["updated_at", "2016-12-02 15:48:24.135415"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.136790"], ["updated_at", "2016-12-02 15:48:24.136790"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.137822"], ["updated_at", "2016-12-02 15:48:24.137822"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.138836"], ["updated_at", "2016-12-02 15:48:24.138836"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.139804"], ["updated_at", "2016-12-02 15:48:24.139804"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.144552"], ["updated_at", "2016-12-02 15:48:24.144552"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.145648"], ["updated_at", "2016-12-02 15:48:24.145648"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.146643"], ["updated_at", "2016-12-02 15:48:24.146643"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.147571"], ["updated_at", "2016-12-02 15:48:24.147571"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:24.148471"], ["updated_at", "2016-12-02 15:48:24.148471"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 12:48:24 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Product Load (0.2ms) SELECT "products".* FROM "products" LIMIT 1 OFFSET 0 + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (9.9ms) + Rendered products/index.html.erb within layouts/application (11.1ms) +Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.4ms) +  (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 +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.563120"], ["updated_at", "2016-12-02 15:48:56.563120"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.567408"], ["updated_at", "2016-12-02 15:48:56.567408"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.569176"], ["updated_at", "2016-12-02 15:48:56.569176"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.570738"], ["updated_at", "2016-12-02 15:48:56.570738"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.572168"], ["updated_at", "2016-12-02 15:48:56.572168"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.573350"], ["updated_at", "2016-12-02 15:48:56.573350"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.574606"], ["updated_at", "2016-12-02 15:48:56.574606"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.575600"], ["updated_at", "2016-12-02 15:48:56.575600"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.576629"], ["updated_at", "2016-12-02 15:48:56.576629"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.577595"], ["updated_at", "2016-12-02 15:48:56.577595"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.580486"], ["updated_at", "2016-12-02 15:48:56.580486"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.581621"], ["updated_at", "2016-12-02 15:48:56.581621"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.583380"], ["updated_at", "2016-12-02 15:48:56.583380"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.584539"], ["updated_at", "2016-12-02 15:48:56.584539"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.585717"], ["updated_at", "2016-12-02 15:48:56.585717"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.586805"], ["updated_at", "2016-12-02 15:48:56.586805"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.587845"], ["updated_at", "2016-12-02 15:48:56.587845"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.588843"], ["updated_at", "2016-12-02 15:48:56.588843"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.589876"], ["updated_at", "2016-12-02 15:48:56.589876"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.592277"], ["updated_at", "2016-12-02 15:48:56.592277"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.595657"], ["updated_at", "2016-12-02 15:48:56.595657"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.596523"], ["updated_at", "2016-12-02 15:48:56.596523"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.597321"], ["updated_at", "2016-12-02 15:48:56.597321"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.598179"], ["updated_at", "2016-12-02 15:48:56.598179"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.598957"], ["updated_at", "2016-12-02 15:48:56.598957"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.599731"], ["updated_at", "2016-12-02 15:48:56.599731"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.600537"], ["updated_at", "2016-12-02 15:48:56.600537"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.601462"], ["updated_at", "2016-12-02 15:48:56.601462"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.602351"], ["updated_at", "2016-12-02 15:48:56.602351"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.603288"], ["updated_at", "2016-12-02 15:48:56.603288"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.605305"], ["updated_at", "2016-12-02 15:48:56.605305"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.606222"], ["updated_at", "2016-12-02 15:48:56.606222"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.607162"], ["updated_at", "2016-12-02 15:48:56.607162"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.608141"], ["updated_at", "2016-12-02 15:48:56.608141"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.609048"], ["updated_at", "2016-12-02 15:48:56.609048"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.610012"], ["updated_at", "2016-12-02 15:48:56.610012"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.610903"], ["updated_at", "2016-12-02 15:48:56.610903"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.611808"], ["updated_at", "2016-12-02 15:48:56.611808"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.612791"], ["updated_at", "2016-12-02 15:48:56.612791"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.613737"], ["updated_at", "2016-12-02 15:48:56.613737"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.614650"], ["updated_at", "2016-12-02 15:48:56.614650"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.615589"], ["updated_at", "2016-12-02 15:48:56.615589"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.616470"], ["updated_at", "2016-12-02 15:48:56.616470"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.617371"], ["updated_at", "2016-12-02 15:48:56.617371"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.618334"], ["updated_at", "2016-12-02 15:48:56.618334"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.619216"], ["updated_at", "2016-12-02 15:48:56.619216"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.620037"], ["updated_at", "2016-12-02 15:48:56.620037"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.620895"], ["updated_at", "2016-12-02 15:48:56.620895"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.621741"], ["updated_at", "2016-12-02 15:48:56.621741"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.628508"], ["updated_at", "2016-12-02 15:48:56.628508"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.629678"], ["updated_at", "2016-12-02 15:48:56.629678"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.630618"], ["updated_at", "2016-12-02 15:48:56.630618"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.631553"], ["updated_at", "2016-12-02 15:48:56.631553"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.632817"], ["updated_at", "2016-12-02 15:48:56.632817"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.634418"], ["updated_at", "2016-12-02 15:48:56.634418"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.636206"], ["updated_at", "2016-12-02 15:48:56.636206"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.637280"], ["updated_at", "2016-12-02 15:48:56.637280"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.638162"], ["updated_at", "2016-12-02 15:48:56.638162"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.639078"], ["updated_at", "2016-12-02 15:48:56.639078"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 12:48:56 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (6.0ms) + Rendered products/index.html.erb within layouts/application (9.9ms) +Completed 200 OK in 170ms (Views: 169.1ms | ActiveRecord: 0.3ms) +  (0.4ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.846494"], ["updated_at", "2016-12-02 15:48:56.846494"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.847860"], ["updated_at", "2016-12-02 15:48:56.847860"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.848979"], ["updated_at", "2016-12-02 15:48:56.848979"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.849940"], ["updated_at", "2016-12-02 15:48:56.849940"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.850847"], ["updated_at", "2016-12-02 15:48:56.850847"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.851844"], ["updated_at", "2016-12-02 15:48:56.851844"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.852790"], ["updated_at", "2016-12-02 15:48:56.852790"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.853815"], ["updated_at", "2016-12-02 15:48:56.853815"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.854791"], ["updated_at", "2016-12-02 15:48:56.854791"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:48:56.855619"], ["updated_at", "2016-12-02 15:48:56.855619"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 12:48:56 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.494595"], ["updated_at", "2016-12-02 15:50:31.494595"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.497797"], ["updated_at", "2016-12-02 15:50:31.497797"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.498855"], ["updated_at", "2016-12-02 15:50:31.498855"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.499909"], ["updated_at", "2016-12-02 15:50:31.499909"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.500945"], ["updated_at", "2016-12-02 15:50:31.500945"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.501943"], ["updated_at", "2016-12-02 15:50:31.501943"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.502947"], ["updated_at", "2016-12-02 15:50:31.502947"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.503881"], ["updated_at", "2016-12-02 15:50:31.503881"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.504794"], ["updated_at", "2016-12-02 15:50:31.504794"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.505753"], ["updated_at", "2016-12-02 15:50:31.505753"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.508436"], ["updated_at", "2016-12-02 15:50:31.508436"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.509437"], ["updated_at", "2016-12-02 15:50:31.509437"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.510359"], ["updated_at", "2016-12-02 15:50:31.510359"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.511262"], ["updated_at", "2016-12-02 15:50:31.511262"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.512235"], ["updated_at", "2016-12-02 15:50:31.512235"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.513287"], ["updated_at", "2016-12-02 15:50:31.513287"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.514319"], ["updated_at", "2016-12-02 15:50:31.514319"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.515281"], ["updated_at", "2016-12-02 15:50:31.515281"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.516177"], ["updated_at", "2016-12-02 15:50:31.516177"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.517041"], ["updated_at", "2016-12-02 15:50:31.517041"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.517972"], ["updated_at", "2016-12-02 15:50:31.517972"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.518839"], ["updated_at", "2016-12-02 15:50:31.518839"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.519798"], ["updated_at", "2016-12-02 15:50:31.519798"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.520760"], ["updated_at", "2016-12-02 15:50:31.520760"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.521806"], ["updated_at", "2016-12-02 15:50:31.521806"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.523437"], ["updated_at", "2016-12-02 15:50:31.523437"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.524760"], ["updated_at", "2016-12-02 15:50:31.524760"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.525883"], ["updated_at", "2016-12-02 15:50:31.525883"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.526956"], ["updated_at", "2016-12-02 15:50:31.526956"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.536068"], ["updated_at", "2016-12-02 15:50:31.536068"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.537262"], ["updated_at", "2016-12-02 15:50:31.537262"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.538347"], ["updated_at", "2016-12-02 15:50:31.538347"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.539375"], ["updated_at", "2016-12-02 15:50:31.539375"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.540439"], ["updated_at", "2016-12-02 15:50:31.540439"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.541444"], ["updated_at", "2016-12-02 15:50:31.541444"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.542383"], ["updated_at", "2016-12-02 15:50:31.542383"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.543281"], ["updated_at", "2016-12-02 15:50:31.543281"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.544175"], ["updated_at", "2016-12-02 15:50:31.544175"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.545054"], ["updated_at", "2016-12-02 15:50:31.545054"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.548290"], ["updated_at", "2016-12-02 15:50:31.548290"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.549262"], ["updated_at", "2016-12-02 15:50:31.549262"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.550119"], ["updated_at", "2016-12-02 15:50:31.550119"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.550982"], ["updated_at", "2016-12-02 15:50:31.550982"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.551884"], ["updated_at", "2016-12-02 15:50:31.551884"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.552823"], ["updated_at", "2016-12-02 15:50:31.552823"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.553720"], ["updated_at", "2016-12-02 15:50:31.553720"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.554626"], ["updated_at", "2016-12-02 15:50:31.554626"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.555531"], ["updated_at", "2016-12-02 15:50:31.555531"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.556526"], ["updated_at", "2016-12-02 15:50:31.556526"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.565342"], ["updated_at", "2016-12-02 15:50:31.565342"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.566687"], ["updated_at", "2016-12-02 15:50:31.566687"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.567985"], ["updated_at", "2016-12-02 15:50:31.567985"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.569312"], ["updated_at", "2016-12-02 15:50:31.569312"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.570776"], ["updated_at", "2016-12-02 15:50:31.570776"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.571983"], ["updated_at", "2016-12-02 15:50:31.571983"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.573099"], ["updated_at", "2016-12-02 15:50:31.573099"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.574307"], ["updated_at", "2016-12-02 15:50:31.574307"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.575636"], ["updated_at", "2016-12-02 15:50:31.575636"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.576905"], ["updated_at", "2016-12-02 15:50:31.576905"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 12:50:31 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.4ms) + Rendered products/index.html.erb within layouts/application (8.3ms) +Completed 200 OK in 174ms (Views: 173.3ms | ActiveRecord: 0.3ms) +  (0.4ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.787485"], ["updated_at", "2016-12-02 15:50:31.787485"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.789338"], ["updated_at", "2016-12-02 15:50:31.789338"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.790788"], ["updated_at", "2016-12-02 15:50:31.790788"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.792229"], ["updated_at", "2016-12-02 15:50:31.792229"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.793607"], ["updated_at", "2016-12-02 15:50:31.793607"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.794705"], ["updated_at", "2016-12-02 15:50:31.794705"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.795798"], ["updated_at", "2016-12-02 15:50:31.795798"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.796882"], ["updated_at", "2016-12-02 15:50:31.796882"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.797957"], ["updated_at", "2016-12-02 15:50:31.797957"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 15:50:31.798943"], ["updated_at", "2016-12-02 15:50:31.798943"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 12:50:31 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.681972"], ["updated_at", "2016-12-02 16:05:24.681972"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.685376"], ["updated_at", "2016-12-02 16:05:24.685376"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.687620"], ["updated_at", "2016-12-02 16:05:24.687620"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.689035"], ["updated_at", "2016-12-02 16:05:24.689035"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.690140"], ["updated_at", "2016-12-02 16:05:24.690140"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.691179"], ["updated_at", "2016-12-02 16:05:24.691179"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.692298"], ["updated_at", "2016-12-02 16:05:24.692298"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.693298"], ["updated_at", "2016-12-02 16:05:24.693298"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.694355"], ["updated_at", "2016-12-02 16:05:24.694355"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.695353"], ["updated_at", "2016-12-02 16:05:24.695353"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.698146"], ["updated_at", "2016-12-02 16:05:24.698146"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.699153"], ["updated_at", "2016-12-02 16:05:24.699153"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.700055"], ["updated_at", "2016-12-02 16:05:24.700055"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.700891"], ["updated_at", "2016-12-02 16:05:24.700891"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.701886"], ["updated_at", "2016-12-02 16:05:24.701886"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.702752"], ["updated_at", "2016-12-02 16:05:24.702752"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.703598"], ["updated_at", "2016-12-02 16:05:24.703598"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.704471"], ["updated_at", "2016-12-02 16:05:24.704471"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.705310"], ["updated_at", "2016-12-02 16:05:24.705310"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.706161"], ["updated_at", "2016-12-02 16:05:24.706161"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.708260"], ["updated_at", "2016-12-02 16:05:24.708260"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.709430"], ["updated_at", "2016-12-02 16:05:24.709430"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.710998"], ["updated_at", "2016-12-02 16:05:24.710998"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.712098"], ["updated_at", "2016-12-02 16:05:24.712098"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.713069"], ["updated_at", "2016-12-02 16:05:24.713069"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.714020"], ["updated_at", "2016-12-02 16:05:24.714020"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.715006"], ["updated_at", "2016-12-02 16:05:24.715006"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.717309"], ["updated_at", "2016-12-02 16:05:24.717309"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.718253"], ["updated_at", "2016-12-02 16:05:24.718253"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.719188"], ["updated_at", "2016-12-02 16:05:24.719188"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.722403"], ["updated_at", "2016-12-02 16:05:24.722403"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.723472"], ["updated_at", "2016-12-02 16:05:24.723472"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.724599"], ["updated_at", "2016-12-02 16:05:24.724599"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.725505"], ["updated_at", "2016-12-02 16:05:24.725505"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.726450"], ["updated_at", "2016-12-02 16:05:24.726450"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.727364"], ["updated_at", "2016-12-02 16:05:24.727364"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.728268"], ["updated_at", "2016-12-02 16:05:24.728268"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.729157"], ["updated_at", "2016-12-02 16:05:24.729157"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.730036"], ["updated_at", "2016-12-02 16:05:24.730036"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.730930"], ["updated_at", "2016-12-02 16:05:24.730930"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.731709"], ["updated_at", "2016-12-02 16:05:24.731709"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.732602"], ["updated_at", "2016-12-02 16:05:24.732602"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.733483"], ["updated_at", "2016-12-02 16:05:24.733483"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.734344"], ["updated_at", "2016-12-02 16:05:24.734344"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.735143"], ["updated_at", "2016-12-02 16:05:24.735143"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.736064"], ["updated_at", "2016-12-02 16:05:24.736064"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.736997"], ["updated_at", "2016-12-02 16:05:24.736997"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.737983"], ["updated_at", "2016-12-02 16:05:24.737983"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.738869"], ["updated_at", "2016-12-02 16:05:24.738869"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.745759"], ["updated_at", "2016-12-02 16:05:24.745759"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.746792"], ["updated_at", "2016-12-02 16:05:24.746792"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.747710"], ["updated_at", "2016-12-02 16:05:24.747710"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.748718"], ["updated_at", "2016-12-02 16:05:24.748718"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.749668"], ["updated_at", "2016-12-02 16:05:24.749668"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.750627"], ["updated_at", "2016-12-02 16:05:24.750627"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.751576"], ["updated_at", "2016-12-02 16:05:24.751576"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.752558"], ["updated_at", "2016-12-02 16:05:24.752558"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.753507"], ["updated_at", "2016-12-02 16:05:24.753507"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.754485"], ["updated_at", "2016-12-02 16:05:24.754485"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 13:05:24 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.0ms) + Rendered products/index.html.erb within layouts/application (7.9ms) +Completed 200 OK in 157ms (Views: 156.9ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.940975"], ["updated_at", "2016-12-02 16:05:24.940975"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.942171"], ["updated_at", "2016-12-02 16:05:24.942171"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.943130"], ["updated_at", "2016-12-02 16:05:24.943130"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.944086"], ["updated_at", "2016-12-02 16:05:24.944086"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.945022"], ["updated_at", "2016-12-02 16:05:24.945022"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.945935"], ["updated_at", "2016-12-02 16:05:24.945935"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.946965"], ["updated_at", "2016-12-02 16:05:24.946965"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.947956"], ["updated_at", "2016-12-02 16:05:24.947956"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.948853"], ["updated_at", "2016-12-02 16:05:24.948853"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:24.949784"], ["updated_at", "2016-12-02 16:05:24.949784"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 13:05:24 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) +Started GET "/api?page=2" for 127.0.0.1 at 2016-12-02 13:05:24 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.3ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (1.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:56.792853"], ["updated_at", "2016-12-02 16:05:56.792853"]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:56.799591"], ["updated_at", "2016-12-02 16:05:56.799591"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:56.801183"], ["updated_at", "2016-12-02 16:05:56.801183"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:56.802847"], ["updated_at", "2016-12-02 16:05:56.802847"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:56.804284"], ["updated_at", "2016-12-02 16:05:56.804284"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:56.806904"], ["updated_at", "2016-12-02 16:05:56.806904"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:56.808220"], ["updated_at", "2016-12-02 16:05:56.808220"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:56.809205"], ["updated_at", "2016-12-02 16:05:56.809205"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:56.810222"], ["updated_at", "2016-12-02 16:05:56.810222"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:56.811164"], ["updated_at", "2016-12-02 16:05:56.811164"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 13:05:56 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.8ms) + Rendered products/index.html.erb within layouts/application (7.9ms) +Completed 200 OK in 172ms (Views: 170.7ms | ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.012426"], ["updated_at", "2016-12-02 16:05:57.012426"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.014054"], ["updated_at", "2016-12-02 16:05:57.014054"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.015551"], ["updated_at", "2016-12-02 16:05:57.015551"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.017040"], ["updated_at", "2016-12-02 16:05:57.017040"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.018696"], ["updated_at", "2016-12-02 16:05:57.018696"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.020089"], ["updated_at", "2016-12-02 16:05:57.020089"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.021205"], ["updated_at", "2016-12-02 16:05:57.021205"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.022191"], ["updated_at", "2016-12-02 16:05:57.022191"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.023163"], ["updated_at", "2016-12-02 16:05:57.023163"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.024127"], ["updated_at", "2016-12-02 16:05:57.024127"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 13:05:57 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +Started GET "/api?page=2" for 127.0.0.1 at 2016-12-02 13:05:57 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.035946"], ["updated_at", "2016-12-02 16:05:57.035946"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.037124"], ["updated_at", "2016-12-02 16:05:57.037124"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.038079"], ["updated_at", "2016-12-02 16:05:57.038079"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.038977"], ["updated_at", "2016-12-02 16:05:57.038977"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.039929"], ["updated_at", "2016-12-02 16:05:57.039929"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.040954"], ["updated_at", "2016-12-02 16:05:57.040954"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.042144"], ["updated_at", "2016-12-02 16:05:57.042144"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.043100"], ["updated_at", "2016-12-02 16:05:57.043100"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.044011"], ["updated_at", "2016-12-02 16:05:57.044011"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.045018"], ["updated_at", "2016-12-02 16:05:57.045018"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.047336"], ["updated_at", "2016-12-02 16:05:57.047336"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.048384"], ["updated_at", "2016-12-02 16:05:57.048384"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.049276"], ["updated_at", "2016-12-02 16:05:57.049276"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.050150"], ["updated_at", "2016-12-02 16:05:57.050150"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.051014"], ["updated_at", "2016-12-02 16:05:57.051014"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.051820"], ["updated_at", "2016-12-02 16:05:57.051820"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.052810"], ["updated_at", "2016-12-02 16:05:57.052810"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.053749"], ["updated_at", "2016-12-02 16:05:57.053749"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.054713"], ["updated_at", "2016-12-02 16:05:57.054713"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.055626"], ["updated_at", "2016-12-02 16:05:57.055626"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.057822"], ["updated_at", "2016-12-02 16:05:57.057822"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.058815"], ["updated_at", "2016-12-02 16:05:57.058815"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.059653"], ["updated_at", "2016-12-02 16:05:57.059653"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.060561"], ["updated_at", "2016-12-02 16:05:57.060561"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.061484"], ["updated_at", "2016-12-02 16:05:57.061484"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.062319"], ["updated_at", "2016-12-02 16:05:57.062319"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.063189"], ["updated_at", "2016-12-02 16:05:57.063189"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.064086"], ["updated_at", "2016-12-02 16:05:57.064086"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.064973"], ["updated_at", "2016-12-02 16:05:57.064973"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.065856"], ["updated_at", "2016-12-02 16:05:57.065856"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.066726"], ["updated_at", "2016-12-02 16:05:57.066726"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.067661"], ["updated_at", "2016-12-02 16:05:57.067661"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.068648"], ["updated_at", "2016-12-02 16:05:57.068648"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.069658"], ["updated_at", "2016-12-02 16:05:57.069658"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.070625"], ["updated_at", "2016-12-02 16:05:57.070625"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.071443"], ["updated_at", "2016-12-02 16:05:57.071443"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.072339"], ["updated_at", "2016-12-02 16:05:57.072339"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.073284"], ["updated_at", "2016-12-02 16:05:57.073284"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.074177"], ["updated_at", "2016-12-02 16:05:57.074177"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.081412"], ["updated_at", "2016-12-02 16:05:57.081412"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.082495"], ["updated_at", "2016-12-02 16:05:57.082495"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.083374"], ["updated_at", "2016-12-02 16:05:57.083374"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.084239"], ["updated_at", "2016-12-02 16:05:57.084239"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.085059"], ["updated_at", "2016-12-02 16:05:57.085059"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.085989"], ["updated_at", "2016-12-02 16:05:57.085989"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.086836"], ["updated_at", "2016-12-02 16:05:57.086836"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.087733"], ["updated_at", "2016-12-02 16:05:57.087733"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.088827"], ["updated_at", "2016-12-02 16:05:57.088827"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:05:57.089746"], ["updated_at", "2016-12-02 16:05:57.089746"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.037382"], ["updated_at", "2016-12-02 16:06:19.037382"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.041957"], ["updated_at", "2016-12-02 16:06:19.041957"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.043163"], ["updated_at", "2016-12-02 16:06:19.043163"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.044497"], ["updated_at", "2016-12-02 16:06:19.044497"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.045715"], ["updated_at", "2016-12-02 16:06:19.045715"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.046988"], ["updated_at", "2016-12-02 16:06:19.046988"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.048200"], ["updated_at", "2016-12-02 16:06:19.048200"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.049366"], ["updated_at", "2016-12-02 16:06:19.049366"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.050525"], ["updated_at", "2016-12-02 16:06:19.050525"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.051514"], ["updated_at", "2016-12-02 16:06:19.051514"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.055319"], ["updated_at", "2016-12-02 16:06:19.055319"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.056516"], ["updated_at", "2016-12-02 16:06:19.056516"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.057467"], ["updated_at", "2016-12-02 16:06:19.057467"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.058390"], ["updated_at", "2016-12-02 16:06:19.058390"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.059332"], ["updated_at", "2016-12-02 16:06:19.059332"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.061640"], ["updated_at", "2016-12-02 16:06:19.061640"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.062648"], ["updated_at", "2016-12-02 16:06:19.062648"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.063481"], ["updated_at", "2016-12-02 16:06:19.063481"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.064285"], ["updated_at", "2016-12-02 16:06:19.064285"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.065126"], ["updated_at", "2016-12-02 16:06:19.065126"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.067315"], ["updated_at", "2016-12-02 16:06:19.067315"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.068228"], ["updated_at", "2016-12-02 16:06:19.068228"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.069002"], ["updated_at", "2016-12-02 16:06:19.069002"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.069957"], ["updated_at", "2016-12-02 16:06:19.069957"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.070893"], ["updated_at", "2016-12-02 16:06:19.070893"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.071794"], ["updated_at", "2016-12-02 16:06:19.071794"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.072701"], ["updated_at", "2016-12-02 16:06:19.072701"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.073661"], ["updated_at", "2016-12-02 16:06:19.073661"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.074523"], ["updated_at", "2016-12-02 16:06:19.074523"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.075278"], ["updated_at", "2016-12-02 16:06:19.075278"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.077329"], ["updated_at", "2016-12-02 16:06:19.077329"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.078294"], ["updated_at", "2016-12-02 16:06:19.078294"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.079221"], ["updated_at", "2016-12-02 16:06:19.079221"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.080130"], ["updated_at", "2016-12-02 16:06:19.080130"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.081071"], ["updated_at", "2016-12-02 16:06:19.081071"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.081968"], ["updated_at", "2016-12-02 16:06:19.081968"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.082907"], ["updated_at", "2016-12-02 16:06:19.082907"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.083771"], ["updated_at", "2016-12-02 16:06:19.083771"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.084670"], ["updated_at", "2016-12-02 16:06:19.084670"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.085655"], ["updated_at", "2016-12-02 16:06:19.085655"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.086586"], ["updated_at", "2016-12-02 16:06:19.086586"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.087418"], ["updated_at", "2016-12-02 16:06:19.087418"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.088317"], ["updated_at", "2016-12-02 16:06:19.088317"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.089148"], ["updated_at", "2016-12-02 16:06:19.089148"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.089995"], ["updated_at", "2016-12-02 16:06:19.089995"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.090854"], ["updated_at", "2016-12-02 16:06:19.090854"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.091788"], ["updated_at", "2016-12-02 16:06:19.091788"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.092662"], ["updated_at", "2016-12-02 16:06:19.092662"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.093516"], ["updated_at", "2016-12-02 16:06:19.093516"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.100825"], ["updated_at", "2016-12-02 16:06:19.100825"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.102072"], ["updated_at", "2016-12-02 16:06:19.102072"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.103031"], ["updated_at", "2016-12-02 16:06:19.103031"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.104020"], ["updated_at", "2016-12-02 16:06:19.104020"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.104950"], ["updated_at", "2016-12-02 16:06:19.104950"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.105902"], ["updated_at", "2016-12-02 16:06:19.105902"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.106815"], ["updated_at", "2016-12-02 16:06:19.106815"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.107793"], ["updated_at", "2016-12-02 16:06:19.107793"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.108660"], ["updated_at", "2016-12-02 16:06:19.108660"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.109466"], ["updated_at", "2016-12-02 16:06:19.109466"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 13:06:19 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.5ms) + Rendered products/index.html.erb within layouts/application (8.5ms) +Completed 200 OK in 168ms (Views: 167.4ms | ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.307515"], ["updated_at", "2016-12-02 16:06:19.307515"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.309244"], ["updated_at", "2016-12-02 16:06:19.309244"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.310702"], ["updated_at", "2016-12-02 16:06:19.310702"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.312087"], ["updated_at", "2016-12-02 16:06:19.312087"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.313571"], ["updated_at", "2016-12-02 16:06:19.313571"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.314659"], ["updated_at", "2016-12-02 16:06:19.314659"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.315619"], ["updated_at", "2016-12-02 16:06:19.315619"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.316567"], ["updated_at", "2016-12-02 16:06:19.316567"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.317530"], ["updated_at", "2016-12-02 16:06:19.317530"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:06:19.318472"], ["updated_at", "2016-12-02 16:06:19.318472"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 13:06:19 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/api?page=2" for 127.0.0.1 at 2016-12-02 13:06:19 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.506515"], ["updated_at", "2016-12-02 16:07:29.506515"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.512120"], ["updated_at", "2016-12-02 16:07:29.512120"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.513804"], ["updated_at", "2016-12-02 16:07:29.513804"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.515191"], ["updated_at", "2016-12-02 16:07:29.515191"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.516314"], ["updated_at", "2016-12-02 16:07:29.516314"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.517353"], ["updated_at", "2016-12-02 16:07:29.517353"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.518340"], ["updated_at", "2016-12-02 16:07:29.518340"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.519482"], ["updated_at", "2016-12-02 16:07:29.519482"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.520562"], ["updated_at", "2016-12-02 16:07:29.520562"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.521507"], ["updated_at", "2016-12-02 16:07:29.521507"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.523898"], ["updated_at", "2016-12-02 16:07:29.523898"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.524815"], ["updated_at", "2016-12-02 16:07:29.524815"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.525707"], ["updated_at", "2016-12-02 16:07:29.525707"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.526610"], ["updated_at", "2016-12-02 16:07:29.526610"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.527428"], ["updated_at", "2016-12-02 16:07:29.527428"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.528292"], ["updated_at", "2016-12-02 16:07:29.528292"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.529198"], ["updated_at", "2016-12-02 16:07:29.529198"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.530105"], ["updated_at", "2016-12-02 16:07:29.530105"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.531240"], ["updated_at", "2016-12-02 16:07:29.531240"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.532828"], ["updated_at", "2016-12-02 16:07:29.532828"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.535368"], ["updated_at", "2016-12-02 16:07:29.535368"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.536422"], ["updated_at", "2016-12-02 16:07:29.536422"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.538674"], ["updated_at", "2016-12-02 16:07:29.538674"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.539874"], ["updated_at", "2016-12-02 16:07:29.539874"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.540750"], ["updated_at", "2016-12-02 16:07:29.540750"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.541668"], ["updated_at", "2016-12-02 16:07:29.541668"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.542515"], ["updated_at", "2016-12-02 16:07:29.542515"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.543336"], ["updated_at", "2016-12-02 16:07:29.543336"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.544549"], ["updated_at", "2016-12-02 16:07:29.544549"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.546891"], ["updated_at", "2016-12-02 16:07:29.546891"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.549261"], ["updated_at", "2016-12-02 16:07:29.549261"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.550213"], ["updated_at", "2016-12-02 16:07:29.550213"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.551115"], ["updated_at", "2016-12-02 16:07:29.551115"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.551970"], ["updated_at", "2016-12-02 16:07:29.551970"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.552867"], ["updated_at", "2016-12-02 16:07:29.552867"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.553802"], ["updated_at", "2016-12-02 16:07:29.553802"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.554679"], ["updated_at", "2016-12-02 16:07:29.554679"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.555525"], ["updated_at", "2016-12-02 16:07:29.555525"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.556380"], ["updated_at", "2016-12-02 16:07:29.556380"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.557251"], ["updated_at", "2016-12-02 16:07:29.557251"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.558062"], ["updated_at", "2016-12-02 16:07:29.558062"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.558864"], ["updated_at", "2016-12-02 16:07:29.558864"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.559726"], ["updated_at", "2016-12-02 16:07:29.559726"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.560638"], ["updated_at", "2016-12-02 16:07:29.560638"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.561545"], ["updated_at", "2016-12-02 16:07:29.561545"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.562420"], ["updated_at", "2016-12-02 16:07:29.562420"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.563284"], ["updated_at", "2016-12-02 16:07:29.563284"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.564352"], ["updated_at", "2016-12-02 16:07:29.564352"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.565313"], ["updated_at", "2016-12-02 16:07:29.565313"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.572642"], ["updated_at", "2016-12-02 16:07:29.572642"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.573770"], ["updated_at", "2016-12-02 16:07:29.573770"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.574701"], ["updated_at", "2016-12-02 16:07:29.574701"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.575728"], ["updated_at", "2016-12-02 16:07:29.575728"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.576677"], ["updated_at", "2016-12-02 16:07:29.576677"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.577652"], ["updated_at", "2016-12-02 16:07:29.577652"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.578746"], ["updated_at", "2016-12-02 16:07:29.578746"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.579761"], ["updated_at", "2016-12-02 16:07:29.579761"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.580605"], ["updated_at", "2016-12-02 16:07:29.580605"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.581436"], ["updated_at", "2016-12-02 16:07:29.581436"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 13:07:29 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.2ms) + Rendered products/index.html.erb within layouts/application (8.1ms) +Completed 200 OK in 165ms (Views: 164.9ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.776408"], ["updated_at", "2016-12-02 16:07:29.776408"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.777662"], ["updated_at", "2016-12-02 16:07:29.777662"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.778673"], ["updated_at", "2016-12-02 16:07:29.778673"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.779643"], ["updated_at", "2016-12-02 16:07:29.779643"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.780632"], ["updated_at", "2016-12-02 16:07:29.780632"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.781539"], ["updated_at", "2016-12-02 16:07:29.781539"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.782521"], ["updated_at", "2016-12-02 16:07:29.782521"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.783440"], ["updated_at", "2016-12-02 16:07:29.783440"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.784376"], ["updated_at", "2016-12-02 16:07:29.784376"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:07:29.785262"], ["updated_at", "2016-12-02 16:07:29.785262"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 13:07:29 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +Started GET "/api?page=2" for 127.0.0.1 at 2016-12-02 13:07:29 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.2ms) SAVEPOINT active_record_1 + SQL (1.0ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.542760"], ["updated_at", "2016-12-02 16:09:10.542760"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.549461"], ["updated_at", "2016-12-02 16:09:10.549461"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.551242"], ["updated_at", "2016-12-02 16:09:10.551242"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.552906"], ["updated_at", "2016-12-02 16:09:10.552906"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.554386"], ["updated_at", "2016-12-02 16:09:10.554386"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.555404"], ["updated_at", "2016-12-02 16:09:10.555404"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.556437"], ["updated_at", "2016-12-02 16:09:10.556437"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.557463"], ["updated_at", "2016-12-02 16:09:10.557463"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.558459"], ["updated_at", "2016-12-02 16:09:10.558459"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.559518"], ["updated_at", "2016-12-02 16:09:10.559518"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.563173"], ["updated_at", "2016-12-02 16:09:10.563173"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.564577"], ["updated_at", "2016-12-02 16:09:10.564577"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.565587"], ["updated_at", "2016-12-02 16:09:10.565587"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.566590"], ["updated_at", "2016-12-02 16:09:10.566590"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.567569"], ["updated_at", "2016-12-02 16:09:10.567569"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.569987"], ["updated_at", "2016-12-02 16:09:10.569987"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.570986"], ["updated_at", "2016-12-02 16:09:10.570986"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.571873"], ["updated_at", "2016-12-02 16:09:10.571873"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.572749"], ["updated_at", "2016-12-02 16:09:10.572749"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.573590"], ["updated_at", "2016-12-02 16:09:10.573590"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.576837"], ["updated_at", "2016-12-02 16:09:10.576837"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.577965"], ["updated_at", "2016-12-02 16:09:10.577965"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.579022"], ["updated_at", "2016-12-02 16:09:10.579022"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.579993"], ["updated_at", "2016-12-02 16:09:10.579993"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.580982"], ["updated_at", "2016-12-02 16:09:10.580982"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.581822"], ["updated_at", "2016-12-02 16:09:10.581822"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.582658"], ["updated_at", "2016-12-02 16:09:10.582658"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.583519"], ["updated_at", "2016-12-02 16:09:10.583519"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.584333"], ["updated_at", "2016-12-02 16:09:10.584333"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.585097"], ["updated_at", "2016-12-02 16:09:10.585097"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.585865"], ["updated_at", "2016-12-02 16:09:10.585865"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.586689"], ["updated_at", "2016-12-02 16:09:10.586689"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.587499"], ["updated_at", "2016-12-02 16:09:10.587499"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.588323"], ["updated_at", "2016-12-02 16:09:10.588323"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.589136"], ["updated_at", "2016-12-02 16:09:10.589136"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.589985"], ["updated_at", "2016-12-02 16:09:10.589985"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.590931"], ["updated_at", "2016-12-02 16:09:10.590931"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.591814"], ["updated_at", "2016-12-02 16:09:10.591814"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.592733"], ["updated_at", "2016-12-02 16:09:10.592733"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.598774"], ["updated_at", "2016-12-02 16:09:10.598774"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.599838"], ["updated_at", "2016-12-02 16:09:10.599838"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.600935"], ["updated_at", "2016-12-02 16:09:10.600935"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.601901"], ["updated_at", "2016-12-02 16:09:10.601901"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.602770"], ["updated_at", "2016-12-02 16:09:10.602770"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.603786"], ["updated_at", "2016-12-02 16:09:10.603786"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.604821"], ["updated_at", "2016-12-02 16:09:10.604821"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.605847"], ["updated_at", "2016-12-02 16:09:10.605847"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.606771"], ["updated_at", "2016-12-02 16:09:10.606771"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.607691"], ["updated_at", "2016-12-02 16:09:10.607691"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.611188"], ["updated_at", "2016-12-02 16:09:10.611188"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.612256"], ["updated_at", "2016-12-02 16:09:10.612256"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.613252"], ["updated_at", "2016-12-02 16:09:10.613252"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.614159"], ["updated_at", "2016-12-02 16:09:10.614159"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.615226"], ["updated_at", "2016-12-02 16:09:10.615226"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.616173"], ["updated_at", "2016-12-02 16:09:10.616173"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.617135"], ["updated_at", "2016-12-02 16:09:10.617135"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.617977"], ["updated_at", "2016-12-02 16:09:10.617977"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.618843"], ["updated_at", "2016-12-02 16:09:10.618843"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.619710"], ["updated_at", "2016-12-02 16:09:10.619710"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 13:09:10 -0300 +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.645211"], ["updated_at", "2016-12-02 16:09:10.645211"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.646489"], ["updated_at", "2016-12-02 16:09:10.646489"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.647578"], ["updated_at", "2016-12-02 16:09:10.647578"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.648563"], ["updated_at", "2016-12-02 16:09:10.648563"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.649749"], ["updated_at", "2016-12-02 16:09:10.649749"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.650683"], ["updated_at", "2016-12-02 16:09:10.650683"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.651604"], ["updated_at", "2016-12-02 16:09:10.651604"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.652508"], ["updated_at", "2016-12-02 16:09:10.652508"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.653411"], ["updated_at", "2016-12-02 16:09:10.653411"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:10.654250"], ["updated_at", "2016-12-02 16:09:10.654250"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 13:09:10 -0300 +Processing by ProductsController#index as HTML + Rendered products/index.html.erb within layouts/application (2.2ms) +Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.305240"], ["updated_at", "2016-12-02 16:09:38.305240"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.308417"], ["updated_at", "2016-12-02 16:09:38.308417"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.309450"], ["updated_at", "2016-12-02 16:09:38.309450"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.310449"], ["updated_at", "2016-12-02 16:09:38.310449"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.311410"], ["updated_at", "2016-12-02 16:09:38.311410"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.312387"], ["updated_at", "2016-12-02 16:09:38.312387"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.313312"], ["updated_at", "2016-12-02 16:09:38.313312"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.314217"], ["updated_at", "2016-12-02 16:09:38.314217"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.315199"], ["updated_at", "2016-12-02 16:09:38.315199"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.316115"], ["updated_at", "2016-12-02 16:09:38.316115"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.318277"], ["updated_at", "2016-12-02 16:09:38.318277"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.319192"], ["updated_at", "2016-12-02 16:09:38.319192"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.320156"], ["updated_at", "2016-12-02 16:09:38.320156"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.321094"], ["updated_at", "2016-12-02 16:09:38.321094"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.322007"], ["updated_at", "2016-12-02 16:09:38.322007"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.323178"], ["updated_at", "2016-12-02 16:09:38.323178"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.324158"], ["updated_at", "2016-12-02 16:09:38.324158"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.325041"], ["updated_at", "2016-12-02 16:09:38.325041"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.325970"], ["updated_at", "2016-12-02 16:09:38.325970"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.326846"], ["updated_at", "2016-12-02 16:09:38.326846"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.328827"], ["updated_at", "2016-12-02 16:09:38.328827"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.329830"], ["updated_at", "2016-12-02 16:09:38.329830"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.330700"], ["updated_at", "2016-12-02 16:09:38.330700"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.332105"], ["updated_at", "2016-12-02 16:09:38.332105"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.333599"], ["updated_at", "2016-12-02 16:09:38.333599"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.334654"], ["updated_at", "2016-12-02 16:09:38.334654"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.335591"], ["updated_at", "2016-12-02 16:09:38.335591"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.336506"], ["updated_at", "2016-12-02 16:09:38.336506"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.337392"], ["updated_at", "2016-12-02 16:09:38.337392"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.338305"], ["updated_at", "2016-12-02 16:09:38.338305"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.341904"], ["updated_at", "2016-12-02 16:09:38.341904"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.343090"], ["updated_at", "2016-12-02 16:09:38.343090"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.344132"], ["updated_at", "2016-12-02 16:09:38.344132"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.345001"], ["updated_at", "2016-12-02 16:09:38.345001"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.345925"], ["updated_at", "2016-12-02 16:09:38.345925"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.346830"], ["updated_at", "2016-12-02 16:09:38.346830"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.347696"], ["updated_at", "2016-12-02 16:09:38.347696"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.348532"], ["updated_at", "2016-12-02 16:09:38.348532"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.349452"], ["updated_at", "2016-12-02 16:09:38.349452"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.350407"], ["updated_at", "2016-12-02 16:09:38.350407"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.351331"], ["updated_at", "2016-12-02 16:09:38.351331"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.352211"], ["updated_at", "2016-12-02 16:09:38.352211"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.353056"], ["updated_at", "2016-12-02 16:09:38.353056"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.353899"], ["updated_at", "2016-12-02 16:09:38.353899"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.354777"], ["updated_at", "2016-12-02 16:09:38.354777"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.355612"], ["updated_at", "2016-12-02 16:09:38.355612"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.356479"], ["updated_at", "2016-12-02 16:09:38.356479"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.357616"], ["updated_at", "2016-12-02 16:09:38.357616"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.358710"], ["updated_at", "2016-12-02 16:09:38.358710"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.368919"], ["updated_at", "2016-12-02 16:09:38.368919"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.370379"], ["updated_at", "2016-12-02 16:09:38.370379"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.371435"], ["updated_at", "2016-12-02 16:09:38.371435"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.372407"], ["updated_at", "2016-12-02 16:09:38.372407"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.373337"], ["updated_at", "2016-12-02 16:09:38.373337"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.374264"], ["updated_at", "2016-12-02 16:09:38.374264"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.375222"], ["updated_at", "2016-12-02 16:09:38.375222"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.376250"], ["updated_at", "2016-12-02 16:09:38.376250"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.377177"], ["updated_at", "2016-12-02 16:09:38.377177"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.378018"], ["updated_at", "2016-12-02 16:09:38.378018"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 13:09:38 -0300 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.403981"], ["updated_at", "2016-12-02 16:09:38.403981"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.405310"], ["updated_at", "2016-12-02 16:09:38.405310"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.406305"], ["updated_at", "2016-12-02 16:09:38.406305"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.407264"], ["updated_at", "2016-12-02 16:09:38.407264"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.408403"], ["updated_at", "2016-12-02 16:09:38.408403"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.409447"], ["updated_at", "2016-12-02 16:09:38.409447"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.410398"], ["updated_at", "2016-12-02 16:09:38.410398"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.411349"], ["updated_at", "2016-12-02 16:09:38.411349"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.412285"], ["updated_at", "2016-12-02 16:09:38.412285"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:38.413294"], ["updated_at", "2016-12-02 16:09:38.413294"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 13:09:38 -0300 +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.3ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.006738"], ["updated_at", "2016-12-02 16:09:53.006738"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.011351"], ["updated_at", "2016-12-02 16:09:53.011351"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.013184"], ["updated_at", "2016-12-02 16:09:53.013184"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.014604"], ["updated_at", "2016-12-02 16:09:53.014604"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.016141"], ["updated_at", "2016-12-02 16:09:53.016141"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.017443"], ["updated_at", "2016-12-02 16:09:53.017443"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.018464"], ["updated_at", "2016-12-02 16:09:53.018464"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.019482"], ["updated_at", "2016-12-02 16:09:53.019482"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.020508"], ["updated_at", "2016-12-02 16:09:53.020508"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.021516"], ["updated_at", "2016-12-02 16:09:53.021516"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 13:09:53 -0300 +Processing by ProductsController#site as HTML +Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.058791"], ["updated_at", "2016-12-02 16:09:53.058791"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.060010"], ["updated_at", "2016-12-02 16:09:53.060010"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.061048"], ["updated_at", "2016-12-02 16:09:53.061048"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.062044"], ["updated_at", "2016-12-02 16:09:53.062044"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.062983"], ["updated_at", "2016-12-02 16:09:53.062983"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.063952"], ["updated_at", "2016-12-02 16:09:53.063952"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.064931"], ["updated_at", "2016-12-02 16:09:53.064931"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.065901"], ["updated_at", "2016-12-02 16:09:53.065901"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.066848"], ["updated_at", "2016-12-02 16:09:53.066848"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.067789"], ["updated_at", "2016-12-02 16:09:53.067789"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 13:09:53 -0300 +Processing by ProductsController#api as HTML +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.075315"], ["updated_at", "2016-12-02 16:09:53.075315"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.076587"], ["updated_at", "2016-12-02 16:09:53.076587"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.077611"], ["updated_at", "2016-12-02 16:09:53.077611"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.078632"], ["updated_at", "2016-12-02 16:09:53.078632"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.079655"], ["updated_at", "2016-12-02 16:09:53.079655"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.080673"], ["updated_at", "2016-12-02 16:09:53.080673"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.081591"], ["updated_at", "2016-12-02 16:09:53.081591"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.082566"], ["updated_at", "2016-12-02 16:09:53.082566"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.083662"], ["updated_at", "2016-12-02 16:09:53.083662"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.084628"], ["updated_at", "2016-12-02 16:09:53.084628"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.085681"], ["updated_at", "2016-12-02 16:09:53.085681"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.086612"], ["updated_at", "2016-12-02 16:09:53.086612"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.087626"], ["updated_at", "2016-12-02 16:09:53.087626"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.088559"], ["updated_at", "2016-12-02 16:09:53.088559"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.089445"], ["updated_at", "2016-12-02 16:09:53.089445"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.090370"], ["updated_at", "2016-12-02 16:09:53.090370"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.091262"], ["updated_at", "2016-12-02 16:09:53.091262"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.092142"], ["updated_at", "2016-12-02 16:09:53.092142"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.093053"], ["updated_at", "2016-12-02 16:09:53.093053"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.100558"], ["updated_at", "2016-12-02 16:09:53.100558"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.101628"], ["updated_at", "2016-12-02 16:09:53.101628"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.102576"], ["updated_at", "2016-12-02 16:09:53.102576"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.103543"], ["updated_at", "2016-12-02 16:09:53.103543"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.104627"], ["updated_at", "2016-12-02 16:09:53.104627"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.105615"], ["updated_at", "2016-12-02 16:09:53.105615"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.106576"], ["updated_at", "2016-12-02 16:09:53.106576"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.107448"], ["updated_at", "2016-12-02 16:09:53.107448"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.108445"], ["updated_at", "2016-12-02 16:09:53.108445"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.109421"], ["updated_at", "2016-12-02 16:09:53.109421"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.111773"], ["updated_at", "2016-12-02 16:09:53.111773"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.112852"], ["updated_at", "2016-12-02 16:09:53.112852"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.113738"], ["updated_at", "2016-12-02 16:09:53.113738"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.114584"], ["updated_at", "2016-12-02 16:09:53.114584"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.115440"], ["updated_at", "2016-12-02 16:09:53.115440"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.116353"], ["updated_at", "2016-12-02 16:09:53.116353"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.117291"], ["updated_at", "2016-12-02 16:09:53.117291"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.118196"], ["updated_at", "2016-12-02 16:09:53.118196"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.119103"], ["updated_at", "2016-12-02 16:09:53.119103"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.120030"], ["updated_at", "2016-12-02 16:09:53.120030"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.122115"], ["updated_at", "2016-12-02 16:09:53.122115"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.122919"], ["updated_at", "2016-12-02 16:09:53.122919"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.123694"], ["updated_at", "2016-12-02 16:09:53.123694"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.124615"], ["updated_at", "2016-12-02 16:09:53.124615"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.125502"], ["updated_at", "2016-12-02 16:09:53.125502"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.126347"], ["updated_at", "2016-12-02 16:09:53.126347"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.127201"], ["updated_at", "2016-12-02 16:09:53.127201"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.128131"], ["updated_at", "2016-12-02 16:09:53.128131"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.129118"], ["updated_at", "2016-12-02 16:09:53.129118"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:09:53.130092"], ["updated_at", "2016-12-02 16:09:53.130092"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.759043"], ["updated_at", "2016-12-02 16:10:06.759043"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.762130"], ["updated_at", "2016-12-02 16:10:06.762130"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.763193"], ["updated_at", "2016-12-02 16:10:06.763193"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.764196"], ["updated_at", "2016-12-02 16:10:06.764196"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.765178"], ["updated_at", "2016-12-02 16:10:06.765178"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.766149"], ["updated_at", "2016-12-02 16:10:06.766149"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.767089"], ["updated_at", "2016-12-02 16:10:06.767089"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.767999"], ["updated_at", "2016-12-02 16:10:06.767999"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.769031"], ["updated_at", "2016-12-02 16:10:06.769031"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.770061"], ["updated_at", "2016-12-02 16:10:06.770061"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.772523"], ["updated_at", "2016-12-02 16:10:06.772523"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.773544"], ["updated_at", "2016-12-02 16:10:06.773544"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.774483"], ["updated_at", "2016-12-02 16:10:06.774483"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.775417"], ["updated_at", "2016-12-02 16:10:06.775417"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.776290"], ["updated_at", "2016-12-02 16:10:06.776290"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.777131"], ["updated_at", "2016-12-02 16:10:06.777131"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.778061"], ["updated_at", "2016-12-02 16:10:06.778061"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.778922"], ["updated_at", "2016-12-02 16:10:06.778922"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.779805"], ["updated_at", "2016-12-02 16:10:06.779805"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.780668"], ["updated_at", "2016-12-02 16:10:06.780668"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.782641"], ["updated_at", "2016-12-02 16:10:06.782641"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.783514"], ["updated_at", "2016-12-02 16:10:06.783514"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.784364"], ["updated_at", "2016-12-02 16:10:06.784364"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.785211"], ["updated_at", "2016-12-02 16:10:06.785211"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.786068"], ["updated_at", "2016-12-02 16:10:06.786068"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.786961"], ["updated_at", "2016-12-02 16:10:06.786961"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.788216"], ["updated_at", "2016-12-02 16:10:06.788216"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.789648"], ["updated_at", "2016-12-02 16:10:06.789648"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.790590"], ["updated_at", "2016-12-02 16:10:06.790590"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.791457"], ["updated_at", "2016-12-02 16:10:06.791457"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.793490"], ["updated_at", "2016-12-02 16:10:06.793490"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.794432"], ["updated_at", "2016-12-02 16:10:06.794432"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.795389"], ["updated_at", "2016-12-02 16:10:06.795389"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.797694"], ["updated_at", "2016-12-02 16:10:06.797694"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.798812"], ["updated_at", "2016-12-02 16:10:06.798812"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.799760"], ["updated_at", "2016-12-02 16:10:06.799760"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.800687"], ["updated_at", "2016-12-02 16:10:06.800687"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.801640"], ["updated_at", "2016-12-02 16:10:06.801640"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.802480"], ["updated_at", "2016-12-02 16:10:06.802480"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.803361"], ["updated_at", "2016-12-02 16:10:06.803361"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.804265"], ["updated_at", "2016-12-02 16:10:06.804265"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.805226"], ["updated_at", "2016-12-02 16:10:06.805226"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.806127"], ["updated_at", "2016-12-02 16:10:06.806127"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.807099"], ["updated_at", "2016-12-02 16:10:06.807099"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.807997"], ["updated_at", "2016-12-02 16:10:06.807997"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.808841"], ["updated_at", "2016-12-02 16:10:06.808841"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.809894"], ["updated_at", "2016-12-02 16:10:06.809894"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.810899"], ["updated_at", "2016-12-02 16:10:06.810899"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.811951"], ["updated_at", "2016-12-02 16:10:06.811951"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.820414"], ["updated_at", "2016-12-02 16:10:06.820414"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.821506"], ["updated_at", "2016-12-02 16:10:06.821506"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.822458"], ["updated_at", "2016-12-02 16:10:06.822458"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.823366"], ["updated_at", "2016-12-02 16:10:06.823366"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.824289"], ["updated_at", "2016-12-02 16:10:06.824289"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.825159"], ["updated_at", "2016-12-02 16:10:06.825159"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.825987"], ["updated_at", "2016-12-02 16:10:06.825987"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.826867"], ["updated_at", "2016-12-02 16:10:06.826867"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.827718"], ["updated_at", "2016-12-02 16:10:06.827718"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:06.828663"], ["updated_at", "2016-12-02 16:10:06.828663"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 13:10:06 -0300 +Processing by ProductsController#site as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.0ms) + Rendered products/index.html.erb within layouts/application (7.7ms) +Completed 200 OK in 169ms (Views: 168.5ms | ActiveRecord: 0.3ms) +Started GET "/site/2" for 127.0.0.1 at 2016-12-02 13:10:07 -0300 +Processing by ProductsController#site as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms) +Started GET "/site?query=" for 127.0.0.1 at 2016-12-02 13:10:07 -0300 +Processing by ProductsController#site as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.3ms) + Rendered products/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) +Started GET "/site/2?query=" for 127.0.0.1 at 2016-12-02 13:10:07 -0300 +Processing by ProductsController#site as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.3ms) + Rendered products/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:07.043659"], ["updated_at", "2016-12-02 16:10:07.043659"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:07.044950"], ["updated_at", "2016-12-02 16:10:07.044950"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:07.045907"], ["updated_at", "2016-12-02 16:10:07.045907"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:07.046899"], ["updated_at", "2016-12-02 16:10:07.046899"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:07.047870"], ["updated_at", "2016-12-02 16:10:07.047870"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:07.048877"], ["updated_at", "2016-12-02 16:10:07.048877"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:07.049807"], ["updated_at", "2016-12-02 16:10:07.049807"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:07.050741"], ["updated_at", "2016-12-02 16:10:07.050741"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:07.051642"], ["updated_at", "2016-12-02 16:10:07.051642"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:07.052507"], ["updated_at", "2016-12-02 16:10:07.052507"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 13:10:07 -0300 +Processing by ProductsController#api as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +Started GET "/api?page=2" for 127.0.0.1 at 2016-12-02 13:10:07 -0300 +Processing by ProductsController#api as HTML + Parameters: {"page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/api?query=" for 127.0.0.1 at 2016-12-02 13:10:07 -0300 +Processing by ProductsController#api as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/api?query=&page=2" for 127.0.0.1 at 2016-12-02 13:10:07 -0300 +Processing by ProductsController#api as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.230322"], ["updated_at", "2016-12-02 16:10:42.230322"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.233479"], ["updated_at", "2016-12-02 16:10:42.233479"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.234571"], ["updated_at", "2016-12-02 16:10:42.234571"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.235566"], ["updated_at", "2016-12-02 16:10:42.235566"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.236556"], ["updated_at", "2016-12-02 16:10:42.236556"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.237501"], ["updated_at", "2016-12-02 16:10:42.237501"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.238444"], ["updated_at", "2016-12-02 16:10:42.238444"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.239382"], ["updated_at", "2016-12-02 16:10:42.239382"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.240364"], ["updated_at", "2016-12-02 16:10:42.240364"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.241383"], ["updated_at", "2016-12-02 16:10:42.241383"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 13:10:42 -0300 +Processing by ProductsController#site as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.8ms) + Rendered products/index.html.erb within layouts/application (7.6ms) +Completed 200 OK in 164ms (Views: 163.1ms | ActiveRecord: 0.4ms) +Started GET "/site/2" for 127.0.0.1 at 2016-12-02 13:10:42 -0300 +Processing by ProductsController#site as HTML + Parameters: {"page"=>"2"} +  (0.8ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.6ms) + Rendered products/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.8ms) +Started GET "/site?query=" for 127.0.0.1 at 2016-12-02 13:10:42 -0300 +Processing by ProductsController#site as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.3ms) + Rendered products/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) +Started GET "/site/2?query=" for 127.0.0.1 at 2016-12-02 13:10:42 -0300 +Processing by ProductsController#site as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.456766"], ["updated_at", "2016-12-02 16:10:42.456766"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.457959"], ["updated_at", "2016-12-02 16:10:42.457959"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.458917"], ["updated_at", "2016-12-02 16:10:42.458917"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.459812"], ["updated_at", "2016-12-02 16:10:42.459812"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.460712"], ["updated_at", "2016-12-02 16:10:42.460712"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.461609"], ["updated_at", "2016-12-02 16:10:42.461609"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.462521"], ["updated_at", "2016-12-02 16:10:42.462521"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.463517"], ["updated_at", "2016-12-02 16:10:42.463517"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.464498"], ["updated_at", "2016-12-02 16:10:42.464498"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.465415"], ["updated_at", "2016-12-02 16:10:42.465415"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 13:10:42 -0300 +Processing by ProductsController#api as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/api?page=2" for 127.0.0.1 at 2016-12-02 13:10:42 -0300 +Processing by ProductsController#api as HTML + Parameters: {"page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/api?query=" for 127.0.0.1 at 2016-12-02 13:10:42 -0300 +Processing by ProductsController#api as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms) +Started GET "/api?query=&page=2" for 127.0.0.1 at 2016-12-02 13:10:42 -0300 +Processing by ProductsController#api as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.491805"], ["updated_at", "2016-12-02 16:10:42.491805"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.493076"], ["updated_at", "2016-12-02 16:10:42.493076"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.494068"], ["updated_at", "2016-12-02 16:10:42.494068"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.495076"], ["updated_at", "2016-12-02 16:10:42.495076"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.496149"], ["updated_at", "2016-12-02 16:10:42.496149"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.497263"], ["updated_at", "2016-12-02 16:10:42.497263"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.498261"], ["updated_at", "2016-12-02 16:10:42.498261"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.499650"], ["updated_at", "2016-12-02 16:10:42.499650"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.501113"], ["updated_at", "2016-12-02 16:10:42.501113"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.502260"], ["updated_at", "2016-12-02 16:10:42.502260"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.504443"], ["updated_at", "2016-12-02 16:10:42.504443"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.505321"], ["updated_at", "2016-12-02 16:10:42.505321"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.506162"], ["updated_at", "2016-12-02 16:10:42.506162"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.507026"], ["updated_at", "2016-12-02 16:10:42.507026"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.507850"], ["updated_at", "2016-12-02 16:10:42.507850"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.508746"], ["updated_at", "2016-12-02 16:10:42.508746"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.509567"], ["updated_at", "2016-12-02 16:10:42.509567"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.510361"], ["updated_at", "2016-12-02 16:10:42.510361"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.511147"], ["updated_at", "2016-12-02 16:10:42.511147"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.511932"], ["updated_at", "2016-12-02 16:10:42.511932"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.512832"], ["updated_at", "2016-12-02 16:10:42.512832"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.513654"], ["updated_at", "2016-12-02 16:10:42.513654"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.514456"], ["updated_at", "2016-12-02 16:10:42.514456"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.515269"], ["updated_at", "2016-12-02 16:10:42.515269"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.516086"], ["updated_at", "2016-12-02 16:10:42.516086"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.516913"], ["updated_at", "2016-12-02 16:10:42.516913"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.518069"], ["updated_at", "2016-12-02 16:10:42.518069"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.519395"], ["updated_at", "2016-12-02 16:10:42.519395"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.520434"], ["updated_at", "2016-12-02 16:10:42.520434"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.529170"], ["updated_at", "2016-12-02 16:10:42.529170"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.530296"], ["updated_at", "2016-12-02 16:10:42.530296"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.531261"], ["updated_at", "2016-12-02 16:10:42.531261"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.532178"], ["updated_at", "2016-12-02 16:10:42.532178"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.533073"], ["updated_at", "2016-12-02 16:10:42.533073"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.534056"], ["updated_at", "2016-12-02 16:10:42.534056"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.535013"], ["updated_at", "2016-12-02 16:10:42.535013"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.535960"], ["updated_at", "2016-12-02 16:10:42.535960"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.536910"], ["updated_at", "2016-12-02 16:10:42.536910"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.537800"], ["updated_at", "2016-12-02 16:10:42.537800"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.539947"], ["updated_at", "2016-12-02 16:10:42.539947"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.540891"], ["updated_at", "2016-12-02 16:10:42.540891"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.541835"], ["updated_at", "2016-12-02 16:10:42.541835"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.542728"], ["updated_at", "2016-12-02 16:10:42.542728"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.543686"], ["updated_at", "2016-12-02 16:10:42.543686"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.544603"], ["updated_at", "2016-12-02 16:10:42.544603"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.545505"], ["updated_at", "2016-12-02 16:10:42.545505"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.546401"], ["updated_at", "2016-12-02 16:10:42.546401"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.547339"], ["updated_at", "2016-12-02 16:10:42.547339"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:10:42.548341"], ["updated_at", "2016-12-02 16:10:42.548341"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:42.857886"], ["updated_at", "2016-12-02 16:11:42.857886"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:42.861083"], ["updated_at", "2016-12-02 16:11:42.861083"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:42.862135"], ["updated_at", "2016-12-02 16:11:42.862135"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:42.863199"], ["updated_at", "2016-12-02 16:11:42.863199"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:42.864219"], ["updated_at", "2016-12-02 16:11:42.864219"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:42.865207"], ["updated_at", "2016-12-02 16:11:42.865207"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:42.866131"], ["updated_at", "2016-12-02 16:11:42.866131"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:42.867040"], ["updated_at", "2016-12-02 16:11:42.867040"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:42.867981"], ["updated_at", "2016-12-02 16:11:42.867981"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:42.868934"], ["updated_at", "2016-12-02 16:11:42.868934"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/site" for 127.0.0.1 at 2016-12-02 13:11:42 -0300 +Processing by ProductsController#site as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.0ms) + Rendered products/index.html.erb within layouts/application (7.9ms) +Completed 200 OK in 175ms (Views: 174.0ms | ActiveRecord: 0.3ms) +Started GET "/site/2" for 127.0.0.1 at 2016-12-02 13:11:43 -0300 +Processing by ProductsController#site as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms) +Started GET "/site?query=" for 127.0.0.1 at 2016-12-02 13:11:43 -0300 +Processing by ProductsController#site as HTML + Parameters: {"query"=>""} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.4ms) +Started GET "/site/2?query=" for 127.0.0.1 at 2016-12-02 13:11:43 -0300 +Processing by ProductsController#site as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.092094"], ["updated_at", "2016-12-02 16:11:43.092094"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.093301"], ["updated_at", "2016-12-02 16:11:43.093301"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.094293"], ["updated_at", "2016-12-02 16:11:43.094293"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.095221"], ["updated_at", "2016-12-02 16:11:43.095221"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.096212"], ["updated_at", "2016-12-02 16:11:43.096212"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.097225"], ["updated_at", "2016-12-02 16:11:43.097225"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.098108"], ["updated_at", "2016-12-02 16:11:43.098108"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.098938"], ["updated_at", "2016-12-02 16:11:43.098938"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.099974"], ["updated_at", "2016-12-02 16:11:43.099974"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.100964"], ["updated_at", "2016-12-02 16:11:43.100964"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/api" for 127.0.0.1 at 2016-12-02 13:11:43 -0300 +Processing by ProductsController#api as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +Started GET "/api?page=2" for 127.0.0.1 at 2016-12-02 13:11:43 -0300 +Processing by ProductsController#api as HTML + Parameters: {"page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms) +Started GET "/api?query=" for 127.0.0.1 at 2016-12-02 13:11:43 -0300 +Processing by ProductsController#api as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms) +Started GET "/api?page=2&query=" for 127.0.0.1 at 2016-12-02 13:11:43 -0300 +Processing by ProductsController#api as HTML + Parameters: {"page"=>"2", "query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.122611"], ["updated_at", "2016-12-02 16:11:43.122611"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.123726"], ["updated_at", "2016-12-02 16:11:43.123726"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.124718"], ["updated_at", "2016-12-02 16:11:43.124718"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.125780"], ["updated_at", "2016-12-02 16:11:43.125780"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.126801"], ["updated_at", "2016-12-02 16:11:43.126801"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.128013"], ["updated_at", "2016-12-02 16:11:43.128013"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.129433"], ["updated_at", "2016-12-02 16:11:43.129433"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.130536"], ["updated_at", "2016-12-02 16:11:43.130536"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.131577"], ["updated_at", "2016-12-02 16:11:43.131577"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.132607"], ["updated_at", "2016-12-02 16:11:43.132607"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.135020"], ["updated_at", "2016-12-02 16:11:43.135020"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.136109"], ["updated_at", "2016-12-02 16:11:43.136109"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.137134"], ["updated_at", "2016-12-02 16:11:43.137134"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.138043"], ["updated_at", "2016-12-02 16:11:43.138043"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.138922"], ["updated_at", "2016-12-02 16:11:43.138922"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.140028"], ["updated_at", "2016-12-02 16:11:43.140028"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.141054"], ["updated_at", "2016-12-02 16:11:43.141054"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.142022"], ["updated_at", "2016-12-02 16:11:43.142022"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.143019"], ["updated_at", "2016-12-02 16:11:43.143019"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.143858"], ["updated_at", "2016-12-02 16:11:43.143858"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.146002"], ["updated_at", "2016-12-02 16:11:43.146002"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.146921"], ["updated_at", "2016-12-02 16:11:43.146921"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.147781"], ["updated_at", "2016-12-02 16:11:43.147781"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.148612"], ["updated_at", "2016-12-02 16:11:43.148612"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.149502"], ["updated_at", "2016-12-02 16:11:43.149502"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.150413"], ["updated_at", "2016-12-02 16:11:43.150413"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.151223"], ["updated_at", "2016-12-02 16:11:43.151223"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.152045"], ["updated_at", "2016-12-02 16:11:43.152045"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.152893"], ["updated_at", "2016-12-02 16:11:43.152893"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.153772"], ["updated_at", "2016-12-02 16:11:43.153772"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.154686"], ["updated_at", "2016-12-02 16:11:43.154686"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.155545"], ["updated_at", "2016-12-02 16:11:43.155545"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.156574"], ["updated_at", "2016-12-02 16:11:43.156574"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.157702"], ["updated_at", "2016-12-02 16:11:43.157702"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.158727"], ["updated_at", "2016-12-02 16:11:43.158727"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.159852"], ["updated_at", "2016-12-02 16:11:43.159852"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.160795"], ["updated_at", "2016-12-02 16:11:43.160795"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.161786"], ["updated_at", "2016-12-02 16:11:43.161786"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.162699"], ["updated_at", "2016-12-02 16:11:43.162699"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.168986"], ["updated_at", "2016-12-02 16:11:43.168986"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.170193"], ["updated_at", "2016-12-02 16:11:43.170193"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.171066"], ["updated_at", "2016-12-02 16:11:43.171066"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.172109"], ["updated_at", "2016-12-02 16:11:43.172109"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.173009"], ["updated_at", "2016-12-02 16:11:43.173009"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.173849"], ["updated_at", "2016-12-02 16:11:43.173849"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.174705"], ["updated_at", "2016-12-02 16:11:43.174705"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.175505"], ["updated_at", "2016-12-02 16:11:43.175505"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.176323"], ["updated_at", "2016-12-02 16:11:43.176323"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:11:43.177151"], ["updated_at", "2016-12-02 16:11:43.177151"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.316961"], ["updated_at", "2016-12-02 16:15:59.316961"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.320909"], ["updated_at", "2016-12-02 16:15:59.320909"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.322003"], ["updated_at", "2016-12-02 16:15:59.322003"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.323010"], ["updated_at", "2016-12-02 16:15:59.323010"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.323985"], ["updated_at", "2016-12-02 16:15:59.323985"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.324920"], ["updated_at", "2016-12-02 16:15:59.324920"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.325848"], ["updated_at", "2016-12-02 16:15:59.325848"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.326758"], ["updated_at", "2016-12-02 16:15:59.326758"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.327692"], ["updated_at", "2016-12-02 16:15:59.327692"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.328652"], ["updated_at", "2016-12-02 16:15:59.328652"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.331221"], ["updated_at", "2016-12-02 16:15:59.331221"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.332194"], ["updated_at", "2016-12-02 16:15:59.332194"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.333068"], ["updated_at", "2016-12-02 16:15:59.333068"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.333935"], ["updated_at", "2016-12-02 16:15:59.333935"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.334927"], ["updated_at", "2016-12-02 16:15:59.334927"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.336024"], ["updated_at", "2016-12-02 16:15:59.336024"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.337213"], ["updated_at", "2016-12-02 16:15:59.337213"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.338385"], ["updated_at", "2016-12-02 16:15:59.338385"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.339879"], ["updated_at", "2016-12-02 16:15:59.339879"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.341428"], ["updated_at", "2016-12-02 16:15:59.341428"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.343727"], ["updated_at", "2016-12-02 16:15:59.343727"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.344750"], ["updated_at", "2016-12-02 16:15:59.344750"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.347064"], ["updated_at", "2016-12-02 16:15:59.347064"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.348179"], ["updated_at", "2016-12-02 16:15:59.348179"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.349168"], ["updated_at", "2016-12-02 16:15:59.349168"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.350015"], ["updated_at", "2016-12-02 16:15:59.350015"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.350855"], ["updated_at", "2016-12-02 16:15:59.350855"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.351726"], ["updated_at", "2016-12-02 16:15:59.351726"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.352659"], ["updated_at", "2016-12-02 16:15:59.352659"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.353525"], ["updated_at", "2016-12-02 16:15:59.353525"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.354414"], ["updated_at", "2016-12-02 16:15:59.354414"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.355224"], ["updated_at", "2016-12-02 16:15:59.355224"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.356146"], ["updated_at", "2016-12-02 16:15:59.356146"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.357023"], ["updated_at", "2016-12-02 16:15:59.357023"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.357904"], ["updated_at", "2016-12-02 16:15:59.357904"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.358778"], ["updated_at", "2016-12-02 16:15:59.358778"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.359775"], ["updated_at", "2016-12-02 16:15:59.359775"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.360748"], ["updated_at", "2016-12-02 16:15:59.360748"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.361722"], ["updated_at", "2016-12-02 16:15:59.361722"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.368915"], ["updated_at", "2016-12-02 16:15:59.368915"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.370076"], ["updated_at", "2016-12-02 16:15:59.370076"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.371037"], ["updated_at", "2016-12-02 16:15:59.371037"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.372042"], ["updated_at", "2016-12-02 16:15:59.372042"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.372993"], ["updated_at", "2016-12-02 16:15:59.372993"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.373884"], ["updated_at", "2016-12-02 16:15:59.373884"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.374792"], ["updated_at", "2016-12-02 16:15:59.374792"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.375682"], ["updated_at", "2016-12-02 16:15:59.375682"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.376568"], ["updated_at", "2016-12-02 16:15:59.376568"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.377488"], ["updated_at", "2016-12-02 16:15:59.377488"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.379983"], ["updated_at", "2016-12-02 16:15:59.379983"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.381116"], ["updated_at", "2016-12-02 16:15:59.381116"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.382124"], ["updated_at", "2016-12-02 16:15:59.382124"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.383050"], ["updated_at", "2016-12-02 16:15:59.383050"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.383923"], ["updated_at", "2016-12-02 16:15:59.383923"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.384800"], ["updated_at", "2016-12-02 16:15:59.384800"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.385687"], ["updated_at", "2016-12-02 16:15:59.385687"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.386569"], ["updated_at", "2016-12-02 16:15:59.386569"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.387474"], ["updated_at", "2016-12-02 16:15:59.387474"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.388534"], ["updated_at", "2016-12-02 16:15:59.388534"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:15:59 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (6.8ms) + Rendered products/index.html.erb within layouts/application (12.1ms) +Completed 200 OK in 179ms (Views: 178.4ms | ActiveRecord: 0.3ms) +Started GET "/?page=2" for 127.0.0.1 at 2016-12-02 13:15:59 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:15:59 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.4ms) +Started GET "/?page=2&query=" for 127.0.0.1 at 2016-12-02 13:15:59 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2", "query"=>""} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.626845"], ["updated_at", "2016-12-02 16:15:59.626845"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.628069"], ["updated_at", "2016-12-02 16:15:59.628069"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.629077"], ["updated_at", "2016-12-02 16:15:59.629077"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.630063"], ["updated_at", "2016-12-02 16:15:59.630063"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.630996"], ["updated_at", "2016-12-02 16:15:59.630996"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.631934"], ["updated_at", "2016-12-02 16:15:59.631934"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.632875"], ["updated_at", "2016-12-02 16:15:59.632875"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.633771"], ["updated_at", "2016-12-02 16:15:59.633771"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.634687"], ["updated_at", "2016-12-02 16:15:59.634687"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:15:59.635614"], ["updated_at", "2016-12-02 16:15:59.635614"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:15:59 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:15:59 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:15:59 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:15:59 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.565473"], ["updated_at", "2016-12-02 16:17:59.565473"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.569390"], ["updated_at", "2016-12-02 16:17:59.569390"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.570489"], ["updated_at", "2016-12-02 16:17:59.570489"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.571490"], ["updated_at", "2016-12-02 16:17:59.571490"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.572484"], ["updated_at", "2016-12-02 16:17:59.572484"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.573426"], ["updated_at", "2016-12-02 16:17:59.573426"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.574346"], ["updated_at", "2016-12-02 16:17:59.574346"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.575401"], ["updated_at", "2016-12-02 16:17:59.575401"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.576318"], ["updated_at", "2016-12-02 16:17:59.576318"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.577215"], ["updated_at", "2016-12-02 16:17:59.577215"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.579595"], ["updated_at", "2016-12-02 16:17:59.579595"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.580541"], ["updated_at", "2016-12-02 16:17:59.580541"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.581499"], ["updated_at", "2016-12-02 16:17:59.581499"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.582389"], ["updated_at", "2016-12-02 16:17:59.582389"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.583290"], ["updated_at", "2016-12-02 16:17:59.583290"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.584258"], ["updated_at", "2016-12-02 16:17:59.584258"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.585114"], ["updated_at", "2016-12-02 16:17:59.585114"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.586043"], ["updated_at", "2016-12-02 16:17:59.586043"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.586979"], ["updated_at", "2016-12-02 16:17:59.586979"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.587852"], ["updated_at", "2016-12-02 16:17:59.587852"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.591461"], ["updated_at", "2016-12-02 16:17:59.591461"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.592754"], ["updated_at", "2016-12-02 16:17:59.592754"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.593746"], ["updated_at", "2016-12-02 16:17:59.593746"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.594699"], ["updated_at", "2016-12-02 16:17:59.594699"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.595605"], ["updated_at", "2016-12-02 16:17:59.595605"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.597884"], ["updated_at", "2016-12-02 16:17:59.597884"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.598920"], ["updated_at", "2016-12-02 16:17:59.598920"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.599784"], ["updated_at", "2016-12-02 16:17:59.599784"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.600748"], ["updated_at", "2016-12-02 16:17:59.600748"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.601682"], ["updated_at", "2016-12-02 16:17:59.601682"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.603823"], ["updated_at", "2016-12-02 16:17:59.603823"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.604813"], ["updated_at", "2016-12-02 16:17:59.604813"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.605673"], ["updated_at", "2016-12-02 16:17:59.605673"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.606554"], ["updated_at", "2016-12-02 16:17:59.606554"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.607408"], ["updated_at", "2016-12-02 16:17:59.607408"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.608221"], ["updated_at", "2016-12-02 16:17:59.608221"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.609092"], ["updated_at", "2016-12-02 16:17:59.609092"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.610084"], ["updated_at", "2016-12-02 16:17:59.610084"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.610997"], ["updated_at", "2016-12-02 16:17:59.610997"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.611957"], ["updated_at", "2016-12-02 16:17:59.611957"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.612910"], ["updated_at", "2016-12-02 16:17:59.612910"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.613724"], ["updated_at", "2016-12-02 16:17:59.613724"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.614526"], ["updated_at", "2016-12-02 16:17:59.614526"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.615408"], ["updated_at", "2016-12-02 16:17:59.615408"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.616265"], ["updated_at", "2016-12-02 16:17:59.616265"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.617019"], ["updated_at", "2016-12-02 16:17:59.617019"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.617940"], ["updated_at", "2016-12-02 16:17:59.617940"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.618935"], ["updated_at", "2016-12-02 16:17:59.618935"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.619858"], ["updated_at", "2016-12-02 16:17:59.619858"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.626383"], ["updated_at", "2016-12-02 16:17:59.626383"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.627463"], ["updated_at", "2016-12-02 16:17:59.627463"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.628362"], ["updated_at", "2016-12-02 16:17:59.628362"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.629203"], ["updated_at", "2016-12-02 16:17:59.629203"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.630014"], ["updated_at", "2016-12-02 16:17:59.630014"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.630963"], ["updated_at", "2016-12-02 16:17:59.630963"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.631939"], ["updated_at", "2016-12-02 16:17:59.631939"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.632923"], ["updated_at", "2016-12-02 16:17:59.632923"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.633803"], ["updated_at", "2016-12-02 16:17:59.633803"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.634774"], ["updated_at", "2016-12-02 16:17:59.634774"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.636547"], ["updated_at", "2016-12-02 16:17:59.636547"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.637367"], ["updated_at", "2016-12-02 16:17:59.637367"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.638189"], ["updated_at", "2016-12-02 16:17:59.638189"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.639054"], ["updated_at", "2016-12-02 16:17:59.639054"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.639891"], ["updated_at", "2016-12-02 16:17:59.639891"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.640686"], ["updated_at", "2016-12-02 16:17:59.640686"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.641562"], ["updated_at", "2016-12-02 16:17:59.641562"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.642498"], ["updated_at", "2016-12-02 16:17:59.642498"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.643402"], ["updated_at", "2016-12-02 16:17:59.643402"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:17:59.644326"], ["updated_at", "2016-12-02 16:17:59.644326"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.014091"], ["updated_at", "2016-12-02 16:18:28.014091"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.017586"], ["updated_at", "2016-12-02 16:18:28.017586"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.677968"], ["updated_at", "2016-01-14 20:49:44.677968"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.678663"], ["updated_at", "2016-01-14 20:49:44.678663"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.679335"], ["updated_at", "2016-01-14 20:49:44.679335"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.680024"], ["updated_at", "2016-01-14 20:49:44.680024"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.680716"], ["updated_at", "2016-01-14 20:49:44.680716"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.681463"], ["updated_at", "2016-01-14 20:49:44.681463"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.682171"], ["updated_at", "2016-01-14 20:49:44.682171"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.019055"], ["updated_at", "2016-12-02 16:18:28.019055"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.020198"], ["updated_at", "2016-12-02 16:18:28.020198"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.021401"], ["updated_at", "2016-12-02 16:18:28.021401"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.022539"], ["updated_at", "2016-12-02 16:18:28.022539"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.023683"], ["updated_at", "2016-12-02 16:18:28.023683"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.682878"], ["updated_at", "2016-01-14 20:49:44.682878"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) rollback transaction -  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.024924"], ["updated_at", "2016-12-02 16:18:28.024924"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.025990"], ["updated_at", "2016-12-02 16:18:28.025990"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.027170"], ["updated_at", "2016-12-02 16:18:28.027170"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:18:28 -0300 +  (0.4ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.063164"], ["updated_at", "2016-12-02 16:18:28.063164"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.064480"], ["updated_at", "2016-12-02 16:18:28.064480"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.065466"], ["updated_at", "2016-12-02 16:18:28.065466"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.066466"], ["updated_at", "2016-12-02 16:18:28.066466"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.067519"], ["updated_at", "2016-12-02 16:18:28.067519"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.068738"], ["updated_at", "2016-12-02 16:18:28.068738"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.069906"], ["updated_at", "2016-12-02 16:18:28.069906"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.071103"], ["updated_at", "2016-12-02 16:18:28.071103"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.072490"], ["updated_at", "2016-12-02 16:18:28.072490"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.073623"], ["updated_at", "2016-12-02 16:18:28.073623"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:18:28 -0300 +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.082092"], ["updated_at", "2016-12-02 16:18:28.082092"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.083384"], ["updated_at", "2016-12-02 16:18:28.083384"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.084382"], ["updated_at", "2016-12-02 16:18:28.084382"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.085366"], ["updated_at", "2016-12-02 16:18:28.085366"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.086419"], ["updated_at", "2016-12-02 16:18:28.086419"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.087743"], ["updated_at", "2016-12-02 16:18:28.087743"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.088909"], ["updated_at", "2016-12-02 16:18:28.088909"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.090170"], ["updated_at", "2016-12-02 16:18:28.090170"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.091497"], ["updated_at", "2016-12-02 16:18:28.091497"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.092674"], ["updated_at", "2016-12-02 16:18:28.092674"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.096749"], ["updated_at", "2016-12-02 16:18:28.096749"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.098180"], ["updated_at", "2016-12-02 16:18:28.098180"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.099350"], ["updated_at", "2016-12-02 16:18:28.099350"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.100483"], ["updated_at", "2016-12-02 16:18:28.100483"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.101602"], ["updated_at", "2016-12-02 16:18:28.101602"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.102608"], ["updated_at", "2016-12-02 16:18:28.102608"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.103536"], ["updated_at", "2016-12-02 16:18:28.103536"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.104424"], ["updated_at", "2016-12-02 16:18:28.104424"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.105328"], ["updated_at", "2016-12-02 16:18:28.105328"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.106548"], ["updated_at", "2016-12-02 16:18:28.106548"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.108934"], ["updated_at", "2016-12-02 16:18:28.108934"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.110180"], ["updated_at", "2016-12-02 16:18:28.110180"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.111202"], ["updated_at", "2016-12-02 16:18:28.111202"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.112323"], ["updated_at", "2016-12-02 16:18:28.112323"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.113359"], ["updated_at", "2016-12-02 16:18:28.113359"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.114331"], ["updated_at", "2016-12-02 16:18:28.114331"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.115259"], ["updated_at", "2016-12-02 16:18:28.115259"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.116164"], ["updated_at", "2016-12-02 16:18:28.116164"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.117160"], ["updated_at", "2016-12-02 16:18:28.117160"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.118189"], ["updated_at", "2016-12-02 16:18:28.118189"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN -------------------------- -MiddleTest: test_last_page +RelationTest: test_padding -------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.683991"], ["updated_at", "2016-01-14 20:49:44.683991"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.684719"], ["updated_at", "2016-01-14 20:49:44.684719"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.685418"], ["updated_at", "2016-01-14 20:49:44.685418"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.686124"], ["updated_at", "2016-01-14 20:49:44.686124"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.686833"], ["updated_at", "2016-01-14 20:49:44.686833"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.687683"], ["updated_at", "2016-01-14 20:49:44.687683"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.688383"], ["updated_at", "2016-01-14 20:49:44.688383"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.120583"], ["updated_at", "2016-12-02 16:18:28.120583"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.121450"], ["updated_at", "2016-12-02 16:18:28.121450"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.122274"], ["updated_at", "2016-12-02 16:18:28.122274"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.123144"], ["updated_at", "2016-12-02 16:18:28.123144"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.124048"], ["updated_at", "2016-12-02 16:18:28.124048"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.124948"], ["updated_at", "2016-12-02 16:18:28.124948"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.125987"], ["updated_at", "2016-12-02 16:18:28.125987"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.689104"], ["updated_at", "2016-01-14 20:49:44.689104"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.127074"], ["updated_at", "2016-12-02 16:18:28.127074"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.128023"], ["updated_at", "2016-12-02 16:18:28.128023"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.128882"], ["updated_at", "2016-12-02 16:18:28.128882"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.129800"], ["updated_at", "2016-12-02 16:18:28.129800"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.131011"], ["updated_at", "2016-12-02 16:18:28.131011"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.132321"], ["updated_at", "2016-12-02 16:18:28.132321"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.133506"], ["updated_at", "2016-12-02 16:18:28.133506"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.134636"], ["updated_at", "2016-12-02 16:18:28.134636"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.135891"], ["updated_at", "2016-12-02 16:18:28.135891"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.137103"], ["updated_at", "2016-12-02 16:18:28.137103"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.138299"], ["updated_at", "2016-12-02 16:18:28.138299"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:18:28.139514"], ["updated_at", "2016-12-02 16:18:28.139514"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.933573"], ["updated_at", "2016-12-02 16:19:21.933573"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.940563"], ["updated_at", "2016-12-02 16:19:21.940563"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.942406"], ["updated_at", "2016-12-02 16:19:21.942406"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.943770"], ["updated_at", "2016-12-02 16:19:21.943770"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.944873"], ["updated_at", "2016-12-02 16:19:21.944873"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.945815"], ["updated_at", "2016-12-02 16:19:21.945815"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.946837"], ["updated_at", "2016-12-02 16:19:21.946837"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.947784"], ["updated_at", "2016-12-02 16:19:21.947784"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.948709"], ["updated_at", "2016-12-02 16:19:21.948709"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.949578"], ["updated_at", "2016-12-02 16:19:21.949578"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.952409"], ["updated_at", "2016-12-02 16:19:21.952409"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.953888"], ["updated_at", "2016-12-02 16:19:21.953888"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.954835"], ["updated_at", "2016-12-02 16:19:21.954835"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.955789"], ["updated_at", "2016-12-02 16:19:21.955789"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.956694"], ["updated_at", "2016-12-02 16:19:21.956694"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.957569"], ["updated_at", "2016-12-02 16:19:21.957569"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.958501"], ["updated_at", "2016-12-02 16:19:21.958501"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.959493"], ["updated_at", "2016-12-02 16:19:21.959493"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.960522"], ["updated_at", "2016-12-02 16:19:21.960522"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.962916"], ["updated_at", "2016-12-02 16:19:21.962916"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.963759"], ["updated_at", "2016-12-02 16:19:21.963759"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.964625"], ["updated_at", "2016-12-02 16:19:21.964625"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.965436"], ["updated_at", "2016-12-02 16:19:21.965436"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.966290"], ["updated_at", "2016-12-02 16:19:21.966290"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.967181"], ["updated_at", "2016-12-02 16:19:21.967181"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.968032"], ["updated_at", "2016-12-02 16:19:21.968032"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.968816"], ["updated_at", "2016-12-02 16:19:21.968816"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.969660"], ["updated_at", "2016-12-02 16:19:21.969660"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.970467"], ["updated_at", "2016-12-02 16:19:21.970467"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.976482"], ["updated_at", "2016-12-02 16:19:21.976482"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.977597"], ["updated_at", "2016-12-02 16:19:21.977597"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.978574"], ["updated_at", "2016-12-02 16:19:21.978574"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.979502"], ["updated_at", "2016-12-02 16:19:21.979502"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.980341"], ["updated_at", "2016-12-02 16:19:21.980341"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.981233"], ["updated_at", "2016-12-02 16:19:21.981233"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.982086"], ["updated_at", "2016-12-02 16:19:21.982086"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.982898"], ["updated_at", "2016-12-02 16:19:21.982898"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.983734"], ["updated_at", "2016-12-02 16:19:21.983734"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.984539"], ["updated_at", "2016-12-02 16:19:21.984539"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.986581"], ["updated_at", "2016-12-02 16:19:21.986581"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.987574"], ["updated_at", "2016-12-02 16:19:21.987574"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.988546"], ["updated_at", "2016-12-02 16:19:21.988546"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.989395"], ["updated_at", "2016-12-02 16:19:21.989395"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.990336"], ["updated_at", "2016-12-02 16:19:21.990336"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.991165"], ["updated_at", "2016-12-02 16:19:21.991165"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.992038"], ["updated_at", "2016-12-02 16:19:21.992038"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.993017"], ["updated_at", "2016-12-02 16:19:21.993017"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.993884"], ["updated_at", "2016-12-02 16:19:21.993884"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.994807"], ["updated_at", "2016-12-02 16:19:21.994807"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.998149"], ["updated_at", "2016-12-02 16:19:21.998149"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:21.999239"], ["updated_at", "2016-12-02 16:19:21.999239"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.000137"], ["updated_at", "2016-12-02 16:19:22.000137"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.001068"], ["updated_at", "2016-12-02 16:19:22.001068"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.001955"], ["updated_at", "2016-12-02 16:19:22.001955"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.002879"], ["updated_at", "2016-12-02 16:19:22.002879"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.003809"], ["updated_at", "2016-12-02 16:19:22.003809"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.004614"], ["updated_at", "2016-12-02 16:19:22.004614"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.005604"], ["updated_at", "2016-12-02 16:19:22.005604"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.006451"], ["updated_at", "2016-12-02 16:19:22.006451"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.008379"], ["updated_at", "2016-12-02 16:19:22.008379"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.009355"], ["updated_at", "2016-12-02 16:19:22.009355"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.010318"], ["updated_at", "2016-12-02 16:19:22.010318"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.011261"], ["updated_at", "2016-12-02 16:19:22.011261"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.012451"], ["updated_at", "2016-12-02 16:19:22.012451"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.013566"], ["updated_at", "2016-12-02 16:19:22.013566"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.014764"], ["updated_at", "2016-12-02 16:19:22.014764"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.015930"], ["updated_at", "2016-12-02 16:19:22.015930"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.016871"], ["updated_at", "2016-12-02 16:19:22.016871"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:22.017818"], ["updated_at", "2016-12-02 16:19:22.017818"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.3ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.366951"], ["updated_at", "2016-12-02 16:19:32.366951"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.369925"], ["updated_at", "2016-12-02 16:19:32.369925"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.371274"], ["updated_at", "2016-12-02 16:19:32.371274"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.372291"], ["updated_at", "2016-12-02 16:19:32.372291"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.373293"], ["updated_at", "2016-12-02 16:19:32.373293"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.374303"], ["updated_at", "2016-12-02 16:19:32.374303"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.375276"], ["updated_at", "2016-12-02 16:19:32.375276"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.376143"], ["updated_at", "2016-12-02 16:19:32.376143"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.377072"], ["updated_at", "2016-12-02 16:19:32.377072"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.378023"], ["updated_at", "2016-12-02 16:19:32.378023"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.380220"], ["updated_at", "2016-12-02 16:19:32.380220"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.381187"], ["updated_at", "2016-12-02 16:19:32.381187"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.382378"], ["updated_at", "2016-12-02 16:19:32.382378"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.383235"], ["updated_at", "2016-12-02 16:19:32.383235"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.384076"], ["updated_at", "2016-12-02 16:19:32.384076"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.384914"], ["updated_at", "2016-12-02 16:19:32.384914"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.385850"], ["updated_at", "2016-12-02 16:19:32.385850"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.386797"], ["updated_at", "2016-12-02 16:19:32.386797"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.387706"], ["updated_at", "2016-12-02 16:19:32.387706"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.388588"], ["updated_at", "2016-12-02 16:19:32.388588"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.390590"], ["updated_at", "2016-12-02 16:19:32.390590"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.391588"], ["updated_at", "2016-12-02 16:19:32.391588"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.393046"], ["updated_at", "2016-12-02 16:19:32.393046"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.394649"], ["updated_at", "2016-12-02 16:19:32.394649"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.395614"], ["updated_at", "2016-12-02 16:19:32.395614"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.396503"], ["updated_at", "2016-12-02 16:19:32.396503"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.397419"], ["updated_at", "2016-12-02 16:19:32.397419"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.398316"], ["updated_at", "2016-12-02 16:19:32.398316"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.399274"], ["updated_at", "2016-12-02 16:19:32.399274"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.401641"], ["updated_at", "2016-12-02 16:19:32.401641"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.403989"], ["updated_at", "2016-12-02 16:19:32.403989"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.405115"], ["updated_at", "2016-12-02 16:19:32.405115"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.406052"], ["updated_at", "2016-12-02 16:19:32.406052"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.406926"], ["updated_at", "2016-12-02 16:19:32.406926"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.407815"], ["updated_at", "2016-12-02 16:19:32.407815"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.408608"], ["updated_at", "2016-12-02 16:19:32.408608"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.409418"], ["updated_at", "2016-12-02 16:19:32.409418"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.410236"], ["updated_at", "2016-12-02 16:19:32.410236"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.411072"], ["updated_at", "2016-12-02 16:19:32.411072"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.411912"], ["updated_at", "2016-12-02 16:19:32.411912"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.412740"], ["updated_at", "2016-12-02 16:19:32.412740"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.413523"], ["updated_at", "2016-12-02 16:19:32.413523"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.414357"], ["updated_at", "2016-12-02 16:19:32.414357"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.415241"], ["updated_at", "2016-12-02 16:19:32.415241"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.416287"], ["updated_at", "2016-12-02 16:19:32.416287"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.417289"], ["updated_at", "2016-12-02 16:19:32.417289"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.418297"], ["updated_at", "2016-12-02 16:19:32.418297"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.419275"], ["updated_at", "2016-12-02 16:19:32.419275"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.420266"], ["updated_at", "2016-12-02 16:19:32.420266"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.431673"], ["updated_at", "2016-12-02 16:19:32.431673"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.432928"], ["updated_at", "2016-12-02 16:19:32.432928"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.434041"], ["updated_at", "2016-12-02 16:19:32.434041"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.435165"], ["updated_at", "2016-12-02 16:19:32.435165"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.436261"], ["updated_at", "2016-12-02 16:19:32.436261"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.437313"], ["updated_at", "2016-12-02 16:19:32.437313"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.438638"], ["updated_at", "2016-12-02 16:19:32.438638"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.439861"], ["updated_at", "2016-12-02 16:19:32.439861"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.440921"], ["updated_at", "2016-12-02 16:19:32.440921"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.441912"], ["updated_at", "2016-12-02 16:19:32.441912"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:19:32 -0300 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.466345"], ["updated_at", "2016-12-02 16:19:32.466345"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.467580"], ["updated_at", "2016-12-02 16:19:32.467580"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.468629"], ["updated_at", "2016-12-02 16:19:32.468629"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.469606"], ["updated_at", "2016-12-02 16:19:32.469606"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.470597"], ["updated_at", "2016-12-02 16:19:32.470597"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.471664"], ["updated_at", "2016-12-02 16:19:32.471664"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.472653"], ["updated_at", "2016-12-02 16:19:32.472653"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.473601"], ["updated_at", "2016-12-02 16:19:32.473601"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.474504"], ["updated_at", "2016-12-02 16:19:32.474504"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:19:32.475468"], ["updated_at", "2016-12-02 16:19:32.475468"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:19:32 -0300 +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (2.0ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.447078"], ["updated_at", "2016-12-02 16:21:21.447078"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.452859"], ["updated_at", "2016-12-02 16:21:21.452859"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.454243"], ["updated_at", "2016-12-02 16:21:21.454243"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.455239"], ["updated_at", "2016-12-02 16:21:21.455239"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.456201"], ["updated_at", "2016-12-02 16:21:21.456201"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.457075"], ["updated_at", "2016-12-02 16:21:21.457075"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.457995"], ["updated_at", "2016-12-02 16:21:21.457995"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.458908"], ["updated_at", "2016-12-02 16:21:21.458908"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.459787"], ["updated_at", "2016-12-02 16:21:21.459787"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.460666"], ["updated_at", "2016-12-02 16:21:21.460666"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.463245"], ["updated_at", "2016-12-02 16:21:21.463245"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.464199"], ["updated_at", "2016-12-02 16:21:21.464199"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.465068"], ["updated_at", "2016-12-02 16:21:21.465068"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.465929"], ["updated_at", "2016-12-02 16:21:21.465929"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.466888"], ["updated_at", "2016-12-02 16:21:21.466888"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.467734"], ["updated_at", "2016-12-02 16:21:21.467734"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.468625"], ["updated_at", "2016-12-02 16:21:21.468625"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.469502"], ["updated_at", "2016-12-02 16:21:21.469502"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.470483"], ["updated_at", "2016-12-02 16:21:21.470483"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.471297"], ["updated_at", "2016-12-02 16:21:21.471297"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.472129"], ["updated_at", "2016-12-02 16:21:21.472129"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.472984"], ["updated_at", "2016-12-02 16:21:21.472984"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.473898"], ["updated_at", "2016-12-02 16:21:21.473898"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.475388"], ["updated_at", "2016-12-02 16:21:21.475388"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.476557"], ["updated_at", "2016-12-02 16:21:21.476557"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.477485"], ["updated_at", "2016-12-02 16:21:21.477485"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.478458"], ["updated_at", "2016-12-02 16:21:21.478458"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.479391"], ["updated_at", "2016-12-02 16:21:21.479391"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.480290"], ["updated_at", "2016-12-02 16:21:21.480290"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.488325"], ["updated_at", "2016-12-02 16:21:21.488325"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.489418"], ["updated_at", "2016-12-02 16:21:21.489418"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.490366"], ["updated_at", "2016-12-02 16:21:21.490366"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.491314"], ["updated_at", "2016-12-02 16:21:21.491314"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.492251"], ["updated_at", "2016-12-02 16:21:21.492251"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.493202"], ["updated_at", "2016-12-02 16:21:21.493202"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.494046"], ["updated_at", "2016-12-02 16:21:21.494046"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.494900"], ["updated_at", "2016-12-02 16:21:21.494900"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.495722"], ["updated_at", "2016-12-02 16:21:21.495722"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.496507"], ["updated_at", "2016-12-02 16:21:21.496507"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.499564"], ["updated_at", "2016-12-02 16:21:21.499564"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.500524"], ["updated_at", "2016-12-02 16:21:21.500524"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.501387"], ["updated_at", "2016-12-02 16:21:21.501387"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.502316"], ["updated_at", "2016-12-02 16:21:21.502316"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.503180"], ["updated_at", "2016-12-02 16:21:21.503180"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.504035"], ["updated_at", "2016-12-02 16:21:21.504035"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.504890"], ["updated_at", "2016-12-02 16:21:21.504890"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.505787"], ["updated_at", "2016-12-02 16:21:21.505787"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.506667"], ["updated_at", "2016-12-02 16:21:21.506667"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.507516"], ["updated_at", "2016-12-02 16:21:21.507516"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.513835"], ["updated_at", "2016-12-02 16:21:21.513835"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.514941"], ["updated_at", "2016-12-02 16:21:21.514941"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.515803"], ["updated_at", "2016-12-02 16:21:21.515803"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.516634"], ["updated_at", "2016-12-02 16:21:21.516634"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.517507"], ["updated_at", "2016-12-02 16:21:21.517507"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.518615"], ["updated_at", "2016-12-02 16:21:21.518615"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.519502"], ["updated_at", "2016-12-02 16:21:21.519502"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.520397"], ["updated_at", "2016-12-02 16:21:21.520397"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.521415"], ["updated_at", "2016-12-02 16:21:21.521415"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.522328"], ["updated_at", "2016-12-02 16:21:21.522328"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:21:21 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (7.1ms) + Rendered products/index.html.erb within layouts/application (12.7ms) +Completed 200 OK in 183ms (Views: 181.9ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:21:21 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:21:21 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:21:21 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.766838"], ["updated_at", "2016-12-02 16:21:21.766838"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.768145"], ["updated_at", "2016-12-02 16:21:21.768145"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.769157"], ["updated_at", "2016-12-02 16:21:21.769157"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.770113"], ["updated_at", "2016-12-02 16:21:21.770113"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.771172"], ["updated_at", "2016-12-02 16:21:21.771172"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.772079"], ["updated_at", "2016-12-02 16:21:21.772079"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.772984"], ["updated_at", "2016-12-02 16:21:21.772984"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.774031"], ["updated_at", "2016-12-02 16:21:21.774031"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.774971"], ["updated_at", "2016-12-02 16:21:21.774971"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:21:21.775899"], ["updated_at", "2016-12-02 16:21:21.775899"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:21:21 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +Started GET "/?page=2" for 127.0.0.1 at 2016-12-02 13:21:21 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:21:21 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms) +Started GET "/?page=2&query=" for 127.0.0.1 at 2016-12-02 13:21:21 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2", "query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.565669"], ["updated_at", "2016-12-02 16:22:57.565669"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.569667"], ["updated_at", "2016-12-02 16:22:57.569667"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.570741"], ["updated_at", "2016-12-02 16:22:57.570741"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.571681"], ["updated_at", "2016-12-02 16:22:57.571681"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.572696"], ["updated_at", "2016-12-02 16:22:57.572696"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.573637"], ["updated_at", "2016-12-02 16:22:57.573637"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.574596"], ["updated_at", "2016-12-02 16:22:57.574596"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.575637"], ["updated_at", "2016-12-02 16:22:57.575637"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.576561"], ["updated_at", "2016-12-02 16:22:57.576561"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.577562"], ["updated_at", "2016-12-02 16:22:57.577562"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.581312"], ["updated_at", "2016-12-02 16:22:57.581312"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.582309"], ["updated_at", "2016-12-02 16:22:57.582309"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.583135"], ["updated_at", "2016-12-02 16:22:57.583135"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.583942"], ["updated_at", "2016-12-02 16:22:57.583942"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.584917"], ["updated_at", "2016-12-02 16:22:57.584917"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.585875"], ["updated_at", "2016-12-02 16:22:57.585875"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.586820"], ["updated_at", "2016-12-02 16:22:57.586820"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.587717"], ["updated_at", "2016-12-02 16:22:57.587717"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.588623"], ["updated_at", "2016-12-02 16:22:57.588623"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.589493"], ["updated_at", "2016-12-02 16:22:57.589493"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.591416"], ["updated_at", "2016-12-02 16:22:57.591416"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.593039"], ["updated_at", "2016-12-02 16:22:57.593039"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.594319"], ["updated_at", "2016-12-02 16:22:57.594319"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.595289"], ["updated_at", "2016-12-02 16:22:57.595289"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.596217"], ["updated_at", "2016-12-02 16:22:57.596217"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.597175"], ["updated_at", "2016-12-02 16:22:57.597175"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.598214"], ["updated_at", "2016-12-02 16:22:57.598214"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.599168"], ["updated_at", "2016-12-02 16:22:57.599168"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.601238"], ["updated_at", "2016-12-02 16:22:57.601238"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.602158"], ["updated_at", "2016-12-02 16:22:57.602158"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.604509"], ["updated_at", "2016-12-02 16:22:57.604509"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.605904"], ["updated_at", "2016-12-02 16:22:57.605904"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.606876"], ["updated_at", "2016-12-02 16:22:57.606876"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.607716"], ["updated_at", "2016-12-02 16:22:57.607716"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.608558"], ["updated_at", "2016-12-02 16:22:57.608558"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.609588"], ["updated_at", "2016-12-02 16:22:57.609588"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.610626"], ["updated_at", "2016-12-02 16:22:57.610626"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.611530"], ["updated_at", "2016-12-02 16:22:57.611530"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.612384"], ["updated_at", "2016-12-02 16:22:57.612384"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.613212"], ["updated_at", "2016-12-02 16:22:57.613212"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.614034"], ["updated_at", "2016-12-02 16:22:57.614034"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.614878"], ["updated_at", "2016-12-02 16:22:57.614878"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.615695"], ["updated_at", "2016-12-02 16:22:57.615695"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.616516"], ["updated_at", "2016-12-02 16:22:57.616516"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.617408"], ["updated_at", "2016-12-02 16:22:57.617408"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.618298"], ["updated_at", "2016-12-02 16:22:57.618298"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.619202"], ["updated_at", "2016-12-02 16:22:57.619202"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.620150"], ["updated_at", "2016-12-02 16:22:57.620150"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.621009"], ["updated_at", "2016-12-02 16:22:57.621009"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.633638"], ["updated_at", "2016-12-02 16:22:57.633638"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.634980"], ["updated_at", "2016-12-02 16:22:57.634980"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.636011"], ["updated_at", "2016-12-02 16:22:57.636011"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.637242"], ["updated_at", "2016-12-02 16:22:57.637242"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.639888"], ["updated_at", "2016-12-02 16:22:57.639888"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.641236"], ["updated_at", "2016-12-02 16:22:57.641236"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.642293"], ["updated_at", "2016-12-02 16:22:57.642293"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.643806"], ["updated_at", "2016-12-02 16:22:57.643806"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.645149"], ["updated_at", "2016-12-02 16:22:57.645149"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.646500"], ["updated_at", "2016-12-02 16:22:57.646500"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:22:57 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (6.9ms) + Rendered products/index.html.erb within layouts/application (12.2ms) +Completed 200 OK in 183ms (Views: 182.4ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:22:57 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.4ms) + Rendered products/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:22:57 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:22:57 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.884726"], ["updated_at", "2016-12-02 16:22:57.884726"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.886087"], ["updated_at", "2016-12-02 16:22:57.886087"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.887040"], ["updated_at", "2016-12-02 16:22:57.887040"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.887947"], ["updated_at", "2016-12-02 16:22:57.887947"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.888858"], ["updated_at", "2016-12-02 16:22:57.888858"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.889854"], ["updated_at", "2016-12-02 16:22:57.889854"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.891166"], ["updated_at", "2016-12-02 16:22:57.891166"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.892212"], ["updated_at", "2016-12-02 16:22:57.892212"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.893134"], ["updated_at", "2016-12-02 16:22:57.893134"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:22:57.894038"], ["updated_at", "2016-12-02 16:22:57.894038"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:22:57 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.774210"], ["updated_at", "2016-12-02 16:23:59.774210"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.777365"], ["updated_at", "2016-12-02 16:23:59.777365"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.778567"], ["updated_at", "2016-12-02 16:23:59.778567"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.779571"], ["updated_at", "2016-12-02 16:23:59.779571"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.780566"], ["updated_at", "2016-12-02 16:23:59.780566"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.781561"], ["updated_at", "2016-12-02 16:23:59.781561"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.782437"], ["updated_at", "2016-12-02 16:23:59.782437"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.783293"], ["updated_at", "2016-12-02 16:23:59.783293"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.784146"], ["updated_at", "2016-12-02 16:23:59.784146"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.784998"], ["updated_at", "2016-12-02 16:23:59.784998"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.787561"], ["updated_at", "2016-12-02 16:23:59.787561"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.788577"], ["updated_at", "2016-12-02 16:23:59.788577"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.789564"], ["updated_at", "2016-12-02 16:23:59.789564"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.790478"], ["updated_at", "2016-12-02 16:23:59.790478"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.791398"], ["updated_at", "2016-12-02 16:23:59.791398"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.792312"], ["updated_at", "2016-12-02 16:23:59.792312"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.793173"], ["updated_at", "2016-12-02 16:23:59.793173"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.794034"], ["updated_at", "2016-12-02 16:23:59.794034"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.794849"], ["updated_at", "2016-12-02 16:23:59.794849"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.795773"], ["updated_at", "2016-12-02 16:23:59.795773"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.797800"], ["updated_at", "2016-12-02 16:23:59.797800"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.798710"], ["updated_at", "2016-12-02 16:23:59.798710"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.799653"], ["updated_at", "2016-12-02 16:23:59.799653"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.800715"], ["updated_at", "2016-12-02 16:23:59.800715"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.802000"], ["updated_at", "2016-12-02 16:23:59.802000"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.803539"], ["updated_at", "2016-12-02 16:23:59.803539"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.804539"], ["updated_at", "2016-12-02 16:23:59.804539"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.805452"], ["updated_at", "2016-12-02 16:23:59.805452"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.806388"], ["updated_at", "2016-12-02 16:23:59.806388"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.807328"], ["updated_at", "2016-12-02 16:23:59.807328"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.809612"], ["updated_at", "2016-12-02 16:23:59.809612"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.810997"], ["updated_at", "2016-12-02 16:23:59.810997"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.812292"], ["updated_at", "2016-12-02 16:23:59.812292"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.813904"], ["updated_at", "2016-12-02 16:23:59.813904"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.815265"], ["updated_at", "2016-12-02 16:23:59.815265"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.816243"], ["updated_at", "2016-12-02 16:23:59.816243"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.817098"], ["updated_at", "2016-12-02 16:23:59.817098"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.817942"], ["updated_at", "2016-12-02 16:23:59.817942"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.818808"], ["updated_at", "2016-12-02 16:23:59.818808"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.826545"], ["updated_at", "2016-12-02 16:23:59.826545"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.827619"], ["updated_at", "2016-12-02 16:23:59.827619"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.828539"], ["updated_at", "2016-12-02 16:23:59.828539"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.829453"], ["updated_at", "2016-12-02 16:23:59.829453"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.830380"], ["updated_at", "2016-12-02 16:23:59.830380"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.831212"], ["updated_at", "2016-12-02 16:23:59.831212"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.832145"], ["updated_at", "2016-12-02 16:23:59.832145"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.833045"], ["updated_at", "2016-12-02 16:23:59.833045"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.833942"], ["updated_at", "2016-12-02 16:23:59.833942"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.834838"], ["updated_at", "2016-12-02 16:23:59.834838"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.837258"], ["updated_at", "2016-12-02 16:23:59.837258"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.838171"], ["updated_at", "2016-12-02 16:23:59.838171"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.839040"], ["updated_at", "2016-12-02 16:23:59.839040"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.839914"], ["updated_at", "2016-12-02 16:23:59.839914"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.840793"], ["updated_at", "2016-12-02 16:23:59.840793"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.841682"], ["updated_at", "2016-12-02 16:23:59.841682"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.842574"], ["updated_at", "2016-12-02 16:23:59.842574"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.843447"], ["updated_at", "2016-12-02 16:23:59.843447"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.844348"], ["updated_at", "2016-12-02 16:23:59.844348"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:23:59.845361"], ["updated_at", "2016-12-02 16:23:59.845361"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:23:59 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.9ms) + Rendered products/index.html.erb within layouts/application (7.8ms) +Completed 200 OK in 162ms (Views: 161.3ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:00.037614"], ["updated_at", "2016-12-02 16:24:00.037614"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:00.038899"], ["updated_at", "2016-12-02 16:24:00.038899"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:00.039870"], ["updated_at", "2016-12-02 16:24:00.039870"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:00.040823"], ["updated_at", "2016-12-02 16:24:00.040823"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:00.041807"], ["updated_at", "2016-12-02 16:24:00.041807"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:00.042762"], ["updated_at", "2016-12-02 16:24:00.042762"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:00.043747"], ["updated_at", "2016-12-02 16:24:00.043747"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:00.044734"], ["updated_at", "2016-12-02 16:24:00.044734"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:00.045679"], ["updated_at", "2016-12-02 16:24:00.045679"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:00.046575"], ["updated_at", "2016-12-02 16:24:00.046575"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:24:00 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:24:00 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:24:00 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:24:00 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.4ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:15.991372"], ["updated_at", "2016-12-02 16:24:15.991372"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:15.995066"], ["updated_at", "2016-12-02 16:24:15.995066"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:15.996251"], ["updated_at", "2016-12-02 16:24:15.996251"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:15.997341"], ["updated_at", "2016-12-02 16:24:15.997341"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:15.998382"], ["updated_at", "2016-12-02 16:24:15.998382"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:15.999447"], ["updated_at", "2016-12-02 16:24:15.999447"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.000430"], ["updated_at", "2016-12-02 16:24:16.000430"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.001502"], ["updated_at", "2016-12-02 16:24:16.001502"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.002486"], ["updated_at", "2016-12-02 16:24:16.002486"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.003494"], ["updated_at", "2016-12-02 16:24:16.003494"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:24:16 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.9ms) + Rendered products/index.html.erb within layouts/application (7.9ms) +Completed 200 OK in 176ms (Views: 174.6ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:24:16 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.5ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.5ms) + Rendered products/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.5ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:24:16 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.3ms) + Rendered products/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:24:16 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.231617"], ["updated_at", "2016-12-02 16:24:16.231617"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.232891"], ["updated_at", "2016-12-02 16:24:16.232891"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.234139"], ["updated_at", "2016-12-02 16:24:16.234139"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.235245"], ["updated_at", "2016-12-02 16:24:16.235245"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.236375"], ["updated_at", "2016-12-02 16:24:16.236375"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.237511"], ["updated_at", "2016-12-02 16:24:16.237511"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.238452"], ["updated_at", "2016-12-02 16:24:16.238452"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.239342"], ["updated_at", "2016-12-02 16:24:16.239342"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.240200"], ["updated_at", "2016-12-02 16:24:16.240200"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.241053"], ["updated_at", "2016-12-02 16:24:16.241053"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:24:16 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.256792"], ["updated_at", "2016-12-02 16:24:16.256792"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.258200"], ["updated_at", "2016-12-02 16:24:16.258200"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.259461"], ["updated_at", "2016-12-02 16:24:16.259461"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.260612"], ["updated_at", "2016-12-02 16:24:16.260612"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.261884"], ["updated_at", "2016-12-02 16:24:16.261884"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.263115"], ["updated_at", "2016-12-02 16:24:16.263115"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.264862"], ["updated_at", "2016-12-02 16:24:16.264862"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.266769"], ["updated_at", "2016-12-02 16:24:16.266769"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.268973"], ["updated_at", "2016-12-02 16:24:16.268973"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.270335"], ["updated_at", "2016-12-02 16:24:16.270335"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.274372"], ["updated_at", "2016-12-02 16:24:16.274372"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.275671"], ["updated_at", "2016-12-02 16:24:16.275671"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.276668"], ["updated_at", "2016-12-02 16:24:16.276668"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.277647"], ["updated_at", "2016-12-02 16:24:16.277647"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.278570"], ["updated_at", "2016-12-02 16:24:16.278570"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.279490"], ["updated_at", "2016-12-02 16:24:16.279490"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.280422"], ["updated_at", "2016-12-02 16:24:16.280422"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.281290"], ["updated_at", "2016-12-02 16:24:16.281290"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.282316"], ["updated_at", "2016-12-02 16:24:16.282316"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.283394"], ["updated_at", "2016-12-02 16:24:16.283394"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.284414"], ["updated_at", "2016-12-02 16:24:16.284414"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.285431"], ["updated_at", "2016-12-02 16:24:16.285431"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.286405"], ["updated_at", "2016-12-02 16:24:16.286405"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.287355"], ["updated_at", "2016-12-02 16:24:16.287355"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.288304"], ["updated_at", "2016-12-02 16:24:16.288304"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.289343"], ["updated_at", "2016-12-02 16:24:16.289343"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.290288"], ["updated_at", "2016-12-02 16:24:16.290288"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.291173"], ["updated_at", "2016-12-02 16:24:16.291173"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.291998"], ["updated_at", "2016-12-02 16:24:16.291998"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.299235"], ["updated_at", "2016-12-02 16:24:16.299235"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.300348"], ["updated_at", "2016-12-02 16:24:16.300348"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.301272"], ["updated_at", "2016-12-02 16:24:16.301272"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.302236"], ["updated_at", "2016-12-02 16:24:16.302236"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.303207"], ["updated_at", "2016-12-02 16:24:16.303207"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.304194"], ["updated_at", "2016-12-02 16:24:16.304194"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.305213"], ["updated_at", "2016-12-02 16:24:16.305213"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.306103"], ["updated_at", "2016-12-02 16:24:16.306103"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.306992"], ["updated_at", "2016-12-02 16:24:16.306992"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.307925"], ["updated_at", "2016-12-02 16:24:16.307925"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.310203"], ["updated_at", "2016-12-02 16:24:16.310203"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.311111"], ["updated_at", "2016-12-02 16:24:16.311111"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.312117"], ["updated_at", "2016-12-02 16:24:16.312117"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.313003"], ["updated_at", "2016-12-02 16:24:16.313003"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.313940"], ["updated_at", "2016-12-02 16:24:16.313940"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.315020"], ["updated_at", "2016-12-02 16:24:16.315020"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.316097"], ["updated_at", "2016-12-02 16:24:16.316097"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.316998"], ["updated_at", "2016-12-02 16:24:16.316998"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.317862"], ["updated_at", "2016-12-02 16:24:16.317862"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:24:16.318742"], ["updated_at", "2016-12-02 16:24:16.318742"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.138469"], ["updated_at", "2016-12-02 16:26:57.138469"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.141806"], ["updated_at", "2016-12-02 16:26:57.141806"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.142875"], ["updated_at", "2016-12-02 16:26:57.142875"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.143813"], ["updated_at", "2016-12-02 16:26:57.143813"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.144757"], ["updated_at", "2016-12-02 16:26:57.144757"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.145681"], ["updated_at", "2016-12-02 16:26:57.145681"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.146594"], ["updated_at", "2016-12-02 16:26:57.146594"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.147547"], ["updated_at", "2016-12-02 16:26:57.147547"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.148440"], ["updated_at", "2016-12-02 16:26:57.148440"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.149423"], ["updated_at", "2016-12-02 16:26:57.149423"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.153266"], ["updated_at", "2016-12-02 16:26:57.153266"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.154298"], ["updated_at", "2016-12-02 16:26:57.154298"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.155163"], ["updated_at", "2016-12-02 16:26:57.155163"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.155905"], ["updated_at", "2016-12-02 16:26:57.155905"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.156775"], ["updated_at", "2016-12-02 16:26:57.156775"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.157659"], ["updated_at", "2016-12-02 16:26:57.157659"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.158571"], ["updated_at", "2016-12-02 16:26:57.158571"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.159440"], ["updated_at", "2016-12-02 16:26:57.159440"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.160288"], ["updated_at", "2016-12-02 16:26:57.160288"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.161089"], ["updated_at", "2016-12-02 16:26:57.161089"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.164019"], ["updated_at", "2016-12-02 16:26:57.164019"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.165212"], ["updated_at", "2016-12-02 16:26:57.165212"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.166137"], ["updated_at", "2016-12-02 16:26:57.166137"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.167082"], ["updated_at", "2016-12-02 16:26:57.167082"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.168050"], ["updated_at", "2016-12-02 16:26:57.168050"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.170553"], ["updated_at", "2016-12-02 16:26:57.170553"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.171597"], ["updated_at", "2016-12-02 16:26:57.171597"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.172423"], ["updated_at", "2016-12-02 16:26:57.172423"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.173223"], ["updated_at", "2016-12-02 16:26:57.173223"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.174053"], ["updated_at", "2016-12-02 16:26:57.174053"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.174919"], ["updated_at", "2016-12-02 16:26:57.174919"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.175782"], ["updated_at", "2016-12-02 16:26:57.175782"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.176585"], ["updated_at", "2016-12-02 16:26:57.176585"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.177331"], ["updated_at", "2016-12-02 16:26:57.177331"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.178221"], ["updated_at", "2016-12-02 16:26:57.178221"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.179087"], ["updated_at", "2016-12-02 16:26:57.179087"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.179990"], ["updated_at", "2016-12-02 16:26:57.179990"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.180910"], ["updated_at", "2016-12-02 16:26:57.180910"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.181768"], ["updated_at", "2016-12-02 16:26:57.181768"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.188055"], ["updated_at", "2016-12-02 16:26:57.188055"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.189169"], ["updated_at", "2016-12-02 16:26:57.189169"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.190008"], ["updated_at", "2016-12-02 16:26:57.190008"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.190887"], ["updated_at", "2016-12-02 16:26:57.190887"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.191701"], ["updated_at", "2016-12-02 16:26:57.191701"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.192530"], ["updated_at", "2016-12-02 16:26:57.192530"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.193368"], ["updated_at", "2016-12-02 16:26:57.193368"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.194298"], ["updated_at", "2016-12-02 16:26:57.194298"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.195198"], ["updated_at", "2016-12-02 16:26:57.195198"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.196070"], ["updated_at", "2016-12-02 16:26:57.196070"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.198692"], ["updated_at", "2016-12-02 16:26:57.198692"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.199586"], ["updated_at", "2016-12-02 16:26:57.199586"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.200452"], ["updated_at", "2016-12-02 16:26:57.200452"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.201361"], ["updated_at", "2016-12-02 16:26:57.201361"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.202321"], ["updated_at", "2016-12-02 16:26:57.202321"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.203323"], ["updated_at", "2016-12-02 16:26:57.203323"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.204326"], ["updated_at", "2016-12-02 16:26:57.204326"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.205361"], ["updated_at", "2016-12-02 16:26:57.205361"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.206360"], ["updated_at", "2016-12-02 16:26:57.206360"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.207294"], ["updated_at", "2016-12-02 16:26:57.207294"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:26:57 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.0ms) + Rendered products/index.html.erb within layouts/application (8.0ms) +Completed 200 OK in 171ms (Views: 170.0ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:26:57 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.6ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.6ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:26:57 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:26:57 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.424781"], ["updated_at", "2016-12-02 16:26:57.424781"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.426171"], ["updated_at", "2016-12-02 16:26:57.426171"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.427155"], ["updated_at", "2016-12-02 16:26:57.427155"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.428051"], ["updated_at", "2016-12-02 16:26:57.428051"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.428985"], ["updated_at", "2016-12-02 16:26:57.428985"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.429807"], ["updated_at", "2016-12-02 16:26:57.429807"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.430631"], ["updated_at", "2016-12-02 16:26:57.430631"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.431606"], ["updated_at", "2016-12-02 16:26:57.431606"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.432524"], ["updated_at", "2016-12-02 16:26:57.432524"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:26:57.433385"], ["updated_at", "2016-12-02 16:26:57.433385"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:26:57 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.873991"], ["updated_at", "2016-12-02 16:27:24.873991"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.877042"], ["updated_at", "2016-12-02 16:27:24.877042"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.878046"], ["updated_at", "2016-12-02 16:27:24.878046"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.879013"], ["updated_at", "2016-12-02 16:27:24.879013"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.879954"], ["updated_at", "2016-12-02 16:27:24.879954"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.880884"], ["updated_at", "2016-12-02 16:27:24.880884"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.881852"], ["updated_at", "2016-12-02 16:27:24.881852"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.882803"], ["updated_at", "2016-12-02 16:27:24.882803"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.883790"], ["updated_at", "2016-12-02 16:27:24.883790"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.884678"], ["updated_at", "2016-12-02 16:27:24.884678"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.886806"], ["updated_at", "2016-12-02 16:27:24.886806"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.887767"], ["updated_at", "2016-12-02 16:27:24.887767"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.888659"], ["updated_at", "2016-12-02 16:27:24.888659"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.889617"], ["updated_at", "2016-12-02 16:27:24.889617"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.890619"], ["updated_at", "2016-12-02 16:27:24.890619"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.891430"], ["updated_at", "2016-12-02 16:27:24.891430"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.892295"], ["updated_at", "2016-12-02 16:27:24.892295"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.893171"], ["updated_at", "2016-12-02 16:27:24.893171"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.894084"], ["updated_at", "2016-12-02 16:27:24.894084"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.894922"], ["updated_at", "2016-12-02 16:27:24.894922"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.896836"], ["updated_at", "2016-12-02 16:27:24.896836"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.897757"], ["updated_at", "2016-12-02 16:27:24.897757"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.898597"], ["updated_at", "2016-12-02 16:27:24.898597"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.899599"], ["updated_at", "2016-12-02 16:27:24.899599"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.901187"], ["updated_at", "2016-12-02 16:27:24.901187"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.902274"], ["updated_at", "2016-12-02 16:27:24.902274"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.903183"], ["updated_at", "2016-12-02 16:27:24.903183"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.904061"], ["updated_at", "2016-12-02 16:27:24.904061"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.904991"], ["updated_at", "2016-12-02 16:27:24.904991"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.907268"], ["updated_at", "2016-12-02 16:27:24.907268"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.909672"], ["updated_at", "2016-12-02 16:27:24.909672"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.910658"], ["updated_at", "2016-12-02 16:27:24.910658"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.911674"], ["updated_at", "2016-12-02 16:27:24.911674"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.912636"], ["updated_at", "2016-12-02 16:27:24.912636"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.913483"], ["updated_at", "2016-12-02 16:27:24.913483"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.914335"], ["updated_at", "2016-12-02 16:27:24.914335"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.915216"], ["updated_at", "2016-12-02 16:27:24.915216"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.916110"], ["updated_at", "2016-12-02 16:27:24.916110"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.917047"], ["updated_at", "2016-12-02 16:27:24.917047"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.917922"], ["updated_at", "2016-12-02 16:27:24.917922"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.918784"], ["updated_at", "2016-12-02 16:27:24.918784"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.919658"], ["updated_at", "2016-12-02 16:27:24.919658"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.920543"], ["updated_at", "2016-12-02 16:27:24.920543"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.921389"], ["updated_at", "2016-12-02 16:27:24.921389"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.922222"], ["updated_at", "2016-12-02 16:27:24.922222"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.923088"], ["updated_at", "2016-12-02 16:27:24.923088"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.924038"], ["updated_at", "2016-12-02 16:27:24.924038"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.924897"], ["updated_at", "2016-12-02 16:27:24.924897"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.925803"], ["updated_at", "2016-12-02 16:27:24.925803"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.938683"], ["updated_at", "2016-12-02 16:27:24.938683"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.939933"], ["updated_at", "2016-12-02 16:27:24.939933"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.940956"], ["updated_at", "2016-12-02 16:27:24.940956"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.941940"], ["updated_at", "2016-12-02 16:27:24.941940"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.942953"], ["updated_at", "2016-12-02 16:27:24.942953"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.944422"], ["updated_at", "2016-12-02 16:27:24.944422"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.945584"], ["updated_at", "2016-12-02 16:27:24.945584"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.946692"], ["updated_at", "2016-12-02 16:27:24.946692"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.947960"], ["updated_at", "2016-12-02 16:27:24.947960"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:24.949147"], ["updated_at", "2016-12-02 16:27:24.949147"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:27:24 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.9ms) + Rendered products/index.html.erb within layouts/application (7.7ms) +Completed 200 OK in 174ms (Views: 173.3ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:27:25 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.5ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.4ms) + Rendered products/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.5ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:27:25 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:27:25 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:25.171797"], ["updated_at", "2016-12-02 16:27:25.171797"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:25.173246"], ["updated_at", "2016-12-02 16:27:25.173246"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:25.174316"], ["updated_at", "2016-12-02 16:27:25.174316"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:25.175301"], ["updated_at", "2016-12-02 16:27:25.175301"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:25.176280"], ["updated_at", "2016-12-02 16:27:25.176280"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:25.177262"], ["updated_at", "2016-12-02 16:27:25.177262"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:25.178228"], ["updated_at", "2016-12-02 16:27:25.178228"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:25.179182"], ["updated_at", "2016-12-02 16:27:25.179182"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:25.180181"], ["updated_at", "2016-12-02 16:27:25.180181"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:27:25.181249"], ["updated_at", "2016-12-02 16:27:25.181249"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:27:25 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.3ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.8ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.242085"], ["updated_at", "2016-12-02 16:28:38.242085"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.247221"], ["updated_at", "2016-12-02 16:28:38.247221"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.248693"], ["updated_at", "2016-12-02 16:28:38.248693"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.249975"], ["updated_at", "2016-12-02 16:28:38.249975"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.251211"], ["updated_at", "2016-12-02 16:28:38.251211"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.252265"], ["updated_at", "2016-12-02 16:28:38.252265"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.253186"], ["updated_at", "2016-12-02 16:28:38.253186"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.254162"], ["updated_at", "2016-12-02 16:28:38.254162"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.254990"], ["updated_at", "2016-12-02 16:28:38.254990"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.255864"], ["updated_at", "2016-12-02 16:28:38.255864"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.258703"], ["updated_at", "2016-12-02 16:28:38.258703"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.260460"], ["updated_at", "2016-12-02 16:28:38.260460"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.261506"], ["updated_at", "2016-12-02 16:28:38.261506"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.262396"], ["updated_at", "2016-12-02 16:28:38.262396"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.263312"], ["updated_at", "2016-12-02 16:28:38.263312"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.264256"], ["updated_at", "2016-12-02 16:28:38.264256"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.265264"], ["updated_at", "2016-12-02 16:28:38.265264"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.267494"], ["updated_at", "2016-12-02 16:28:38.267494"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.268528"], ["updated_at", "2016-12-02 16:28:38.268528"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.269390"], ["updated_at", "2016-12-02 16:28:38.269390"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.271478"], ["updated_at", "2016-12-02 16:28:38.271478"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.272365"], ["updated_at", "2016-12-02 16:28:38.272365"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.273178"], ["updated_at", "2016-12-02 16:28:38.273178"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.274131"], ["updated_at", "2016-12-02 16:28:38.274131"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.274986"], ["updated_at", "2016-12-02 16:28:38.274986"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.276047"], ["updated_at", "2016-12-02 16:28:38.276047"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.277074"], ["updated_at", "2016-12-02 16:28:38.277074"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.277939"], ["updated_at", "2016-12-02 16:28:38.277939"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.278969"], ["updated_at", "2016-12-02 16:28:38.278969"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.279868"], ["updated_at", "2016-12-02 16:28:38.279868"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.280700"], ["updated_at", "2016-12-02 16:28:38.280700"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.281523"], ["updated_at", "2016-12-02 16:28:38.281523"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.282449"], ["updated_at", "2016-12-02 16:28:38.282449"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.283348"], ["updated_at", "2016-12-02 16:28:38.283348"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.284246"], ["updated_at", "2016-12-02 16:28:38.284246"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.285311"], ["updated_at", "2016-12-02 16:28:38.285311"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.286342"], ["updated_at", "2016-12-02 16:28:38.286342"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.287327"], ["updated_at", "2016-12-02 16:28:38.287327"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.288264"], ["updated_at", "2016-12-02 16:28:38.288264"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.294670"], ["updated_at", "2016-12-02 16:28:38.294670"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.295757"], ["updated_at", "2016-12-02 16:28:38.295757"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.296648"], ["updated_at", "2016-12-02 16:28:38.296648"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.297533"], ["updated_at", "2016-12-02 16:28:38.297533"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.298435"], ["updated_at", "2016-12-02 16:28:38.298435"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.299295"], ["updated_at", "2016-12-02 16:28:38.299295"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.300150"], ["updated_at", "2016-12-02 16:28:38.300150"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.301062"], ["updated_at", "2016-12-02 16:28:38.301062"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.301955"], ["updated_at", "2016-12-02 16:28:38.301955"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.302821"], ["updated_at", "2016-12-02 16:28:38.302821"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.307150"], ["updated_at", "2016-12-02 16:28:38.307150"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.308249"], ["updated_at", "2016-12-02 16:28:38.308249"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.309349"], ["updated_at", "2016-12-02 16:28:38.309349"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.310215"], ["updated_at", "2016-12-02 16:28:38.310215"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.311147"], ["updated_at", "2016-12-02 16:28:38.311147"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.312112"], ["updated_at", "2016-12-02 16:28:38.312112"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.313009"], ["updated_at", "2016-12-02 16:28:38.313009"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.313914"], ["updated_at", "2016-12-02 16:28:38.313914"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.314773"], ["updated_at", "2016-12-02 16:28:38.314773"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.315719"], ["updated_at", "2016-12-02 16:28:38.315719"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:28:38 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.1ms) + Rendered products/index.html.erb within layouts/application (8.1ms) +Completed 200 OK in 170ms (Views: 169.1ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:28:38 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.3ms) + Rendered products/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:28:38 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:28:38 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.530275"], ["updated_at", "2016-12-02 16:28:38.530275"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.531492"], ["updated_at", "2016-12-02 16:28:38.531492"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.532650"], ["updated_at", "2016-12-02 16:28:38.532650"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.533721"], ["updated_at", "2016-12-02 16:28:38.533721"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.534733"], ["updated_at", "2016-12-02 16:28:38.534733"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.535696"], ["updated_at", "2016-12-02 16:28:38.535696"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.536638"], ["updated_at", "2016-12-02 16:28:38.536638"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.537582"], ["updated_at", "2016-12-02 16:28:38.537582"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.538507"], ["updated_at", "2016-12-02 16:28:38.538507"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:28:38.539409"], ["updated_at", "2016-12-02 16:28:38.539409"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:28:38 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.057522"], ["updated_at", "2016-12-02 16:29:27.057522"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.060754"], ["updated_at", "2016-12-02 16:29:27.060754"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.061819"], ["updated_at", "2016-12-02 16:29:27.061819"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.062783"], ["updated_at", "2016-12-02 16:29:27.062783"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.063798"], ["updated_at", "2016-12-02 16:29:27.063798"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.064766"], ["updated_at", "2016-12-02 16:29:27.064766"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.065821"], ["updated_at", "2016-12-02 16:29:27.065821"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.066780"], ["updated_at", "2016-12-02 16:29:27.066780"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.067713"], ["updated_at", "2016-12-02 16:29:27.067713"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.068717"], ["updated_at", "2016-12-02 16:29:27.068717"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:29:27 -0300 +Processing by ProductsController#index as HTML +  (0.5ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.9ms) + Rendered products/index.html.erb within layouts/application (8.2ms) +Completed 200 OK in 169ms (Views: 168.3ms | ActiveRecord: 0.5ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:29:27 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:29:27 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:29:27 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.282854"], ["updated_at", "2016-12-02 16:29:27.282854"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.284033"], ["updated_at", "2016-12-02 16:29:27.284033"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.285089"], ["updated_at", "2016-12-02 16:29:27.285089"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.286088"], ["updated_at", "2016-12-02 16:29:27.286088"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.287044"], ["updated_at", "2016-12-02 16:29:27.287044"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.288040"], ["updated_at", "2016-12-02 16:29:27.288040"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.288961"], ["updated_at", "2016-12-02 16:29:27.288961"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.289906"], ["updated_at", "2016-12-02 16:29:27.289906"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.290795"], ["updated_at", "2016-12-02 16:29:27.290795"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.291712"], ["updated_at", "2016-12-02 16:29:27.291712"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:29:27 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.302062"], ["updated_at", "2016-12-02 16:29:27.302062"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.303210"], ["updated_at", "2016-12-02 16:29:27.303210"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.304174"], ["updated_at", "2016-12-02 16:29:27.304174"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.305117"], ["updated_at", "2016-12-02 16:29:27.305117"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.305967"], ["updated_at", "2016-12-02 16:29:27.305967"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.306826"], ["updated_at", "2016-12-02 16:29:27.306826"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.307689"], ["updated_at", "2016-12-02 16:29:27.307689"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.308519"], ["updated_at", "2016-12-02 16:29:27.308519"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.309369"], ["updated_at", "2016-12-02 16:29:27.309369"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.310222"], ["updated_at", "2016-12-02 16:29:27.310222"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.312152"], ["updated_at", "2016-12-02 16:29:27.312152"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.313129"], ["updated_at", "2016-12-02 16:29:27.313129"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.314109"], ["updated_at", "2016-12-02 16:29:27.314109"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.315065"], ["updated_at", "2016-12-02 16:29:27.315065"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.316009"], ["updated_at", "2016-12-02 16:29:27.316009"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.317429"], ["updated_at", "2016-12-02 16:29:27.317429"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.318701"], ["updated_at", "2016-12-02 16:29:27.318701"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.319660"], ["updated_at", "2016-12-02 16:29:27.319660"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.320600"], ["updated_at", "2016-12-02 16:29:27.320600"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.322796"], ["updated_at", "2016-12-02 16:29:27.322796"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.325209"], ["updated_at", "2016-12-02 16:29:27.325209"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.326181"], ["updated_at", "2016-12-02 16:29:27.326181"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.327136"], ["updated_at", "2016-12-02 16:29:27.327136"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.328093"], ["updated_at", "2016-12-02 16:29:27.328093"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.329009"], ["updated_at", "2016-12-02 16:29:27.329009"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.329993"], ["updated_at", "2016-12-02 16:29:27.329993"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.330861"], ["updated_at", "2016-12-02 16:29:27.330861"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.331750"], ["updated_at", "2016-12-02 16:29:27.331750"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.332633"], ["updated_at", "2016-12-02 16:29:27.332633"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.333420"], ["updated_at", "2016-12-02 16:29:27.333420"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.334316"], ["updated_at", "2016-12-02 16:29:27.334316"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.335180"], ["updated_at", "2016-12-02 16:29:27.335180"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.336042"], ["updated_at", "2016-12-02 16:29:27.336042"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.336957"], ["updated_at", "2016-12-02 16:29:27.336957"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.337857"], ["updated_at", "2016-12-02 16:29:27.337857"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.338743"], ["updated_at", "2016-12-02 16:29:27.338743"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.339651"], ["updated_at", "2016-12-02 16:29:27.339651"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.340701"], ["updated_at", "2016-12-02 16:29:27.340701"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.341598"], ["updated_at", "2016-12-02 16:29:27.341598"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.347771"], ["updated_at", "2016-12-02 16:29:27.347771"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.348862"], ["updated_at", "2016-12-02 16:29:27.348862"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.349710"], ["updated_at", "2016-12-02 16:29:27.349710"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.350557"], ["updated_at", "2016-12-02 16:29:27.350557"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.351458"], ["updated_at", "2016-12-02 16:29:27.351458"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.352407"], ["updated_at", "2016-12-02 16:29:27.352407"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.353238"], ["updated_at", "2016-12-02 16:29:27.353238"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.354060"], ["updated_at", "2016-12-02 16:29:27.354060"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.354891"], ["updated_at", "2016-12-02 16:29:27.354891"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:29:27.355717"], ["updated_at", "2016-12-02 16:29:27.355717"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.3ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.841327"], ["updated_at", "2016-12-02 16:30:04.841327"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.844948"], ["updated_at", "2016-12-02 16:30:04.844948"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.846238"], ["updated_at", "2016-12-02 16:30:04.846238"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.847463"], ["updated_at", "2016-12-02 16:30:04.847463"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.848625"], ["updated_at", "2016-12-02 16:30:04.848625"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.849851"], ["updated_at", "2016-12-02 16:30:04.849851"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.851019"], ["updated_at", "2016-12-02 16:30:04.851019"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.852116"], ["updated_at", "2016-12-02 16:30:04.852116"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.853237"], ["updated_at", "2016-12-02 16:30:04.853237"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.854283"], ["updated_at", "2016-12-02 16:30:04.854283"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.855455"], ["updated_at", "2016-12-02 16:30:04.855455"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.856511"], ["updated_at", "2016-12-02 16:30:04.856511"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.857553"], ["updated_at", "2016-12-02 16:30:04.857553"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.858576"], ["updated_at", "2016-12-02 16:30:04.858576"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.859570"], ["updated_at", "2016-12-02 16:30:04.859570"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.860576"], ["updated_at", "2016-12-02 16:30:04.860576"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.861584"], ["updated_at", "2016-12-02 16:30:04.861584"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.862489"], ["updated_at", "2016-12-02 16:30:04.862489"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.863568"], ["updated_at", "2016-12-02 16:30:04.863568"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.871906"], ["updated_at", "2016-12-02 16:30:04.871906"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.873183"], ["updated_at", "2016-12-02 16:30:04.873183"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.875252"], ["updated_at", "2016-12-02 16:30:04.875252"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.876933"], ["updated_at", "2016-12-02 16:30:04.876933"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.878028"], ["updated_at", "2016-12-02 16:30:04.878028"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.879067"], ["updated_at", "2016-12-02 16:30:04.879067"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.880076"], ["updated_at", "2016-12-02 16:30:04.880076"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.881187"], ["updated_at", "2016-12-02 16:30:04.881187"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.882268"], ["updated_at", "2016-12-02 16:30:04.882268"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.883298"], ["updated_at", "2016-12-02 16:30:04.883298"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.886804"], ["updated_at", "2016-12-02 16:30:04.886804"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.888069"], ["updated_at", "2016-12-02 16:30:04.888069"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.889058"], ["updated_at", "2016-12-02 16:30:04.889058"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.890100"], ["updated_at", "2016-12-02 16:30:04.890100"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.891056"], ["updated_at", "2016-12-02 16:30:04.891056"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.892005"], ["updated_at", "2016-12-02 16:30:04.892005"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.892906"], ["updated_at", "2016-12-02 16:30:04.892906"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.893843"], ["updated_at", "2016-12-02 16:30:04.893843"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.894752"], ["updated_at", "2016-12-02 16:30:04.894752"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.895664"], ["updated_at", "2016-12-02 16:30:04.895664"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.897755"], ["updated_at", "2016-12-02 16:30:04.897755"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.898670"], ["updated_at", "2016-12-02 16:30:04.898670"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.899628"], ["updated_at", "2016-12-02 16:30:04.899628"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.900575"], ["updated_at", "2016-12-02 16:30:04.900575"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.901487"], ["updated_at", "2016-12-02 16:30:04.901487"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.902410"], ["updated_at", "2016-12-02 16:30:04.902410"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.903386"], ["updated_at", "2016-12-02 16:30:04.903386"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.904354"], ["updated_at", "2016-12-02 16:30:04.904354"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.905364"], ["updated_at", "2016-12-02 16:30:04.905364"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.906276"], ["updated_at", "2016-12-02 16:30:04.906276"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.912023"], ["updated_at", "2016-12-02 16:30:04.912023"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.913188"], ["updated_at", "2016-12-02 16:30:04.913188"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.914135"], ["updated_at", "2016-12-02 16:30:04.914135"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.915080"], ["updated_at", "2016-12-02 16:30:04.915080"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.916018"], ["updated_at", "2016-12-02 16:30:04.916018"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.916871"], ["updated_at", "2016-12-02 16:30:04.916871"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.917816"], ["updated_at", "2016-12-02 16:30:04.917816"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.918717"], ["updated_at", "2016-12-02 16:30:04.918717"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.919767"], ["updated_at", "2016-12-02 16:30:04.919767"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:04.921040"], ["updated_at", "2016-12-02 16:30:04.921040"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:30:04 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (5.4ms) + Rendered products/index.html.erb within layouts/application (9.7ms) +Completed 200 OK in 192ms (Views: 191.5ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:30:05 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.4ms) + Rendered products/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:30:05 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.4ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:30:05 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.5ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.5ms) +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:05.162861"], ["updated_at", "2016-12-02 16:30:05.162861"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:05.164155"], ["updated_at", "2016-12-02 16:30:05.164155"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:05.165215"], ["updated_at", "2016-12-02 16:30:05.165215"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:05.166458"], ["updated_at", "2016-12-02 16:30:05.166458"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:05.167670"], ["updated_at", "2016-12-02 16:30:05.167670"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:05.170049"], ["updated_at", "2016-12-02 16:30:05.170049"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:05.171275"], ["updated_at", "2016-12-02 16:30:05.171275"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:05.172433"], ["updated_at", "2016-12-02 16:30:05.172433"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:05.173547"], ["updated_at", "2016-12-02 16:30:05.173547"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:05.174718"], ["updated_at", "2016-12-02 16:30:05.174718"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:30:05 -0300 +Processing by ProductsController#index as HTML +  (0.5ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.5ms) +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.3ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.561612"], ["updated_at", "2016-12-02 16:30:27.561612"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.564677"], ["updated_at", "2016-12-02 16:30:27.564677"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.565812"], ["updated_at", "2016-12-02 16:30:27.565812"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.566882"], ["updated_at", "2016-12-02 16:30:27.566882"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.567889"], ["updated_at", "2016-12-02 16:30:27.567889"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.568931"], ["updated_at", "2016-12-02 16:30:27.568931"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.569963"], ["updated_at", "2016-12-02 16:30:27.569963"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.570946"], ["updated_at", "2016-12-02 16:30:27.570946"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.571936"], ["updated_at", "2016-12-02 16:30:27.571936"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.572981"], ["updated_at", "2016-12-02 16:30:27.572981"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:30:27 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.7ms) + Rendered products/index.html.erb within layouts/application (7.6ms) +Completed 200 OK in 162ms (Views: 161.3ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.769508"], ["updated_at", "2016-12-02 16:30:27.769508"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.770783"], ["updated_at", "2016-12-02 16:30:27.770783"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.771751"], ["updated_at", "2016-12-02 16:30:27.771751"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.772875"], ["updated_at", "2016-12-02 16:30:27.772875"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.773899"], ["updated_at", "2016-12-02 16:30:27.773899"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.774808"], ["updated_at", "2016-12-02 16:30:27.774808"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.775717"], ["updated_at", "2016-12-02 16:30:27.775717"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.776640"], ["updated_at", "2016-12-02 16:30:27.776640"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.777538"], ["updated_at", "2016-12-02 16:30:27.777538"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.778414"], ["updated_at", "2016-12-02 16:30:27.778414"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:30:27 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:30:27 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:30:27 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:30:27 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.798967"], ["updated_at", "2016-12-02 16:30:27.798967"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.800170"], ["updated_at", "2016-12-02 16:30:27.800170"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.801538"], ["updated_at", "2016-12-02 16:30:27.801538"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.802622"], ["updated_at", "2016-12-02 16:30:27.802622"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.803624"], ["updated_at", "2016-12-02 16:30:27.803624"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.804779"], ["updated_at", "2016-12-02 16:30:27.804779"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.806930"], ["updated_at", "2016-12-02 16:30:27.806930"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.808170"], ["updated_at", "2016-12-02 16:30:27.808170"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.809150"], ["updated_at", "2016-12-02 16:30:27.809150"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.810101"], ["updated_at", "2016-12-02 16:30:27.810101"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.812344"], ["updated_at", "2016-12-02 16:30:27.812344"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.813302"], ["updated_at", "2016-12-02 16:30:27.813302"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.814216"], ["updated_at", "2016-12-02 16:30:27.814216"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.815093"], ["updated_at", "2016-12-02 16:30:27.815093"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.815992"], ["updated_at", "2016-12-02 16:30:27.815992"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.816859"], ["updated_at", "2016-12-02 16:30:27.816859"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.817893"], ["updated_at", "2016-12-02 16:30:27.817893"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.818818"], ["updated_at", "2016-12-02 16:30:27.818818"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.819646"], ["updated_at", "2016-12-02 16:30:27.819646"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.820632"], ["updated_at", "2016-12-02 16:30:27.820632"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.821541"], ["updated_at", "2016-12-02 16:30:27.821541"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.822427"], ["updated_at", "2016-12-02 16:30:27.822427"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.823330"], ["updated_at", "2016-12-02 16:30:27.823330"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.824332"], ["updated_at", "2016-12-02 16:30:27.824332"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.825359"], ["updated_at", "2016-12-02 16:30:27.825359"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.826389"], ["updated_at", "2016-12-02 16:30:27.826389"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.827233"], ["updated_at", "2016-12-02 16:30:27.827233"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.828139"], ["updated_at", "2016-12-02 16:30:27.828139"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.829119"], ["updated_at", "2016-12-02 16:30:27.829119"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.836427"], ["updated_at", "2016-12-02 16:30:27.836427"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.837498"], ["updated_at", "2016-12-02 16:30:27.837498"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.838421"], ["updated_at", "2016-12-02 16:30:27.838421"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.839322"], ["updated_at", "2016-12-02 16:30:27.839322"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.840224"], ["updated_at", "2016-12-02 16:30:27.840224"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.841248"], ["updated_at", "2016-12-02 16:30:27.841248"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.842143"], ["updated_at", "2016-12-02 16:30:27.842143"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.843016"], ["updated_at", "2016-12-02 16:30:27.843016"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.843844"], ["updated_at", "2016-12-02 16:30:27.843844"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.844643"], ["updated_at", "2016-12-02 16:30:27.844643"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.846620"], ["updated_at", "2016-12-02 16:30:27.846620"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.847667"], ["updated_at", "2016-12-02 16:30:27.847667"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.848641"], ["updated_at", "2016-12-02 16:30:27.848641"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.849541"], ["updated_at", "2016-12-02 16:30:27.849541"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.850355"], ["updated_at", "2016-12-02 16:30:27.850355"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.851174"], ["updated_at", "2016-12-02 16:30:27.851174"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.852069"], ["updated_at", "2016-12-02 16:30:27.852069"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.853118"], ["updated_at", "2016-12-02 16:30:27.853118"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.854786"], ["updated_at", "2016-12-02 16:30:27.854786"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:30:27.856992"], ["updated_at", "2016-12-02 16:30:27.856992"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.403660"], ["updated_at", "2016-12-02 16:31:58.403660"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.406860"], ["updated_at", "2016-12-02 16:31:58.406860"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.407979"], ["updated_at", "2016-12-02 16:31:58.407979"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.408997"], ["updated_at", "2016-12-02 16:31:58.408997"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.410058"], ["updated_at", "2016-12-02 16:31:58.410058"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.411039"], ["updated_at", "2016-12-02 16:31:58.411039"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.411980"], ["updated_at", "2016-12-02 16:31:58.411980"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.412916"], ["updated_at", "2016-12-02 16:31:58.412916"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.413833"], ["updated_at", "2016-12-02 16:31:58.413833"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.414758"], ["updated_at", "2016-12-02 16:31:58.414758"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.415766"], ["updated_at", "2016-12-02 16:31:58.415766"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.416746"], ["updated_at", "2016-12-02 16:31:58.416746"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.417648"], ["updated_at", "2016-12-02 16:31:58.417648"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.418554"], ["updated_at", "2016-12-02 16:31:58.418554"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.419419"], ["updated_at", "2016-12-02 16:31:58.419419"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.420320"], ["updated_at", "2016-12-02 16:31:58.420320"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.421199"], ["updated_at", "2016-12-02 16:31:58.421199"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.422082"], ["updated_at", "2016-12-02 16:31:58.422082"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.422980"], ["updated_at", "2016-12-02 16:31:58.422980"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.431995"], ["updated_at", "2016-12-02 16:31:58.431995"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.433683"], ["updated_at", "2016-12-02 16:31:58.433683"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.434794"], ["updated_at", "2016-12-02 16:31:58.434794"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.435829"], ["updated_at", "2016-12-02 16:31:58.435829"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.436904"], ["updated_at", "2016-12-02 16:31:58.436904"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.439366"], ["updated_at", "2016-12-02 16:31:58.439366"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.440345"], ["updated_at", "2016-12-02 16:31:58.440345"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.441241"], ["updated_at", "2016-12-02 16:31:58.441241"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.442131"], ["updated_at", "2016-12-02 16:31:58.442131"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.443035"], ["updated_at", "2016-12-02 16:31:58.443035"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.445147"], ["updated_at", "2016-12-02 16:31:58.445147"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.446074"], ["updated_at", "2016-12-02 16:31:58.446074"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.447002"], ["updated_at", "2016-12-02 16:31:58.447002"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.447989"], ["updated_at", "2016-12-02 16:31:58.447989"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.448855"], ["updated_at", "2016-12-02 16:31:58.448855"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.449687"], ["updated_at", "2016-12-02 16:31:58.449687"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.450532"], ["updated_at", "2016-12-02 16:31:58.450532"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.451431"], ["updated_at", "2016-12-02 16:31:58.451431"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.452376"], ["updated_at", "2016-12-02 16:31:58.452376"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.453217"], ["updated_at", "2016-12-02 16:31:58.453217"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.455250"], ["updated_at", "2016-12-02 16:31:58.455250"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.456166"], ["updated_at", "2016-12-02 16:31:58.456166"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.457059"], ["updated_at", "2016-12-02 16:31:58.457059"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.458066"], ["updated_at", "2016-12-02 16:31:58.458066"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.458907"], ["updated_at", "2016-12-02 16:31:58.458907"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.459874"], ["updated_at", "2016-12-02 16:31:58.459874"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.460814"], ["updated_at", "2016-12-02 16:31:58.460814"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.461702"], ["updated_at", "2016-12-02 16:31:58.461702"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.462527"], ["updated_at", "2016-12-02 16:31:58.462527"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.463324"], ["updated_at", "2016-12-02 16:31:58.463324"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.4ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.471260"], ["updated_at", "2016-12-02 16:31:58.471260"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.472658"], ["updated_at", "2016-12-02 16:31:58.472658"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.473693"], ["updated_at", "2016-12-02 16:31:58.473693"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.474624"], ["updated_at", "2016-12-02 16:31:58.474624"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.475434"], ["updated_at", "2016-12-02 16:31:58.475434"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.476310"], ["updated_at", "2016-12-02 16:31:58.476310"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.477386"], ["updated_at", "2016-12-02 16:31:58.477386"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.478288"], ["updated_at", "2016-12-02 16:31:58.478288"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.479116"], ["updated_at", "2016-12-02 16:31:58.479116"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.480039"], ["updated_at", "2016-12-02 16:31:58.480039"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:31:58 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.1ms) + Rendered products/index.html.erb within layouts/application (8.0ms) +Completed 200 OK in 168ms (Views: 167.2ms | ActiveRecord: 0.4ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:31:58 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:31:58 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.4ms) +Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:31:58 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.694068"], ["updated_at", "2016-12-02 16:31:58.694068"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.695253"], ["updated_at", "2016-12-02 16:31:58.695253"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.696259"], ["updated_at", "2016-12-02 16:31:58.696259"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.697311"], ["updated_at", "2016-12-02 16:31:58.697311"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.698297"], ["updated_at", "2016-12-02 16:31:58.698297"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.699288"], ["updated_at", "2016-12-02 16:31:58.699288"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.700248"], ["updated_at", "2016-12-02 16:31:58.700248"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.701167"], ["updated_at", "2016-12-02 16:31:58.701167"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.702091"], ["updated_at", "2016-12-02 16:31:58.702091"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:31:58.702955"], ["updated_at", "2016-12-02 16:31:58.702955"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:31:58 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.215705"], ["updated_at", "2016-12-02 16:32:43.215705"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.220574"], ["updated_at", "2016-12-02 16:32:43.220574"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.222161"], ["updated_at", "2016-12-02 16:32:43.222161"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.223354"], ["updated_at", "2016-12-02 16:32:43.223354"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.224533"], ["updated_at", "2016-12-02 16:32:43.224533"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.225618"], ["updated_at", "2016-12-02 16:32:43.225618"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.226564"], ["updated_at", "2016-12-02 16:32:43.226564"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.227531"], ["updated_at", "2016-12-02 16:32:43.227531"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.228487"], ["updated_at", "2016-12-02 16:32:43.228487"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.229392"], ["updated_at", "2016-12-02 16:32:43.229392"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:32:43 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.8ms) + Rendered products/index.html.erb within layouts/application (7.7ms) +Completed 200 OK in 170ms (Views: 169.3ms | ActiveRecord: 0.4ms) +  (0.4ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.434848"], ["updated_at", "2016-12-02 16:32:43.434848"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.436521"], ["updated_at", "2016-12-02 16:32:43.436521"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.437870"], ["updated_at", "2016-12-02 16:32:43.437870"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.438861"], ["updated_at", "2016-12-02 16:32:43.438861"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.439860"], ["updated_at", "2016-12-02 16:32:43.439860"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.440761"], ["updated_at", "2016-12-02 16:32:43.440761"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.441679"], ["updated_at", "2016-12-02 16:32:43.441679"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.442653"], ["updated_at", "2016-12-02 16:32:43.442653"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.443543"], ["updated_at", "2016-12-02 16:32:43.443543"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.444419"], ["updated_at", "2016-12-02 16:32:43.444419"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:32:43 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:32:43 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:32:43 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:32:43 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.467833"], ["updated_at", "2016-12-02 16:32:43.467833"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.469084"], ["updated_at", "2016-12-02 16:32:43.469084"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.471513"], ["updated_at", "2016-12-02 16:32:43.471513"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.472716"], ["updated_at", "2016-12-02 16:32:43.472716"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.473570"], ["updated_at", "2016-12-02 16:32:43.473570"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.474504"], ["updated_at", "2016-12-02 16:32:43.474504"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.475393"], ["updated_at", "2016-12-02 16:32:43.475393"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.476212"], ["updated_at", "2016-12-02 16:32:43.476212"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.477082"], ["updated_at", "2016-12-02 16:32:43.477082"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.477857"], ["updated_at", "2016-12-02 16:32:43.477857"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.480028"], ["updated_at", "2016-12-02 16:32:43.480028"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.480957"], ["updated_at", "2016-12-02 16:32:43.480957"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.481899"], ["updated_at", "2016-12-02 16:32:43.481899"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.482852"], ["updated_at", "2016-12-02 16:32:43.482852"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.483762"], ["updated_at", "2016-12-02 16:32:43.483762"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.484660"], ["updated_at", "2016-12-02 16:32:43.484660"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.485585"], ["updated_at", "2016-12-02 16:32:43.485585"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.486399"], ["updated_at", "2016-12-02 16:32:43.486399"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.487250"], ["updated_at", "2016-12-02 16:32:43.487250"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.488103"], ["updated_at", "2016-12-02 16:32:43.488103"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.490074"], ["updated_at", "2016-12-02 16:32:43.490074"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.490916"], ["updated_at", "2016-12-02 16:32:43.490916"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.491794"], ["updated_at", "2016-12-02 16:32:43.491794"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.492640"], ["updated_at", "2016-12-02 16:32:43.492640"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.493499"], ["updated_at", "2016-12-02 16:32:43.493499"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.494363"], ["updated_at", "2016-12-02 16:32:43.494363"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.495246"], ["updated_at", "2016-12-02 16:32:43.495246"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.496036"], ["updated_at", "2016-12-02 16:32:43.496036"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.496824"], ["updated_at", "2016-12-02 16:32:43.496824"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.497726"], ["updated_at", "2016-12-02 16:32:43.497726"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.498622"], ["updated_at", "2016-12-02 16:32:43.498622"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.499430"], ["updated_at", "2016-12-02 16:32:43.499430"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.500285"], ["updated_at", "2016-12-02 16:32:43.500285"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.501163"], ["updated_at", "2016-12-02 16:32:43.501163"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.502056"], ["updated_at", "2016-12-02 16:32:43.502056"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.502929"], ["updated_at", "2016-12-02 16:32:43.502929"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.503773"], ["updated_at", "2016-12-02 16:32:43.503773"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.504542"], ["updated_at", "2016-12-02 16:32:43.504542"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.505510"], ["updated_at", "2016-12-02 16:32:43.505510"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.513341"], ["updated_at", "2016-12-02 16:32:43.513341"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.515023"], ["updated_at", "2016-12-02 16:32:43.515023"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.516102"], ["updated_at", "2016-12-02 16:32:43.516102"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.516991"], ["updated_at", "2016-12-02 16:32:43.516991"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.517902"], ["updated_at", "2016-12-02 16:32:43.517902"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.518780"], ["updated_at", "2016-12-02 16:32:43.518780"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.519633"], ["updated_at", "2016-12-02 16:32:43.519633"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.520548"], ["updated_at", "2016-12-02 16:32:43.520548"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.521513"], ["updated_at", "2016-12-02 16:32:43.521513"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:32:43.522392"], ["updated_at", "2016-12-02 16:32:43.522392"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.659024"], ["updated_at", "2016-12-02 16:33:00.659024"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.663611"], ["updated_at", "2016-12-02 16:33:00.663611"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.665253"], ["updated_at", "2016-12-02 16:33:00.665253"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.666723"], ["updated_at", "2016-12-02 16:33:00.666723"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.667798"], ["updated_at", "2016-12-02 16:33:00.667798"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.668935"], ["updated_at", "2016-12-02 16:33:00.668935"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.670036"], ["updated_at", "2016-12-02 16:33:00.670036"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.671061"], ["updated_at", "2016-12-02 16:33:00.671061"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.671972"], ["updated_at", "2016-12-02 16:33:00.671972"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.672878"], ["updated_at", "2016-12-02 16:33:00.672878"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.675837"], ["updated_at", "2016-12-02 16:33:00.675837"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.677627"], ["updated_at", "2016-12-02 16:33:00.677627"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.678692"], ["updated_at", "2016-12-02 16:33:00.678692"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.679619"], ["updated_at", "2016-12-02 16:33:00.679619"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.680840"], ["updated_at", "2016-12-02 16:33:00.680840"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.683149"], ["updated_at", "2016-12-02 16:33:00.683149"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.684252"], ["updated_at", "2016-12-02 16:33:00.684252"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.685092"], ["updated_at", "2016-12-02 16:33:00.685092"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.685928"], ["updated_at", "2016-12-02 16:33:00.685928"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.686792"], ["updated_at", "2016-12-02 16:33:00.686792"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.687742"], ["updated_at", "2016-12-02 16:33:00.687742"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.688648"], ["updated_at", "2016-12-02 16:33:00.688648"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.689476"], ["updated_at", "2016-12-02 16:33:00.689476"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.690301"], ["updated_at", "2016-12-02 16:33:00.690301"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.691117"], ["updated_at", "2016-12-02 16:33:00.691117"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.691895"], ["updated_at", "2016-12-02 16:33:00.691895"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.692641"], ["updated_at", "2016-12-02 16:33:00.692641"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.693422"], ["updated_at", "2016-12-02 16:33:00.693422"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.694220"], ["updated_at", "2016-12-02 16:33:00.694220"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.701764"], ["updated_at", "2016-12-02 16:33:00.701764"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.702877"], ["updated_at", "2016-12-02 16:33:00.702877"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.703778"], ["updated_at", "2016-12-02 16:33:00.703778"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.704666"], ["updated_at", "2016-12-02 16:33:00.704666"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.705544"], ["updated_at", "2016-12-02 16:33:00.705544"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.706395"], ["updated_at", "2016-12-02 16:33:00.706395"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.707253"], ["updated_at", "2016-12-02 16:33:00.707253"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.707988"], ["updated_at", "2016-12-02 16:33:00.707988"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.708832"], ["updated_at", "2016-12-02 16:33:00.708832"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.709613"], ["updated_at", "2016-12-02 16:33:00.709613"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.711562"], ["updated_at", "2016-12-02 16:33:00.711562"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.712553"], ["updated_at", "2016-12-02 16:33:00.712553"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.713407"], ["updated_at", "2016-12-02 16:33:00.713407"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.714254"], ["updated_at", "2016-12-02 16:33:00.714254"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.715095"], ["updated_at", "2016-12-02 16:33:00.715095"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.715948"], ["updated_at", "2016-12-02 16:33:00.715948"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.716796"], ["updated_at", "2016-12-02 16:33:00.716796"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.717660"], ["updated_at", "2016-12-02 16:33:00.717660"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.718544"], ["updated_at", "2016-12-02 16:33:00.718544"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.719478"], ["updated_at", "2016-12-02 16:33:00.719478"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.722177"], ["updated_at", "2016-12-02 16:33:00.722177"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.723052"], ["updated_at", "2016-12-02 16:33:00.723052"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.723945"], ["updated_at", "2016-12-02 16:33:00.723945"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.724837"], ["updated_at", "2016-12-02 16:33:00.724837"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.725729"], ["updated_at", "2016-12-02 16:33:00.725729"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.726667"], ["updated_at", "2016-12-02 16:33:00.726667"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.727601"], ["updated_at", "2016-12-02 16:33:00.727601"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.728516"], ["updated_at", "2016-12-02 16:33:00.728516"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.729370"], ["updated_at", "2016-12-02 16:33:00.729370"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.730233"], ["updated_at", "2016-12-02 16:33:00.730233"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:33:00 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.0ms) + Rendered products/index.html.erb within layouts/application (8.0ms) +Completed 200 OK in 165ms (Views: 164.7ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:33:00 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.6ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.7ms) + Rendered products/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.6ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:33:00 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.5ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.3ms) + Rendered products/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.5ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:33:00 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.945305"], ["updated_at", "2016-12-02 16:33:00.945305"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.946488"], ["updated_at", "2016-12-02 16:33:00.946488"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.947682"], ["updated_at", "2016-12-02 16:33:00.947682"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.948718"], ["updated_at", "2016-12-02 16:33:00.948718"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.949683"], ["updated_at", "2016-12-02 16:33:00.949683"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.950587"], ["updated_at", "2016-12-02 16:33:00.950587"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.951484"], ["updated_at", "2016-12-02 16:33:00.951484"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.952389"], ["updated_at", "2016-12-02 16:33:00.952389"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.953483"], ["updated_at", "2016-12-02 16:33:00.953483"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:33:00.954407"], ["updated_at", "2016-12-02 16:33:00.954407"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:33:00 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.8ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.175517"], ["updated_at", "2016-12-02 16:38:45.175517"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.180772"], ["updated_at", "2016-12-02 16:38:45.180772"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.182227"], ["updated_at", "2016-12-02 16:38:45.182227"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.183477"], ["updated_at", "2016-12-02 16:38:45.183477"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.185509"], ["updated_at", "2016-12-02 16:38:45.185509"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.187805"], ["updated_at", "2016-12-02 16:38:45.187805"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.189054"], ["updated_at", "2016-12-02 16:38:45.189054"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.190007"], ["updated_at", "2016-12-02 16:38:45.190007"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.190901"], ["updated_at", "2016-12-02 16:38:45.190901"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.191708"], ["updated_at", "2016-12-02 16:38:45.191708"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:38:45 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (7.0ms) + Rendered products/index.html.erb within layouts/application (12.5ms) +Completed 200 OK in 179ms (Views: 178.5ms | ActiveRecord: 0.4ms) +Started GET "/?page=2" for 127.0.0.1 at 2016-12-02 13:38:45 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:38:45 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/?page=2&query=" for 127.0.0.1 at 2016-12-02 13:38:45 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2", "query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.436863"], ["updated_at", "2016-12-02 16:38:45.436863"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.438048"], ["updated_at", "2016-12-02 16:38:45.438048"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.439014"], ["updated_at", "2016-12-02 16:38:45.439014"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.439909"], ["updated_at", "2016-12-02 16:38:45.439909"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.440864"], ["updated_at", "2016-12-02 16:38:45.440864"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.441855"], ["updated_at", "2016-12-02 16:38:45.441855"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.442792"], ["updated_at", "2016-12-02 16:38:45.442792"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.443703"], ["updated_at", "2016-12-02 16:38:45.443703"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.444597"], ["updated_at", "2016-12-02 16:38:45.444597"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.445499"], ["updated_at", "2016-12-02 16:38:45.445499"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:38:45 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:38:45 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:38:45 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:38:45 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.3ms) + Rendered products/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.470144"], ["updated_at", "2016-12-02 16:38:45.470144"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.471348"], ["updated_at", "2016-12-02 16:38:45.471348"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.472305"], ["updated_at", "2016-12-02 16:38:45.472305"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.473210"], ["updated_at", "2016-12-02 16:38:45.473210"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.474141"], ["updated_at", "2016-12-02 16:38:45.474141"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.475047"], ["updated_at", "2016-12-02 16:38:45.475047"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.475955"], ["updated_at", "2016-12-02 16:38:45.475955"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.476881"], ["updated_at", "2016-12-02 16:38:45.476881"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.477809"], ["updated_at", "2016-12-02 16:38:45.477809"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.478722"], ["updated_at", "2016-12-02 16:38:45.478722"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.482028"], ["updated_at", "2016-12-02 16:38:45.482028"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.483301"], ["updated_at", "2016-12-02 16:38:45.483301"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.484125"], ["updated_at", "2016-12-02 16:38:45.484125"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.484930"], ["updated_at", "2016-12-02 16:38:45.484930"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.485766"], ["updated_at", "2016-12-02 16:38:45.485766"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.486628"], ["updated_at", "2016-12-02 16:38:45.486628"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.487511"], ["updated_at", "2016-12-02 16:38:45.487511"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.488381"], ["updated_at", "2016-12-02 16:38:45.488381"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.489212"], ["updated_at", "2016-12-02 16:38:45.489212"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.490089"], ["updated_at", "2016-12-02 16:38:45.490089"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.492078"], ["updated_at", "2016-12-02 16:38:45.492078"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.493080"], ["updated_at", "2016-12-02 16:38:45.493080"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.494085"], ["updated_at", "2016-12-02 16:38:45.494085"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.494972"], ["updated_at", "2016-12-02 16:38:45.494972"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.495850"], ["updated_at", "2016-12-02 16:38:45.495850"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.496866"], ["updated_at", "2016-12-02 16:38:45.496866"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.497821"], ["updated_at", "2016-12-02 16:38:45.497821"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.498763"], ["updated_at", "2016-12-02 16:38:45.498763"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.499590"], ["updated_at", "2016-12-02 16:38:45.499590"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.500402"], ["updated_at", "2016-12-02 16:38:45.500402"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.501247"], ["updated_at", "2016-12-02 16:38:45.501247"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.502189"], ["updated_at", "2016-12-02 16:38:45.502189"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.503159"], ["updated_at", "2016-12-02 16:38:45.503159"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.504142"], ["updated_at", "2016-12-02 16:38:45.504142"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.505074"], ["updated_at", "2016-12-02 16:38:45.505074"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.505904"], ["updated_at", "2016-12-02 16:38:45.505904"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.506703"], ["updated_at", "2016-12-02 16:38:45.506703"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.507800"], ["updated_at", "2016-12-02 16:38:45.507800"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.508859"], ["updated_at", "2016-12-02 16:38:45.508859"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.514954"], ["updated_at", "2016-12-02 16:38:45.514954"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.516029"], ["updated_at", "2016-12-02 16:38:45.516029"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.516936"], ["updated_at", "2016-12-02 16:38:45.516936"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.517834"], ["updated_at", "2016-12-02 16:38:45.517834"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.518697"], ["updated_at", "2016-12-02 16:38:45.518697"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.519524"], ["updated_at", "2016-12-02 16:38:45.519524"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.520367"], ["updated_at", "2016-12-02 16:38:45.520367"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.521280"], ["updated_at", "2016-12-02 16:38:45.521280"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.522114"], ["updated_at", "2016-12-02 16:38:45.522114"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:38:45.522951"], ["updated_at", "2016-12-02 16:38:45.522951"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.406698"], ["updated_at", "2016-12-02 16:39:38.406698"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.409695"], ["updated_at", "2016-12-02 16:39:38.409695"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.410776"], ["updated_at", "2016-12-02 16:39:38.410776"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.411849"], ["updated_at", "2016-12-02 16:39:38.411849"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.412853"], ["updated_at", "2016-12-02 16:39:38.412853"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.413889"], ["updated_at", "2016-12-02 16:39:38.413889"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.414864"], ["updated_at", "2016-12-02 16:39:38.414864"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.415803"], ["updated_at", "2016-12-02 16:39:38.415803"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.416732"], ["updated_at", "2016-12-02 16:39:38.416732"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.417734"], ["updated_at", "2016-12-02 16:39:38.417734"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.420428"], ["updated_at", "2016-12-02 16:39:38.420428"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.421400"], ["updated_at", "2016-12-02 16:39:38.421400"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.422347"], ["updated_at", "2016-12-02 16:39:38.422347"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.423221"], ["updated_at", "2016-12-02 16:39:38.423221"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.424163"], ["updated_at", "2016-12-02 16:39:38.424163"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.425066"], ["updated_at", "2016-12-02 16:39:38.425066"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.425954"], ["updated_at", "2016-12-02 16:39:38.425954"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.426844"], ["updated_at", "2016-12-02 16:39:38.426844"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.427780"], ["updated_at", "2016-12-02 16:39:38.427780"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.428689"], ["updated_at", "2016-12-02 16:39:38.428689"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.429788"], ["updated_at", "2016-12-02 16:39:38.429788"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.431136"], ["updated_at", "2016-12-02 16:39:38.431136"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.432198"], ["updated_at", "2016-12-02 16:39:38.432198"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.433175"], ["updated_at", "2016-12-02 16:39:38.433175"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.434127"], ["updated_at", "2016-12-02 16:39:38.434127"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.435055"], ["updated_at", "2016-12-02 16:39:38.435055"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.436072"], ["updated_at", "2016-12-02 16:39:38.436072"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.438096"], ["updated_at", "2016-12-02 16:39:38.438096"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.439161"], ["updated_at", "2016-12-02 16:39:38.439161"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.446641"], ["updated_at", "2016-12-02 16:39:38.446641"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.447743"], ["updated_at", "2016-12-02 16:39:38.447743"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.448715"], ["updated_at", "2016-12-02 16:39:38.448715"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.449648"], ["updated_at", "2016-12-02 16:39:38.449648"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.450544"], ["updated_at", "2016-12-02 16:39:38.450544"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.451459"], ["updated_at", "2016-12-02 16:39:38.451459"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.452350"], ["updated_at", "2016-12-02 16:39:38.452350"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.453258"], ["updated_at", "2016-12-02 16:39:38.453258"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.454162"], ["updated_at", "2016-12-02 16:39:38.454162"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.455069"], ["updated_at", "2016-12-02 16:39:38.455069"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.458058"], ["updated_at", "2016-12-02 16:39:38.458058"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.459070"], ["updated_at", "2016-12-02 16:39:38.459070"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.459945"], ["updated_at", "2016-12-02 16:39:38.459945"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.460857"], ["updated_at", "2016-12-02 16:39:38.460857"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.461744"], ["updated_at", "2016-12-02 16:39:38.461744"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.462703"], ["updated_at", "2016-12-02 16:39:38.462703"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.463643"], ["updated_at", "2016-12-02 16:39:38.463643"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.464717"], ["updated_at", "2016-12-02 16:39:38.464717"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.465757"], ["updated_at", "2016-12-02 16:39:38.465757"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.466704"], ["updated_at", "2016-12-02 16:39:38.466704"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.469576"], ["updated_at", "2016-12-02 16:39:38.469576"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.470539"], ["updated_at", "2016-12-02 16:39:38.470539"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.471461"], ["updated_at", "2016-12-02 16:39:38.471461"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.472388"], ["updated_at", "2016-12-02 16:39:38.472388"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.473297"], ["updated_at", "2016-12-02 16:39:38.473297"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.474331"], ["updated_at", "2016-12-02 16:39:38.474331"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.475221"], ["updated_at", "2016-12-02 16:39:38.475221"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.476086"], ["updated_at", "2016-12-02 16:39:38.476086"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.476994"], ["updated_at", "2016-12-02 16:39:38.476994"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.477902"], ["updated_at", "2016-12-02 16:39:38.477902"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:39:38 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.8ms) + Rendered products/index.html.erb within layouts/application (7.6ms) +Completed 200 OK in 170ms (Views: 168.8ms | ActiveRecord: 0.3ms) +Started GET "/?page=2" for 127.0.0.1 at 2016-12-02 13:39:38 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:39:38 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms) +Started GET "/?page=2&query=" for 127.0.0.1 at 2016-12-02 13:39:38 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2", "query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.692449"], ["updated_at", "2016-12-02 16:39:38.692449"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.693673"], ["updated_at", "2016-12-02 16:39:38.693673"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.694735"], ["updated_at", "2016-12-02 16:39:38.694735"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.695801"], ["updated_at", "2016-12-02 16:39:38.695801"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.696789"], ["updated_at", "2016-12-02 16:39:38.696789"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.697769"], ["updated_at", "2016-12-02 16:39:38.697769"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.698669"], ["updated_at", "2016-12-02 16:39:38.698669"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.699620"], ["updated_at", "2016-12-02 16:39:38.699620"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.700618"], ["updated_at", "2016-12-02 16:39:38.700618"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:39:38.701749"], ["updated_at", "2016-12-02 16:39:38.701749"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:39:38 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:39:38 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.3ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:39:38 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:39:38 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.7ms) + Rendered products/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.712630"], ["updated_at", "2016-12-02 16:44:21.712630"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.716602"], ["updated_at", "2016-12-02 16:44:21.716602"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.717695"], ["updated_at", "2016-12-02 16:44:21.717695"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.718710"], ["updated_at", "2016-12-02 16:44:21.718710"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.719747"], ["updated_at", "2016-12-02 16:44:21.719747"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.720745"], ["updated_at", "2016-12-02 16:44:21.720745"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.721613"], ["updated_at", "2016-12-02 16:44:21.721613"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.722485"], ["updated_at", "2016-12-02 16:44:21.722485"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.723324"], ["updated_at", "2016-12-02 16:44:21.723324"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.724202"], ["updated_at", "2016-12-02 16:44:21.724202"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:44:21 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (7.0ms) + Rendered products/index.html.erb within layouts/application (12.6ms) +Completed 200 OK in 180ms (Views: 179.1ms | ActiveRecord: 0.4ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:44:21 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:44:21 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:44:21 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.8ms) + Rendered products/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.965259"], ["updated_at", "2016-12-02 16:44:21.965259"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.966511"], ["updated_at", "2016-12-02 16:44:21.966511"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.967531"], ["updated_at", "2016-12-02 16:44:21.967531"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.968468"], ["updated_at", "2016-12-02 16:44:21.968468"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.969390"], ["updated_at", "2016-12-02 16:44:21.969390"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.970322"], ["updated_at", "2016-12-02 16:44:21.970322"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.971367"], ["updated_at", "2016-12-02 16:44:21.971367"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.972323"], ["updated_at", "2016-12-02 16:44:21.972323"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.973157"], ["updated_at", "2016-12-02 16:44:21.973157"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.973980"], ["updated_at", "2016-12-02 16:44:21.973980"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:44:21 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.4ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.993068"], ["updated_at", "2016-12-02 16:44:21.993068"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.994364"], ["updated_at", "2016-12-02 16:44:21.994364"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.995373"], ["updated_at", "2016-12-02 16:44:21.995373"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.996345"], ["updated_at", "2016-12-02 16:44:21.996345"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.997419"], ["updated_at", "2016-12-02 16:44:21.997419"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:21.998842"], ["updated_at", "2016-12-02 16:44:21.998842"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.000273"], ["updated_at", "2016-12-02 16:44:22.000273"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.001297"], ["updated_at", "2016-12-02 16:44:22.001297"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.002176"], ["updated_at", "2016-12-02 16:44:22.002176"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.003020"], ["updated_at", "2016-12-02 16:44:22.003020"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.005301"], ["updated_at", "2016-12-02 16:44:22.005301"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.006283"], ["updated_at", "2016-12-02 16:44:22.006283"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.007272"], ["updated_at", "2016-12-02 16:44:22.007272"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.008125"], ["updated_at", "2016-12-02 16:44:22.008125"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.008954"], ["updated_at", "2016-12-02 16:44:22.008954"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.009752"], ["updated_at", "2016-12-02 16:44:22.009752"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.010587"], ["updated_at", "2016-12-02 16:44:22.010587"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.011403"], ["updated_at", "2016-12-02 16:44:22.011403"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.012337"], ["updated_at", "2016-12-02 16:44:22.012337"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.013206"], ["updated_at", "2016-12-02 16:44:22.013206"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.015479"], ["updated_at", "2016-12-02 16:44:22.015479"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.016476"], ["updated_at", "2016-12-02 16:44:22.016476"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.017496"], ["updated_at", "2016-12-02 16:44:22.017496"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.018355"], ["updated_at", "2016-12-02 16:44:22.018355"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.019293"], ["updated_at", "2016-12-02 16:44:22.019293"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.020182"], ["updated_at", "2016-12-02 16:44:22.020182"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.021049"], ["updated_at", "2016-12-02 16:44:22.021049"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.021932"], ["updated_at", "2016-12-02 16:44:22.021932"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.022906"], ["updated_at", "2016-12-02 16:44:22.022906"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.023799"], ["updated_at", "2016-12-02 16:44:22.023799"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.024724"], ["updated_at", "2016-12-02 16:44:22.024724"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.025561"], ["updated_at", "2016-12-02 16:44:22.025561"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.026560"], ["updated_at", "2016-12-02 16:44:22.026560"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.027479"], ["updated_at", "2016-12-02 16:44:22.027479"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.028374"], ["updated_at", "2016-12-02 16:44:22.028374"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.029153"], ["updated_at", "2016-12-02 16:44:22.029153"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.030037"], ["updated_at", "2016-12-02 16:44:22.030037"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.030885"], ["updated_at", "2016-12-02 16:44:22.030885"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.031773"], ["updated_at", "2016-12-02 16:44:22.031773"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.037766"], ["updated_at", "2016-12-02 16:44:22.037766"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.038980"], ["updated_at", "2016-12-02 16:44:22.038980"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.040071"], ["updated_at", "2016-12-02 16:44:22.040071"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.041069"], ["updated_at", "2016-12-02 16:44:22.041069"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.041973"], ["updated_at", "2016-12-02 16:44:22.041973"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.042848"], ["updated_at", "2016-12-02 16:44:22.042848"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.043736"], ["updated_at", "2016-12-02 16:44:22.043736"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.044592"], ["updated_at", "2016-12-02 16:44:22.044592"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.045500"], ["updated_at", "2016-12-02 16:44:22.045500"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:22.046497"], ["updated_at", "2016-12-02 16:44:22.046497"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.617729"], ["updated_at", "2016-12-02 16:44:43.617729"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.620927"], ["updated_at", "2016-12-02 16:44:43.620927"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.622084"], ["updated_at", "2016-12-02 16:44:43.622084"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.623186"], ["updated_at", "2016-12-02 16:44:43.623186"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.624266"], ["updated_at", "2016-12-02 16:44:43.624266"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.625251"], ["updated_at", "2016-12-02 16:44:43.625251"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.626219"], ["updated_at", "2016-12-02 16:44:43.626219"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.627152"], ["updated_at", "2016-12-02 16:44:43.627152"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.628107"], ["updated_at", "2016-12-02 16:44:43.628107"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.629049"], ["updated_at", "2016-12-02 16:44:43.629049"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.632903"], ["updated_at", "2016-12-02 16:44:43.632903"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.633907"], ["updated_at", "2016-12-02 16:44:43.633907"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.634880"], ["updated_at", "2016-12-02 16:44:43.634880"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.635738"], ["updated_at", "2016-12-02 16:44:43.635738"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.636624"], ["updated_at", "2016-12-02 16:44:43.636624"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.637515"], ["updated_at", "2016-12-02 16:44:43.637515"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.638496"], ["updated_at", "2016-12-02 16:44:43.638496"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.639441"], ["updated_at", "2016-12-02 16:44:43.639441"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.640307"], ["updated_at", "2016-12-02 16:44:43.640307"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.641177"], ["updated_at", "2016-12-02 16:44:43.641177"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.643130"], ["updated_at", "2016-12-02 16:44:43.643130"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.644110"], ["updated_at", "2016-12-02 16:44:43.644110"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.645578"], ["updated_at", "2016-12-02 16:44:43.645578"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.646854"], ["updated_at", "2016-12-02 16:44:43.646854"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.647906"], ["updated_at", "2016-12-02 16:44:43.647906"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.648870"], ["updated_at", "2016-12-02 16:44:43.648870"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.649844"], ["updated_at", "2016-12-02 16:44:43.649844"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.650836"], ["updated_at", "2016-12-02 16:44:43.650836"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.653179"], ["updated_at", "2016-12-02 16:44:43.653179"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.654214"], ["updated_at", "2016-12-02 16:44:43.654214"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.656679"], ["updated_at", "2016-12-02 16:44:43.656679"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.657692"], ["updated_at", "2016-12-02 16:44:43.657692"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.658697"], ["updated_at", "2016-12-02 16:44:43.658697"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.659705"], ["updated_at", "2016-12-02 16:44:43.659705"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.660694"], ["updated_at", "2016-12-02 16:44:43.660694"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.661597"], ["updated_at", "2016-12-02 16:44:43.661597"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.662504"], ["updated_at", "2016-12-02 16:44:43.662504"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.663383"], ["updated_at", "2016-12-02 16:44:43.663383"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.664284"], ["updated_at", "2016-12-02 16:44:43.664284"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.665207"], ["updated_at", "2016-12-02 16:44:43.665207"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.666122"], ["updated_at", "2016-12-02 16:44:43.666122"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.666958"], ["updated_at", "2016-12-02 16:44:43.666958"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.667854"], ["updated_at", "2016-12-02 16:44:43.667854"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.668721"], ["updated_at", "2016-12-02 16:44:43.668721"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.669622"], ["updated_at", "2016-12-02 16:44:43.669622"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.670496"], ["updated_at", "2016-12-02 16:44:43.670496"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.671426"], ["updated_at", "2016-12-02 16:44:43.671426"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.672322"], ["updated_at", "2016-12-02 16:44:43.672322"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.673225"], ["updated_at", "2016-12-02 16:44:43.673225"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.680400"], ["updated_at", "2016-12-02 16:44:43.680400"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.681463"], ["updated_at", "2016-12-02 16:44:43.681463"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.682350"], ["updated_at", "2016-12-02 16:44:43.682350"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.683426"], ["updated_at", "2016-12-02 16:44:43.683426"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.684411"], ["updated_at", "2016-12-02 16:44:43.684411"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.685327"], ["updated_at", "2016-12-02 16:44:43.685327"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.686276"], ["updated_at", "2016-12-02 16:44:43.686276"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.687209"], ["updated_at", "2016-12-02 16:44:43.687209"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.688126"], ["updated_at", "2016-12-02 16:44:43.688126"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.689049"], ["updated_at", "2016-12-02 16:44:43.689049"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:44:43 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.9ms) + Rendered products/index.html.erb within layouts/application (7.8ms) +Completed 200 OK in 175ms (Views: 174.0ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:44:43 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.5ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.9ms) + Rendered products/index.html.erb within layouts/application (3.3ms) +Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.5ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:44:43 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.5ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.5ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:44:43 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.914374"], ["updated_at", "2016-12-02 16:44:43.914374"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.915764"], ["updated_at", "2016-12-02 16:44:43.915764"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.916807"], ["updated_at", "2016-12-02 16:44:43.916807"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.917806"], ["updated_at", "2016-12-02 16:44:43.917806"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.918761"], ["updated_at", "2016-12-02 16:44:43.918761"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.919830"], ["updated_at", "2016-12-02 16:44:43.919830"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.920890"], ["updated_at", "2016-12-02 16:44:43.920890"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.922046"], ["updated_at", "2016-12-02 16:44:43.922046"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.923072"], ["updated_at", "2016-12-02 16:44:43.923072"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:44:43.924046"], ["updated_at", "2016-12-02 16:44:43.924046"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:44:43 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.196716"], ["updated_at", "2016-12-02 16:46:20.196716"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.200661"], ["updated_at", "2016-12-02 16:46:20.200661"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.202157"], ["updated_at", "2016-12-02 16:46:20.202157"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.203490"], ["updated_at", "2016-12-02 16:46:20.203490"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.204712"], ["updated_at", "2016-12-02 16:46:20.204712"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.205866"], ["updated_at", "2016-12-02 16:46:20.205866"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.207188"], ["updated_at", "2016-12-02 16:46:20.207188"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.208560"], ["updated_at", "2016-12-02 16:46:20.208560"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.209924"], ["updated_at", "2016-12-02 16:46:20.209924"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.211154"], ["updated_at", "2016-12-02 16:46:20.211154"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:46:20 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (6.6ms) + Rendered products/index.html.erb within layouts/application (12.4ms) +Completed 200 OK in 189ms (Views: 188.2ms | ActiveRecord: 0.4ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:46:20 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:46:20 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:46:20 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.462290"], ["updated_at", "2016-12-02 16:46:20.462290"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.463536"], ["updated_at", "2016-12-02 16:46:20.463536"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.464611"], ["updated_at", "2016-12-02 16:46:20.464611"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.465718"], ["updated_at", "2016-12-02 16:46:20.465718"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.466691"], ["updated_at", "2016-12-02 16:46:20.466691"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.467619"], ["updated_at", "2016-12-02 16:46:20.467619"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.468613"], ["updated_at", "2016-12-02 16:46:20.468613"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.469668"], ["updated_at", "2016-12-02 16:46:20.469668"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.470761"], ["updated_at", "2016-12-02 16:46:20.470761"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.471718"], ["updated_at", "2016-12-02 16:46:20.471718"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:46:20 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.482701"], ["updated_at", "2016-12-02 16:46:20.482701"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.483867"], ["updated_at", "2016-12-02 16:46:20.483867"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.484804"], ["updated_at", "2016-12-02 16:46:20.484804"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.485750"], ["updated_at", "2016-12-02 16:46:20.485750"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.486729"], ["updated_at", "2016-12-02 16:46:20.486729"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.487805"], ["updated_at", "2016-12-02 16:46:20.487805"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.488761"], ["updated_at", "2016-12-02 16:46:20.488761"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.489639"], ["updated_at", "2016-12-02 16:46:20.489639"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.490532"], ["updated_at", "2016-12-02 16:46:20.490532"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.491818"], ["updated_at", "2016-12-02 16:46:20.491818"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.494324"], ["updated_at", "2016-12-02 16:46:20.494324"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.495365"], ["updated_at", "2016-12-02 16:46:20.495365"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.496950"], ["updated_at", "2016-12-02 16:46:20.496950"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.498060"], ["updated_at", "2016-12-02 16:46:20.498060"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.498950"], ["updated_at", "2016-12-02 16:46:20.498950"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.499923"], ["updated_at", "2016-12-02 16:46:20.499923"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.500850"], ["updated_at", "2016-12-02 16:46:20.500850"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.501811"], ["updated_at", "2016-12-02 16:46:20.501811"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.504108"], ["updated_at", "2016-12-02 16:46:20.504108"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.505133"], ["updated_at", "2016-12-02 16:46:20.505133"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.506015"], ["updated_at", "2016-12-02 16:46:20.506015"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.506868"], ["updated_at", "2016-12-02 16:46:20.506868"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.507721"], ["updated_at", "2016-12-02 16:46:20.507721"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.508632"], ["updated_at", "2016-12-02 16:46:20.508632"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.509440"], ["updated_at", "2016-12-02 16:46:20.509440"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.510250"], ["updated_at", "2016-12-02 16:46:20.510250"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.511030"], ["updated_at", "2016-12-02 16:46:20.511030"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.511835"], ["updated_at", "2016-12-02 16:46:20.511835"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.512623"], ["updated_at", "2016-12-02 16:46:20.512623"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.519069"], ["updated_at", "2016-12-02 16:46:20.519069"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.520089"], ["updated_at", "2016-12-02 16:46:20.520089"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.521036"], ["updated_at", "2016-12-02 16:46:20.521036"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.522037"], ["updated_at", "2016-12-02 16:46:20.522037"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.523040"], ["updated_at", "2016-12-02 16:46:20.523040"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.523980"], ["updated_at", "2016-12-02 16:46:20.523980"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.524991"], ["updated_at", "2016-12-02 16:46:20.524991"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.526026"], ["updated_at", "2016-12-02 16:46:20.526026"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.526866"], ["updated_at", "2016-12-02 16:46:20.526866"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.527759"], ["updated_at", "2016-12-02 16:46:20.527759"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.529746"], ["updated_at", "2016-12-02 16:46:20.529746"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.530582"], ["updated_at", "2016-12-02 16:46:20.530582"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.531477"], ["updated_at", "2016-12-02 16:46:20.531477"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.532330"], ["updated_at", "2016-12-02 16:46:20.532330"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.533210"], ["updated_at", "2016-12-02 16:46:20.533210"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.534122"], ["updated_at", "2016-12-02 16:46:20.534122"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.534975"], ["updated_at", "2016-12-02 16:46:20.534975"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.535848"], ["updated_at", "2016-12-02 16:46:20.535848"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.536710"], ["updated_at", "2016-12-02 16:46:20.536710"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:20.537510"], ["updated_at", "2016-12-02 16:46:20.537510"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.5ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:43.835613"], ["updated_at", "2016-12-02 16:46:43.835613"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:43.838749"], ["updated_at", "2016-12-02 16:46:43.838749"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:43.839808"], ["updated_at", "2016-12-02 16:46:43.839808"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:43.840752"], ["updated_at", "2016-12-02 16:46:43.840752"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:43.841682"], ["updated_at", "2016-12-02 16:46:43.841682"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:43.842622"], ["updated_at", "2016-12-02 16:46:43.842622"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:43.843549"], ["updated_at", "2016-12-02 16:46:43.843549"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:43.844436"], ["updated_at", "2016-12-02 16:46:43.844436"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:43.845385"], ["updated_at", "2016-12-02 16:46:43.845385"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:43.846271"], ["updated_at", "2016-12-02 16:46:43.846271"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:46:43 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.8ms) + Rendered products/index.html.erb within layouts/application (7.8ms) +Completed 200 OK in 177ms (Views: 176.0ms | ActiveRecord: 0.4ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.056521"], ["updated_at", "2016-12-02 16:46:44.056521"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.058156"], ["updated_at", "2016-12-02 16:46:44.058156"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.059647"], ["updated_at", "2016-12-02 16:46:44.059647"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.060997"], ["updated_at", "2016-12-02 16:46:44.060997"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.062613"], ["updated_at", "2016-12-02 16:46:44.062613"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.064127"], ["updated_at", "2016-12-02 16:46:44.064127"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.065252"], ["updated_at", "2016-12-02 16:46:44.065252"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.066539"], ["updated_at", "2016-12-02 16:46:44.066539"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.067631"], ["updated_at", "2016-12-02 16:46:44.067631"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.068663"], ["updated_at", "2016-12-02 16:46:44.068663"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:46:44 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:46:44 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:46:44 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:46:44 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.092261"], ["updated_at", "2016-12-02 16:46:44.092261"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.093460"], ["updated_at", "2016-12-02 16:46:44.093460"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.094431"], ["updated_at", "2016-12-02 16:46:44.094431"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.095419"], ["updated_at", "2016-12-02 16:46:44.095419"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.097871"], ["updated_at", "2016-12-02 16:46:44.097871"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.098977"], ["updated_at", "2016-12-02 16:46:44.098977"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.099957"], ["updated_at", "2016-12-02 16:46:44.099957"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.100925"], ["updated_at", "2016-12-02 16:46:44.100925"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.101928"], ["updated_at", "2016-12-02 16:46:44.101928"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.103023"], ["updated_at", "2016-12-02 16:46:44.103023"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.104680"], ["updated_at", "2016-12-02 16:46:44.104680"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.106242"], ["updated_at", "2016-12-02 16:46:44.106242"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.107385"], ["updated_at", "2016-12-02 16:46:44.107385"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.108310"], ["updated_at", "2016-12-02 16:46:44.108310"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.109127"], ["updated_at", "2016-12-02 16:46:44.109127"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.109928"], ["updated_at", "2016-12-02 16:46:44.109928"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.110826"], ["updated_at", "2016-12-02 16:46:44.110826"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.111654"], ["updated_at", "2016-12-02 16:46:44.111654"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.112555"], ["updated_at", "2016-12-02 16:46:44.112555"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.118531"], ["updated_at", "2016-12-02 16:46:44.118531"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.119599"], ["updated_at", "2016-12-02 16:46:44.119599"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.120533"], ["updated_at", "2016-12-02 16:46:44.120533"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.121433"], ["updated_at", "2016-12-02 16:46:44.121433"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.122287"], ["updated_at", "2016-12-02 16:46:44.122287"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.123262"], ["updated_at", "2016-12-02 16:46:44.123262"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.124274"], ["updated_at", "2016-12-02 16:46:44.124274"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.125120"], ["updated_at", "2016-12-02 16:46:44.125120"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.125956"], ["updated_at", "2016-12-02 16:46:44.125956"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.126779"], ["updated_at", "2016-12-02 16:46:44.126779"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.128739"], ["updated_at", "2016-12-02 16:46:44.128739"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.129659"], ["updated_at", "2016-12-02 16:46:44.129659"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.130605"], ["updated_at", "2016-12-02 16:46:44.130605"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.131568"], ["updated_at", "2016-12-02 16:46:44.131568"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.132534"], ["updated_at", "2016-12-02 16:46:44.132534"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.133383"], ["updated_at", "2016-12-02 16:46:44.133383"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.134318"], ["updated_at", "2016-12-02 16:46:44.134318"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.135212"], ["updated_at", "2016-12-02 16:46:44.135212"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.136090"], ["updated_at", "2016-12-02 16:46:44.136090"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.136944"], ["updated_at", "2016-12-02 16:46:44.136944"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.139024"], ["updated_at", "2016-12-02 16:46:44.139024"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.139924"], ["updated_at", "2016-12-02 16:46:44.139924"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.140842"], ["updated_at", "2016-12-02 16:46:44.140842"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.141823"], ["updated_at", "2016-12-02 16:46:44.141823"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.142767"], ["updated_at", "2016-12-02 16:46:44.142767"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.143646"], ["updated_at", "2016-12-02 16:46:44.143646"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.144664"], ["updated_at", "2016-12-02 16:46:44.144664"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.145702"], ["updated_at", "2016-12-02 16:46:44.145702"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.146616"], ["updated_at", "2016-12-02 16:46:44.146616"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:44.147535"], ["updated_at", "2016-12-02 16:46:44.147535"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.686018"], ["updated_at", "2016-12-02 16:46:52.686018"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.691128"], ["updated_at", "2016-12-02 16:46:52.691128"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.692513"], ["updated_at", "2016-12-02 16:46:52.692513"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.693844"], ["updated_at", "2016-12-02 16:46:52.693844"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.695069"], ["updated_at", "2016-12-02 16:46:52.695069"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.696039"], ["updated_at", "2016-12-02 16:46:52.696039"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.697098"], ["updated_at", "2016-12-02 16:46:52.697098"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.698120"], ["updated_at", "2016-12-02 16:46:52.698120"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.699036"], ["updated_at", "2016-12-02 16:46:52.699036"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.699962"], ["updated_at", "2016-12-02 16:46:52.699962"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.700844"], ["updated_at", "2016-12-02 16:46:52.700844"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.701713"], ["updated_at", "2016-12-02 16:46:52.701713"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.702783"], ["updated_at", "2016-12-02 16:46:52.702783"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.704183"], ["updated_at", "2016-12-02 16:46:52.704183"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.705309"], ["updated_at", "2016-12-02 16:46:52.705309"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.706272"], ["updated_at", "2016-12-02 16:46:52.706272"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.707830"], ["updated_at", "2016-12-02 16:46:52.707830"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.709145"], ["updated_at", "2016-12-02 16:46:52.709145"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.711527"], ["updated_at", "2016-12-02 16:46:52.711527"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.717838"], ["updated_at", "2016-12-02 16:46:52.717838"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.718914"], ["updated_at", "2016-12-02 16:46:52.718914"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.719874"], ["updated_at", "2016-12-02 16:46:52.719874"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.720845"], ["updated_at", "2016-12-02 16:46:52.720845"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.721801"], ["updated_at", "2016-12-02 16:46:52.721801"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.722717"], ["updated_at", "2016-12-02 16:46:52.722717"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.723709"], ["updated_at", "2016-12-02 16:46:52.723709"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.724643"], ["updated_at", "2016-12-02 16:46:52.724643"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.725614"], ["updated_at", "2016-12-02 16:46:52.725614"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.726479"], ["updated_at", "2016-12-02 16:46:52.726479"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.728568"], ["updated_at", "2016-12-02 16:46:52.728568"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.729440"], ["updated_at", "2016-12-02 16:46:52.729440"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.730291"], ["updated_at", "2016-12-02 16:46:52.730291"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.731148"], ["updated_at", "2016-12-02 16:46:52.731148"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.732031"], ["updated_at", "2016-12-02 16:46:52.732031"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.732875"], ["updated_at", "2016-12-02 16:46:52.732875"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.733759"], ["updated_at", "2016-12-02 16:46:52.733759"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.734791"], ["updated_at", "2016-12-02 16:46:52.734791"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.735753"], ["updated_at", "2016-12-02 16:46:52.735753"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.736619"], ["updated_at", "2016-12-02 16:46:52.736619"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.738601"], ["updated_at", "2016-12-02 16:46:52.738601"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.739594"], ["updated_at", "2016-12-02 16:46:52.739594"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.740511"], ["updated_at", "2016-12-02 16:46:52.740511"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.741441"], ["updated_at", "2016-12-02 16:46:52.741441"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.742388"], ["updated_at", "2016-12-02 16:46:52.742388"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.743269"], ["updated_at", "2016-12-02 16:46:52.743269"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.744160"], ["updated_at", "2016-12-02 16:46:52.744160"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.745031"], ["updated_at", "2016-12-02 16:46:52.745031"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.745877"], ["updated_at", "2016-12-02 16:46:52.745877"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.746754"], ["updated_at", "2016-12-02 16:46:52.746754"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.749142"], ["updated_at", "2016-12-02 16:46:52.749142"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.749981"], ["updated_at", "2016-12-02 16:46:52.749981"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.750968"], ["updated_at", "2016-12-02 16:46:52.750968"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.751909"], ["updated_at", "2016-12-02 16:46:52.751909"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.752844"], ["updated_at", "2016-12-02 16:46:52.752844"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.753739"], ["updated_at", "2016-12-02 16:46:52.753739"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.754619"], ["updated_at", "2016-12-02 16:46:52.754619"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.755488"], ["updated_at", "2016-12-02 16:46:52.755488"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.756400"], ["updated_at", "2016-12-02 16:46:52.756400"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.757291"], ["updated_at", "2016-12-02 16:46:52.757291"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:46:52 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.2ms) + Rendered products/index.html.erb within layouts/application (8.1ms) +Completed 200 OK in 175ms (Views: 174.1ms | ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.5ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.5ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.967854"], ["updated_at", "2016-12-02 16:46:52.967854"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.969648"], ["updated_at", "2016-12-02 16:46:52.969648"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.971319"], ["updated_at", "2016-12-02 16:46:52.971319"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.972755"], ["updated_at", "2016-12-02 16:46:52.972755"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.974623"], ["updated_at", "2016-12-02 16:46:52.974623"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.978203"], ["updated_at", "2016-12-02 16:46:52.978203"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.979319"], ["updated_at", "2016-12-02 16:46:52.979319"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.980280"], ["updated_at", "2016-12-02 16:46:52.980280"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.981266"], ["updated_at", "2016-12-02 16:46:52.981266"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:46:52.982231"], ["updated_at", "2016-12-02 16:46:52.982231"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:46:52 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:46:52 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:46:52 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:46:52 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.4ms) + Rendered products/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +------------------------- +RelationTest: test_middle +-------------------------  (0.3ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.690109"], ["updated_at", "2016-01-14 20:49:44.690109"]] + SQL (0.8ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.070750"], ["updated_at", "2016-12-02 16:47:55.070750"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.076273"], ["updated_at", "2016-12-02 16:47:55.076273"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.077917"], ["updated_at", "2016-12-02 16:47:55.077917"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.692075"], ["updated_at", "2016-01-14 20:49:44.692075"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SELECT COUNT(*) FROM "records" -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------- -MiddleTest: test_out_of_bounds ------------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.694165"], ["updated_at", "2016-01-14 20:49:44.694165"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.694826"], ["updated_at", "2016-01-14 20:49:44.694826"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.695734"], ["updated_at", "2016-01-14 20:49:44.695734"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.696499"], ["updated_at", "2016-01-14 20:49:44.696499"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.697081"], ["updated_at", "2016-01-14 20:49:44.697081"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.697894"], ["updated_at", "2016-01-14 20:49:44.697894"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.699595"], ["updated_at", "2016-01-14 20:49:44.699595"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.700263"], ["updated_at", "2016-01-14 20:49:44.700263"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.701032"], ["updated_at", "2016-01-14 20:49:44.701032"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.701787"], ["updated_at", "2016-01-14 20:49:44.701787"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------- -MiddleTest: test_previous_page ------------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.703289"], ["updated_at", "2016-01-14 20:49:44.703289"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.704055"], ["updated_at", "2016-01-14 20:49:44.704055"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.704781"], ["updated_at", "2016-01-14 20:49:44.704781"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.705301"], ["updated_at", "2016-01-14 20:49:44.705301"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.706043"], ["updated_at", "2016-01-14 20:49:44.706043"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.706756"], ["updated_at", "2016-01-14 20:49:44.706756"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.707262"], ["updated_at", "2016-01-14 20:49:44.707262"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.707960"], ["updated_at", "2016-01-14 20:49:44.707960"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.708661"], ["updated_at", "2016-01-14 20:49:44.708661"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.709164"], ["updated_at", "2016-01-14 20:49:44.709164"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ---------------------------- -MiddleTest: test_first_page ---------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.710244"], ["updated_at", "2016-01-14 20:49:44.710244"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.711052"], ["updated_at", "2016-01-14 20:49:44.711052"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.079083"], ["updated_at", "2016-12-02 16:47:55.079083"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.080215"], ["updated_at", "2016-12-02 16:47:55.080215"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.081334"], ["updated_at", "2016-12-02 16:47:55.081334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.712498"], ["updated_at", "2016-01-14 20:49:44.712498"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.713308"], ["updated_at", "2016-01-14 20:49:44.713308"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.714486"], ["updated_at", "2016-01-14 20:49:44.714486"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.715317"], ["updated_at", "2016-01-14 20:49:44.715317"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.715879"], ["updated_at", "2016-01-14 20:49:44.715879"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.716760"], ["updated_at", "2016-01-14 20:49:44.716760"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.717692"], ["updated_at", "2016-01-14 20:49:44.717692"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.718223"], ["updated_at", "2016-01-14 20:49:44.718223"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) rollback transaction -  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.082301"], ["updated_at", "2016-12-02 16:47:55.082301"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.083160"], ["updated_at", "2016-12-02 16:47:55.083160"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.083982"], ["updated_at", "2016-12-02 16:47:55.083982"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.084827"], ["updated_at", "2016-12-02 16:47:55.084827"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.088560"], ["updated_at", "2016-12-02 16:47:55.088560"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.089553"], ["updated_at", "2016-12-02 16:47:55.089553"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.091136"], ["updated_at", "2016-12-02 16:47:55.091136"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.092841"], ["updated_at", "2016-12-02 16:47:55.092841"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.093891"], ["updated_at", "2016-12-02 16:47:55.093891"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.094800"], ["updated_at", "2016-12-02 16:47:55.094800"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.095701"], ["updated_at", "2016-12-02 16:47:55.095701"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.096619"], ["updated_at", "2016-12-02 16:47:55.096619"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.099002"], ["updated_at", "2016-12-02 16:47:55.099002"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.099873"], ["updated_at", "2016-12-02 16:47:55.099873"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.102006"], ["updated_at", "2016-12-02 16:47:55.102006"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.102922"], ["updated_at", "2016-12-02 16:47:55.102922"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.103779"], ["updated_at", "2016-12-02 16:47:55.103779"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.104693"], ["updated_at", "2016-12-02 16:47:55.104693"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.105614"], ["updated_at", "2016-12-02 16:47:55.105614"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.106403"], ["updated_at", "2016-12-02 16:47:55.106403"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.107389"], ["updated_at", "2016-12-02 16:47:55.107389"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.108369"], ["updated_at", "2016-12-02 16:47:55.108369"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.109326"], ["updated_at", "2016-12-02 16:47:55.109326"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.110483"], ["updated_at", "2016-12-02 16:47:55.110483"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.112709"], ["updated_at", "2016-12-02 16:47:55.112709"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.113726"], ["updated_at", "2016-12-02 16:47:55.113726"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.114732"], ["updated_at", "2016-12-02 16:47:55.114732"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.115646"], ["updated_at", "2016-12-02 16:47:55.115646"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.116593"], ["updated_at", "2016-12-02 16:47:55.116593"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.117506"], ["updated_at", "2016-12-02 16:47:55.117506"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.118455"], ["updated_at", "2016-12-02 16:47:55.118455"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.119390"], ["updated_at", "2016-12-02 16:47:55.119390"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.120198"], ["updated_at", "2016-12-02 16:47:55.120198"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.120975"], ["updated_at", "2016-12-02 16:47:55.120975"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.121696"], ["updated_at", "2016-12-02 16:47:55.121696"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.122490"], ["updated_at", "2016-12-02 16:47:55.122490"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.123418"], ["updated_at", "2016-12-02 16:47:55.123418"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.124314"], ["updated_at", "2016-12-02 16:47:55.124314"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.125344"], ["updated_at", "2016-12-02 16:47:55.125344"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.126321"], ["updated_at", "2016-12-02 16:47:55.126321"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.127422"], ["updated_at", "2016-12-02 16:47:55.127422"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.128318"], ["updated_at", "2016-12-02 16:47:55.128318"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.129220"], ["updated_at", "2016-12-02 16:47:55.129220"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.135832"], ["updated_at", "2016-12-02 16:47:55.135832"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.137057"], ["updated_at", "2016-12-02 16:47:55.137057"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.138068"], ["updated_at", "2016-12-02 16:47:55.138068"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.138970"], ["updated_at", "2016-12-02 16:47:55.138970"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.139906"], ["updated_at", "2016-12-02 16:47:55.139906"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.140839"], ["updated_at", "2016-12-02 16:47:55.140839"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.141707"], ["updated_at", "2016-12-02 16:47:55.141707"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.142617"], ["updated_at", "2016-12-02 16:47:55.142617"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.143519"], ["updated_at", "2016-12-02 16:47:55.143519"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.144395"], ["updated_at", "2016-12-02 16:47:55.144395"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:47:55 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (6.0ms) + Rendered products/index.html.erb within layouts/application (11.5ms) +Completed 200 OK in 178ms (Views: 177.8ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.364451"], ["updated_at", "2016-12-02 16:47:55.364451"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.365957"], ["updated_at", "2016-12-02 16:47:55.365957"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.368336"], ["updated_at", "2016-12-02 16:47:55.368336"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.370294"], ["updated_at", "2016-12-02 16:47:55.370294"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.371353"], ["updated_at", "2016-12-02 16:47:55.371353"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.372293"], ["updated_at", "2016-12-02 16:47:55.372293"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.373249"], ["updated_at", "2016-12-02 16:47:55.373249"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.374275"], ["updated_at", "2016-12-02 16:47:55.374275"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.375245"], ["updated_at", "2016-12-02 16:47:55.375245"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:47:55.376224"], ["updated_at", "2016-12-02 16:47:55.376224"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:47:55 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:47:55 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:47:55 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:47:55 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.456369"], ["updated_at", "2016-12-02 16:48:06.456369"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.459358"], ["updated_at", "2016-12-02 16:48:06.459358"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.460415"], ["updated_at", "2016-12-02 16:48:06.460415"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.461419"], ["updated_at", "2016-12-02 16:48:06.461419"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.462376"], ["updated_at", "2016-12-02 16:48:06.462376"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.463315"], ["updated_at", "2016-12-02 16:48:06.463315"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.464250"], ["updated_at", "2016-12-02 16:48:06.464250"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.465140"], ["updated_at", "2016-12-02 16:48:06.465140"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.466049"], ["updated_at", "2016-12-02 16:48:06.466049"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.467067"], ["updated_at", "2016-12-02 16:48:06.467067"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.469623"], ["updated_at", "2016-12-02 16:48:06.469623"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.470594"], ["updated_at", "2016-12-02 16:48:06.470594"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.471487"], ["updated_at", "2016-12-02 16:48:06.471487"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.472393"], ["updated_at", "2016-12-02 16:48:06.472393"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.473290"], ["updated_at", "2016-12-02 16:48:06.473290"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.474117"], ["updated_at", "2016-12-02 16:48:06.474117"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.475019"], ["updated_at", "2016-12-02 16:48:06.475019"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.475922"], ["updated_at", "2016-12-02 16:48:06.475922"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.476796"], ["updated_at", "2016-12-02 16:48:06.476796"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.477690"], ["updated_at", "2016-12-02 16:48:06.477690"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.480631"], ["updated_at", "2016-12-02 16:48:06.480631"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.481629"], ["updated_at", "2016-12-02 16:48:06.481629"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.482537"], ["updated_at", "2016-12-02 16:48:06.482537"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.483393"], ["updated_at", "2016-12-02 16:48:06.483393"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.484643"], ["updated_at", "2016-12-02 16:48:06.484643"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.486172"], ["updated_at", "2016-12-02 16:48:06.486172"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.487205"], ["updated_at", "2016-12-02 16:48:06.487205"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.488170"], ["updated_at", "2016-12-02 16:48:06.488170"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.489144"], ["updated_at", "2016-12-02 16:48:06.489144"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.490063"], ["updated_at", "2016-12-02 16:48:06.490063"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.493761"], ["updated_at", "2016-12-02 16:48:06.493761"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.494811"], ["updated_at", "2016-12-02 16:48:06.494811"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.495770"], ["updated_at", "2016-12-02 16:48:06.495770"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.496650"], ["updated_at", "2016-12-02 16:48:06.496650"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.497539"], ["updated_at", "2016-12-02 16:48:06.497539"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.498392"], ["updated_at", "2016-12-02 16:48:06.498392"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.499273"], ["updated_at", "2016-12-02 16:48:06.499273"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.500088"], ["updated_at", "2016-12-02 16:48:06.500088"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.501001"], ["updated_at", "2016-12-02 16:48:06.501001"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.501910"], ["updated_at", "2016-12-02 16:48:06.501910"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.502923"], ["updated_at", "2016-12-02 16:48:06.502923"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.503843"], ["updated_at", "2016-12-02 16:48:06.503843"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.504739"], ["updated_at", "2016-12-02 16:48:06.504739"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.505644"], ["updated_at", "2016-12-02 16:48:06.505644"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.506552"], ["updated_at", "2016-12-02 16:48:06.506552"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.507463"], ["updated_at", "2016-12-02 16:48:06.507463"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.508391"], ["updated_at", "2016-12-02 16:48:06.508391"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.509326"], ["updated_at", "2016-12-02 16:48:06.509326"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.510306"], ["updated_at", "2016-12-02 16:48:06.510306"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN ---------------------------- -MiddleTest: test_total_pages +GeneratorsTest: test_install ---------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.719309"], ["updated_at", "2016-01-14 20:49:44.719309"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.719910"], ["updated_at", "2016-01-14 20:49:44.719910"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.720495"], ["updated_at", "2016-01-14 20:49:44.720495"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.523866"], ["updated_at", "2016-12-02 16:48:06.523866"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.525127"], ["updated_at", "2016-12-02 16:48:06.525127"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.721070"], ["updated_at", "2016-01-14 20:49:44.721070"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.721585"], ["updated_at", "2016-01-14 20:49:44.721585"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.722158"], ["updated_at", "2016-01-14 20:49:44.722158"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.722733"], ["updated_at", "2016-01-14 20:49:44.722733"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.723238"], ["updated_at", "2016-01-14 20:49:44.723238"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.723812"], ["updated_at", "2016-01-14 20:49:44.723812"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.724400"], ["updated_at", "2016-01-14 20:49:44.724400"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ---------------------------- -RouteTest: test_query_param ---------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.726795"], ["updated_at", "2016-01-14 20:49:44.726795"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.727415"], ["updated_at", "2016-01-14 20:49:44.727415"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.728005"], ["updated_at", "2016-01-14 20:49:44.728005"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.728520"], ["updated_at", "2016-01-14 20:49:44.728520"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.729121"], ["updated_at", "2016-01-14 20:49:44.729121"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.729697"], ["updated_at", "2016-01-14 20:49:44.729697"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.730195"], ["updated_at", "2016-01-14 20:49:44.730195"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.730860"], ["updated_at", "2016-01-14 20:49:44.730860"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.731528"], ["updated_at", "2016-01-14 20:49:44.731528"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.732101"], ["updated_at", "2016-01-14 20:49:44.732101"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Started GET "/" for 127.0.0.1 at 2016-01-14 17:49:44 -0300 -Processing by PagesController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "records" - Rendered /Users/Matt/Documents/Herramientas/Pagers/app/views/pagers/_main.html.erb (7.0ms) - Rendered pages/index.html.erb within layouts/application (12.0ms) -Completed 200 OK in 119ms (Views: 119.1ms | ActiveRecord: 0.1ms) -Started GET "/?page=2" for 127.0.0.1 at 2016-01-14 17:49:44 -0300 -Processing by PagesController#index as HTML + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.526137"], ["updated_at", "2016-12-02 16:48:06.526137"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.527124"], ["updated_at", "2016-12-02 16:48:06.527124"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.528284"], ["updated_at", "2016-12-02 16:48:06.528284"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.529701"], ["updated_at", "2016-12-02 16:48:06.529701"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.530797"], ["updated_at", "2016-12-02 16:48:06.530797"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.532046"], ["updated_at", "2016-12-02 16:48:06.532046"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.533245"], ["updated_at", "2016-12-02 16:48:06.533245"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.534688"], ["updated_at", "2016-12-02 16:48:06.534688"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:48:06 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.0ms) + Rendered products/index.html.erb within layouts/application (7.8ms) +Completed 200 OK in 173ms (Views: 172.1ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:48:06 -0300 +Processing by ProductsController#index as HTML Parameters: {"page"=>"2"} -  (0.1ms) SELECT COUNT(*) FROM "records" - Rendered /Users/Matt/Documents/Herramientas/Pagers/app/views/pagers/_main.html.erb (1.0ms) - Rendered pages/index.html.erb within layouts/application (1.6ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) -Started GET "/?dummy=" for 127.0.0.1 at 2016-01-14 17:49:44 -0300 -Processing by PagesController#index as HTML - Parameters: {"dummy"=>""} -  (0.0ms) SELECT COUNT(*) FROM "records" - Rendered /Users/Matt/Documents/Herramientas/Pagers/app/views/pagers/_main.html.erb (0.8ms) - Rendered pages/index.html.erb within layouts/application (1.2ms) -Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) -Started GET "/?dummy=&page=2" for 127.0.0.1 at 2016-01-14 17:49:44 -0300 -Processing by PagesController#index as HTML - Parameters: {"dummy"=>"", "page"=>"2"} -  (0.0ms) SELECT COUNT(*) FROM "records" - Rendered /Users/Matt/Documents/Herramientas/Pagers/app/views/pagers/_main.html.erb (1.0ms) - Rendered pages/index.html.erb within layouts/application (1.5ms) -Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms) -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ---------------------------- -RouteTest: test_route_param ---------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.922688"], ["updated_at", "2016-01-14 20:49:44.922688"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.923420"], ["updated_at", "2016-01-14 20:49:44.923420"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.923924"], ["updated_at", "2016-01-14 20:49:44.923924"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.924420"], ["updated_at", "2016-01-14 20:49:44.924420"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.924917"], ["updated_at", "2016-01-14 20:49:44.924917"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.925408"], ["updated_at", "2016-01-14 20:49:44.925408"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.925900"], ["updated_at", "2016-01-14 20:49:44.925900"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.926374"], ["updated_at", "2016-01-14 20:49:44.926374"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.926868"], ["updated_at", "2016-01-14 20:49:44.926868"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.927364"], ["updated_at", "2016-01-14 20:49:44.927364"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Started GET "/" for 127.0.0.1 at 2016-01-14 17:49:44 -0300 -Processing by PagesController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "records" - Rendered /Users/Matt/Documents/Herramientas/Pagers/app/views/pagers/_main.html.erb (0.9ms) - Rendered pages/index.html.erb within layouts/application (1.5ms) -Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.1ms) -Started GET "/2" for 127.0.0.1 at 2016-01-14 17:49:44 -0300 -Processing by PagesController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:48:06 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:48:06 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.754662"], ["updated_at", "2016-12-02 16:48:06.754662"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.755932"], ["updated_at", "2016-12-02 16:48:06.755932"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.756914"], ["updated_at", "2016-12-02 16:48:06.756914"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.757856"], ["updated_at", "2016-12-02 16:48:06.757856"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.759095"], ["updated_at", "2016-12-02 16:48:06.759095"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.760147"], ["updated_at", "2016-12-02 16:48:06.760147"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.761077"], ["updated_at", "2016-12-02 16:48:06.761077"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.761993"], ["updated_at", "2016-12-02 16:48:06.761993"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.762916"], ["updated_at", "2016-12-02 16:48:06.762916"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:06.763861"], ["updated_at", "2016-12-02 16:48:06.763861"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:48:06 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.040504"], ["updated_at", "2016-12-02 16:48:34.040504"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.043458"], ["updated_at", "2016-12-02 16:48:34.043458"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.044538"], ["updated_at", "2016-12-02 16:48:34.044538"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.045524"], ["updated_at", "2016-12-02 16:48:34.045524"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.046520"], ["updated_at", "2016-12-02 16:48:34.046520"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.047500"], ["updated_at", "2016-12-02 16:48:34.047500"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.048531"], ["updated_at", "2016-12-02 16:48:34.048531"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.049441"], ["updated_at", "2016-12-02 16:48:34.049441"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.050342"], ["updated_at", "2016-12-02 16:48:34.050342"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.051318"], ["updated_at", "2016-12-02 16:48:34.051318"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:48:34 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.9ms) + Rendered products/index.html.erb within layouts/application (8.0ms) +Completed 200 OK in 159ms (Views: 158.4ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:48:34 -0300 +Processing by ProductsController#index as HTML Parameters: {"page"=>"2"} -  (0.0ms) SELECT COUNT(*) FROM "records" - Rendered /Users/Matt/Documents/Herramientas/Pagers/app/views/pagers/_main.html.erb (0.9ms) - Rendered pages/index.html.erb within layouts/application (1.3ms) -Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms) -Started GET "/?dummy=" for 127.0.0.1 at 2016-01-14 17:49:44 -0300 -Processing by PagesController#index as HTML - Parameters: {"dummy"=>""} -  (0.0ms) SELECT COUNT(*) FROM "records" - Rendered /Users/Matt/Documents/Herramientas/Pagers/app/views/pagers/_main.html.erb (0.9ms) - Rendered pages/index.html.erb within layouts/application (1.2ms) -Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms) -Started GET "/2?dummy=" for 127.0.0.1 at 2016-01-14 17:49:44 -0300 -Processing by PagesController#index as HTML - Parameters: {"dummy"=>"", "page"=>"2"} -  (0.1ms) SELECT COUNT(*) FROM "records" - Rendered /Users/Matt/Documents/Herramientas/Pagers/app/views/pagers/_main.html.erb (1.1ms) - Rendered pages/index.html.erb within layouts/application (1.5ms) -Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.1ms) -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------ -FirstTest: test_out_of_bounds ------------------------------ -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.944547"], ["updated_at", "2016-01-14 20:49:44.944547"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.945220"], ["updated_at", "2016-01-14 20:49:44.945220"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.945731"], ["updated_at", "2016-01-14 20:49:44.945731"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.946238"], ["updated_at", "2016-01-14 20:49:44.946238"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.946742"], ["updated_at", "2016-01-14 20:49:44.946742"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.947257"], ["updated_at", "2016-01-14 20:49:44.947257"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.947757"], ["updated_at", "2016-01-14 20:49:44.947757"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.948283"], ["updated_at", "2016-01-14 20:49:44.948283"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.948782"], ["updated_at", "2016-01-14 20:49:44.948782"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.949327"], ["updated_at", "2016-01-14 20:49:44.949327"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) rollback transaction -  (0.0ms) begin transaction +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:48:34 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:48:34 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.256195"], ["updated_at", "2016-12-02 16:48:34.256195"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.257360"], ["updated_at", "2016-12-02 16:48:34.257360"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.258324"], ["updated_at", "2016-12-02 16:48:34.258324"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.259255"], ["updated_at", "2016-12-02 16:48:34.259255"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.260173"], ["updated_at", "2016-12-02 16:48:34.260173"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.261056"], ["updated_at", "2016-12-02 16:48:34.261056"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.261941"], ["updated_at", "2016-12-02 16:48:34.261941"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.262864"], ["updated_at", "2016-12-02 16:48:34.262864"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.263760"], ["updated_at", "2016-12-02 16:48:34.263760"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.264578"], ["updated_at", "2016-12-02 16:48:34.264578"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:48:34 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN -------------------------- -FirstTest: test_first_page +RelationTest: test_padding -------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.950557"], ["updated_at", "2016-01-14 20:49:44.950557"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.951078"], ["updated_at", "2016-01-14 20:49:44.951078"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.951576"], ["updated_at", "2016-01-14 20:49:44.951576"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.952119"], ["updated_at", "2016-01-14 20:49:44.952119"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.952617"], ["updated_at", "2016-01-14 20:49:44.952617"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.953115"], ["updated_at", "2016-01-14 20:49:44.953115"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.953635"], ["updated_at", "2016-01-14 20:49:44.953635"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.954136"], ["updated_at", "2016-01-14 20:49:44.954136"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.954638"], ["updated_at", "2016-01-14 20:49:44.954638"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.955160"], ["updated_at", "2016-01-14 20:49:44.955160"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) rollback transaction -  (0.0ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.284979"], ["updated_at", "2016-12-02 16:48:34.284979"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.286710"], ["updated_at", "2016-12-02 16:48:34.286710"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.287777"], ["updated_at", "2016-12-02 16:48:34.287777"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.288850"], ["updated_at", "2016-12-02 16:48:34.288850"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.290073"], ["updated_at", "2016-12-02 16:48:34.290073"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.292329"], ["updated_at", "2016-12-02 16:48:34.292329"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.293639"], ["updated_at", "2016-12-02 16:48:34.293639"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.294828"], ["updated_at", "2016-12-02 16:48:34.294828"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.296112"], ["updated_at", "2016-12-02 16:48:34.296112"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.297425"], ["updated_at", "2016-12-02 16:48:34.297425"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.300344"], ["updated_at", "2016-12-02 16:48:34.300344"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.301593"], ["updated_at", "2016-12-02 16:48:34.301593"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.302762"], ["updated_at", "2016-12-02 16:48:34.302762"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.303923"], ["updated_at", "2016-12-02 16:48:34.303923"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.304918"], ["updated_at", "2016-12-02 16:48:34.304918"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.305768"], ["updated_at", "2016-12-02 16:48:34.305768"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.306628"], ["updated_at", "2016-12-02 16:48:34.306628"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.307515"], ["updated_at", "2016-12-02 16:48:34.307515"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.308462"], ["updated_at", "2016-12-02 16:48:34.308462"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.315742"], ["updated_at", "2016-12-02 16:48:34.315742"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.316853"], ["updated_at", "2016-12-02 16:48:34.316853"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.317787"], ["updated_at", "2016-12-02 16:48:34.317787"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.318688"], ["updated_at", "2016-12-02 16:48:34.318688"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.319604"], ["updated_at", "2016-12-02 16:48:34.319604"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.320504"], ["updated_at", "2016-12-02 16:48:34.320504"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.321405"], ["updated_at", "2016-12-02 16:48:34.321405"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.322323"], ["updated_at", "2016-12-02 16:48:34.322323"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.323295"], ["updated_at", "2016-12-02 16:48:34.323295"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.324245"], ["updated_at", "2016-12-02 16:48:34.324245"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.327370"], ["updated_at", "2016-12-02 16:48:34.327370"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.328406"], ["updated_at", "2016-12-02 16:48:34.328406"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.329372"], ["updated_at", "2016-12-02 16:48:34.329372"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.330315"], ["updated_at", "2016-12-02 16:48:34.330315"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.331213"], ["updated_at", "2016-12-02 16:48:34.331213"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.332080"], ["updated_at", "2016-12-02 16:48:34.332080"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.332981"], ["updated_at", "2016-12-02 16:48:34.332981"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.333837"], ["updated_at", "2016-12-02 16:48:34.333837"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.334787"], ["updated_at", "2016-12-02 16:48:34.334787"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.335912"], ["updated_at", "2016-12-02 16:48:34.335912"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN ------------------------- -FirstTest: test_last_page +RelationTest: test_middle ------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.955984"], ["updated_at", "2016-01-14 20:49:44.955984"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.956541"], ["updated_at", "2016-01-14 20:49:44.956541"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.957100"], ["updated_at", "2016-01-14 20:49:44.957100"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.337975"], ["updated_at", "2016-12-02 16:48:34.337975"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.338901"], ["updated_at", "2016-12-02 16:48:34.338901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.957807"], ["updated_at", "2016-01-14 20:49:44.957807"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.958337"], ["updated_at", "2016-01-14 20:49:44.958337"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.958834"], ["updated_at", "2016-01-14 20:49:44.958834"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.959326"], ["updated_at", "2016-01-14 20:49:44.959326"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.959821"], ["updated_at", "2016-01-14 20:49:44.959821"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.960332"], ["updated_at", "2016-01-14 20:49:44.960332"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.960857"], ["updated_at", "2016-01-14 20:49:44.960857"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ---------------------------- -FirstTest: test_total_pages ---------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.962171"], ["updated_at", "2016-01-14 20:49:44.962171"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.962712"], ["updated_at", "2016-01-14 20:49:44.962712"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.963214"], ["updated_at", "2016-01-14 20:49:44.963214"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.963703"], ["updated_at", "2016-01-14 20:49:44.963703"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.964207"], ["updated_at", "2016-01-14 20:49:44.964207"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.964715"], ["updated_at", "2016-01-14 20:49:44.964715"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.965206"], ["updated_at", "2016-01-14 20:49:44.965206"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.965698"], ["updated_at", "2016-01-14 20:49:44.965698"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.966188"], ["updated_at", "2016-01-14 20:49:44.966188"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.966679"], ["updated_at", "2016-01-14 20:49:44.966679"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------ -FirstTest: test_previous_page ------------------------------ -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.967756"], ["updated_at", "2016-01-14 20:49:44.967756"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.968269"], ["updated_at", "2016-01-14 20:49:44.968269"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.968761"], ["updated_at", "2016-01-14 20:49:44.968761"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.969270"], ["updated_at", "2016-01-14 20:49:44.969270"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.969770"], ["updated_at", "2016-01-14 20:49:44.969770"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.970257"], ["updated_at", "2016-01-14 20:49:44.970257"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.970749"], ["updated_at", "2016-01-14 20:49:44.970749"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.971246"], ["updated_at", "2016-01-14 20:49:44.971246"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.971741"], ["updated_at", "2016-01-14 20:49:44.971741"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.972230"], ["updated_at", "2016-01-14 20:49:44.972230"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) rollback transaction -  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.339747"], ["updated_at", "2016-12-02 16:48:34.339747"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.340551"], ["updated_at", "2016-12-02 16:48:34.340551"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.341451"], ["updated_at", "2016-12-02 16:48:34.341451"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.342367"], ["updated_at", "2016-12-02 16:48:34.342367"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.343353"], ["updated_at", "2016-12-02 16:48:34.343353"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.344266"], ["updated_at", "2016-12-02 16:48:34.344266"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.345137"], ["updated_at", "2016-12-02 16:48:34.345137"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:34.346044"], ["updated_at", "2016-12-02 16:48:34.346044"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN ---------------------------- -FirstTest: test_current_page +GeneratorsTest: test_install ---------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.973035"], ["updated_at", "2016-01-14 20:49:44.973035"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.973539"], ["updated_at", "2016-01-14 20:49:44.973539"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.974026"], ["updated_at", "2016-01-14 20:49:44.974026"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.974518"], ["updated_at", "2016-01-14 20:49:44.974518"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.975025"], ["updated_at", "2016-01-14 20:49:44.975025"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.975515"], ["updated_at", "2016-01-14 20:49:44.975515"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.976025"], ["updated_at", "2016-01-14 20:49:44.976025"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.976515"], ["updated_at", "2016-01-14 20:49:44.976515"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.977008"], ["updated_at", "2016-01-14 20:49:44.977008"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.977505"], ["updated_at", "2016-01-14 20:49:44.977505"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) rollback transaction -  (0.0ms) begin transaction +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.075086"], ["updated_at", "2016-12-02 16:48:52.075086"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.079761"], ["updated_at", "2016-12-02 16:48:52.079761"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.081290"], ["updated_at", "2016-12-02 16:48:52.081290"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.082628"], ["updated_at", "2016-12-02 16:48:52.082628"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.083937"], ["updated_at", "2016-12-02 16:48:52.083937"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.085011"], ["updated_at", "2016-12-02 16:48:52.085011"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.085960"], ["updated_at", "2016-12-02 16:48:52.085960"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.087010"], ["updated_at", "2016-12-02 16:48:52.087010"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.088043"], ["updated_at", "2016-12-02 16:48:52.088043"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.089038"], ["updated_at", "2016-12-02 16:48:52.089038"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.091943"], ["updated_at", "2016-12-02 16:48:52.091943"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.092899"], ["updated_at", "2016-12-02 16:48:52.092899"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.093811"], ["updated_at", "2016-12-02 16:48:52.093811"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.095013"], ["updated_at", "2016-12-02 16:48:52.095013"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.096523"], ["updated_at", "2016-12-02 16:48:52.096523"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.097610"], ["updated_at", "2016-12-02 16:48:52.097610"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.098531"], ["updated_at", "2016-12-02 16:48:52.098531"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.099439"], ["updated_at", "2016-12-02 16:48:52.099439"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.100357"], ["updated_at", "2016-12-02 16:48:52.100357"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.102282"], ["updated_at", "2016-12-02 16:48:52.102282"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.104935"], ["updated_at", "2016-12-02 16:48:52.104935"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.105991"], ["updated_at", "2016-12-02 16:48:52.105991"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.106877"], ["updated_at", "2016-12-02 16:48:52.106877"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.107653"], ["updated_at", "2016-12-02 16:48:52.107653"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.108484"], ["updated_at", "2016-12-02 16:48:52.108484"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.109360"], ["updated_at", "2016-12-02 16:48:52.109360"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.110369"], ["updated_at", "2016-12-02 16:48:52.110369"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.111371"], ["updated_at", "2016-12-02 16:48:52.111371"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.112206"], ["updated_at", "2016-12-02 16:48:52.112206"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.113027"], ["updated_at", "2016-12-02 16:48:52.113027"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.113837"], ["updated_at", "2016-12-02 16:48:52.113837"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.114755"], ["updated_at", "2016-12-02 16:48:52.114755"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.115589"], ["updated_at", "2016-12-02 16:48:52.115589"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.116511"], ["updated_at", "2016-12-02 16:48:52.116511"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.117386"], ["updated_at", "2016-12-02 16:48:52.117386"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.118303"], ["updated_at", "2016-12-02 16:48:52.118303"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.119144"], ["updated_at", "2016-12-02 16:48:52.119144"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.119954"], ["updated_at", "2016-12-02 16:48:52.119954"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.120923"], ["updated_at", "2016-12-02 16:48:52.120923"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN ------------------------- -FirstTest: test_next_page +RelationTest: test_middle ------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.978319"], ["updated_at", "2016-01-14 20:49:44.978319"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.978818"], ["updated_at", "2016-01-14 20:49:44.978818"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.979310"], ["updated_at", "2016-01-14 20:49:44.979310"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.979805"], ["updated_at", "2016-01-14 20:49:44.979805"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.980295"], ["updated_at", "2016-01-14 20:49:44.980295"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.980844"], ["updated_at", "2016-01-14 20:49:44.980844"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.981341"], ["updated_at", "2016-01-14 20:49:44.981341"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.981829"], ["updated_at", "2016-01-14 20:49:44.981829"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.982320"], ["updated_at", "2016-01-14 20:49:44.982320"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.982807"], ["updated_at", "2016-01-14 20:49:44.982807"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) rollback transaction -  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.130196"], ["updated_at", "2016-12-02 16:48:52.130196"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.131314"], ["updated_at", "2016-12-02 16:48:52.131314"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.132251"], ["updated_at", "2016-12-02 16:48:52.132251"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.133150"], ["updated_at", "2016-12-02 16:48:52.133150"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.134053"], ["updated_at", "2016-12-02 16:48:52.134053"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.134999"], ["updated_at", "2016-12-02 16:48:52.134999"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.135982"], ["updated_at", "2016-12-02 16:48:52.135982"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.136882"], ["updated_at", "2016-12-02 16:48:52.136882"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.137719"], ["updated_at", "2016-12-02 16:48:52.137719"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.138681"], ["updated_at", "2016-12-02 16:48:52.138681"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.142364"], ["updated_at", "2016-12-02 16:48:52.142364"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.143316"], ["updated_at", "2016-12-02 16:48:52.143316"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.144249"], ["updated_at", "2016-12-02 16:48:52.144249"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.145160"], ["updated_at", "2016-12-02 16:48:52.145160"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.146038"], ["updated_at", "2016-12-02 16:48:52.146038"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.146939"], ["updated_at", "2016-12-02 16:48:52.146939"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.147796"], ["updated_at", "2016-12-02 16:48:52.147796"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.148669"], ["updated_at", "2016-12-02 16:48:52.148669"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.149552"], ["updated_at", "2016-12-02 16:48:52.149552"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.150381"], ["updated_at", "2016-12-02 16:48:52.150381"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:48:52 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.4ms) + Rendered products/index.html.erb within layouts/application (8.3ms) +Completed 200 OK in 173ms (Views: 171.9ms | ActiveRecord: 0.4ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:48:52 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.4ms) + Rendered products/index.html.erb within layouts/application (2.8ms) +Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:48:52 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:48:52 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.369489"], ["updated_at", "2016-12-02 16:48:52.369489"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.370847"], ["updated_at", "2016-12-02 16:48:52.370847"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.371865"], ["updated_at", "2016-12-02 16:48:52.371865"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.372912"], ["updated_at", "2016-12-02 16:48:52.372912"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.373991"], ["updated_at", "2016-12-02 16:48:52.373991"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.374959"], ["updated_at", "2016-12-02 16:48:52.374959"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.375928"], ["updated_at", "2016-12-02 16:48:52.375928"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.376824"], ["updated_at", "2016-12-02 16:48:52.376824"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.378070"], ["updated_at", "2016-12-02 16:48:52.378070"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:48:52.378986"], ["updated_at", "2016-12-02 16:48:52.378986"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:48:52 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN ---------------------------- -EmptyTest: test_current_page +GeneratorsTest: test_install ---------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------ -EmptyTest: test_out_of_bounds ------------------------------ -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ---------------------------- -EmptyTest: test_total_pages ---------------------------- -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) rollback transaction -  (0.0ms) begin transaction +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.410057"], ["updated_at", "2016-12-02 16:49:14.410057"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.414941"], ["updated_at", "2016-12-02 16:49:14.414941"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.416504"], ["updated_at", "2016-12-02 16:49:14.416504"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.417686"], ["updated_at", "2016-12-02 16:49:14.417686"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.418855"], ["updated_at", "2016-12-02 16:49:14.418855"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.420085"], ["updated_at", "2016-12-02 16:49:14.420085"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.421026"], ["updated_at", "2016-12-02 16:49:14.421026"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.422039"], ["updated_at", "2016-12-02 16:49:14.422039"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.423067"], ["updated_at", "2016-12-02 16:49:14.423067"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.424075"], ["updated_at", "2016-12-02 16:49:14.424075"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN ------------------------- -EmptyTest: test_next_page +RelationTest: test_middle ------------------------- -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------ -EmptyTest: test_previous_page ------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.427583"], ["updated_at", "2016-12-02 16:49:14.427583"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.428760"], ["updated_at", "2016-12-02 16:49:14.428760"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.429713"], ["updated_at", "2016-12-02 16:49:14.429713"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.430610"], ["updated_at", "2016-12-02 16:49:14.430610"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.431567"], ["updated_at", "2016-12-02 16:49:14.431567"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.433847"], ["updated_at", "2016-12-02 16:49:14.433847"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.435146"], ["updated_at", "2016-12-02 16:49:14.435146"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.436221"], ["updated_at", "2016-12-02 16:49:14.436221"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.437071"], ["updated_at", "2016-12-02 16:49:14.437071"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.437927"], ["updated_at", "2016-12-02 16:49:14.437927"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.440260"], ["updated_at", "2016-12-02 16:49:14.440260"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.441332"], ["updated_at", "2016-12-02 16:49:14.441332"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.442146"], ["updated_at", "2016-12-02 16:49:14.442146"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.442927"], ["updated_at", "2016-12-02 16:49:14.442927"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.443733"], ["updated_at", "2016-12-02 16:49:14.443733"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.444528"], ["updated_at", "2016-12-02 16:49:14.444528"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.445401"], ["updated_at", "2016-12-02 16:49:14.445401"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.446258"], ["updated_at", "2016-12-02 16:49:14.446258"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.447062"], ["updated_at", "2016-12-02 16:49:14.447062"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.447883"], ["updated_at", "2016-12-02 16:49:14.447883"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.449823"], ["updated_at", "2016-12-02 16:49:14.449823"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.450828"], ["updated_at", "2016-12-02 16:49:14.450828"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.451731"], ["updated_at", "2016-12-02 16:49:14.451731"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.452735"], ["updated_at", "2016-12-02 16:49:14.452735"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.453725"], ["updated_at", "2016-12-02 16:49:14.453725"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.454631"], ["updated_at", "2016-12-02 16:49:14.454631"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.455560"], ["updated_at", "2016-12-02 16:49:14.455560"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.456450"], ["updated_at", "2016-12-02 16:49:14.456450"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.457248"], ["updated_at", "2016-12-02 16:49:14.457248"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.458148"], ["updated_at", "2016-12-02 16:49:14.458148"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.459009"], ["updated_at", "2016-12-02 16:49:14.459009"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.459886"], ["updated_at", "2016-12-02 16:49:14.459886"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.460831"], ["updated_at", "2016-12-02 16:49:14.460831"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.461841"], ["updated_at", "2016-12-02 16:49:14.461841"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.462873"], ["updated_at", "2016-12-02 16:49:14.462873"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.463761"], ["updated_at", "2016-12-02 16:49:14.463761"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.464649"], ["updated_at", "2016-12-02 16:49:14.464649"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.465506"], ["updated_at", "2016-12-02 16:49:14.465506"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.466319"], ["updated_at", "2016-12-02 16:49:14.466319"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.474853"], ["updated_at", "2016-12-02 16:49:14.474853"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.475932"], ["updated_at", "2016-12-02 16:49:14.475932"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.476787"], ["updated_at", "2016-12-02 16:49:14.476787"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.477594"], ["updated_at", "2016-12-02 16:49:14.477594"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.478420"], ["updated_at", "2016-12-02 16:49:14.478420"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.479222"], ["updated_at", "2016-12-02 16:49:14.479222"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.480060"], ["updated_at", "2016-12-02 16:49:14.480060"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.480900"], ["updated_at", "2016-12-02 16:49:14.480900"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.481760"], ["updated_at", "2016-12-02 16:49:14.481760"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.482521"], ["updated_at", "2016-12-02 16:49:14.482521"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:49:14 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.5ms) + Rendered products/index.html.erb within layouts/application (8.3ms) +Completed 200 OK in 175ms (Views: 174.0ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:49:14 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.5ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.5ms) + Rendered products/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.5ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:49:14 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:49:14 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.706326"], ["updated_at", "2016-12-02 16:49:14.706326"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.707675"], ["updated_at", "2016-12-02 16:49:14.707675"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.708762"], ["updated_at", "2016-12-02 16:49:14.708762"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.709752"], ["updated_at", "2016-12-02 16:49:14.709752"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.710691"], ["updated_at", "2016-12-02 16:49:14.710691"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.711621"], ["updated_at", "2016-12-02 16:49:14.711621"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.712558"], ["updated_at", "2016-12-02 16:49:14.712558"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.713501"], ["updated_at", "2016-12-02 16:49:14.713501"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.714417"], ["updated_at", "2016-12-02 16:49:14.714417"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:14.715354"], ["updated_at", "2016-12-02 16:49:14.715354"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:49:14 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.055048"], ["updated_at", "2016-12-02 16:49:32.055048"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.059662"], ["updated_at", "2016-12-02 16:49:32.059662"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.061282"], ["updated_at", "2016-12-02 16:49:32.061282"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.062699"], ["updated_at", "2016-12-02 16:49:32.062699"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.063894"], ["updated_at", "2016-12-02 16:49:32.063894"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.065018"], ["updated_at", "2016-12-02 16:49:32.065018"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.066252"], ["updated_at", "2016-12-02 16:49:32.066252"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.067143"], ["updated_at", "2016-12-02 16:49:32.067143"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.068072"], ["updated_at", "2016-12-02 16:49:32.068072"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.068985"], ["updated_at", "2016-12-02 16:49:32.068985"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.072008"], ["updated_at", "2016-12-02 16:49:32.072008"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.074079"], ["updated_at", "2016-12-02 16:49:32.074079"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.075157"], ["updated_at", "2016-12-02 16:49:32.075157"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.076078"], ["updated_at", "2016-12-02 16:49:32.076078"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.077021"], ["updated_at", "2016-12-02 16:49:32.077021"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.077939"], ["updated_at", "2016-12-02 16:49:32.077939"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.080233"], ["updated_at", "2016-12-02 16:49:32.080233"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.081377"], ["updated_at", "2016-12-02 16:49:32.081377"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.082206"], ["updated_at", "2016-12-02 16:49:32.082206"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.083124"], ["updated_at", "2016-12-02 16:49:32.083124"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.085313"], ["updated_at", "2016-12-02 16:49:32.085313"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.086204"], ["updated_at", "2016-12-02 16:49:32.086204"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.087106"], ["updated_at", "2016-12-02 16:49:32.087106"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.088089"], ["updated_at", "2016-12-02 16:49:32.088089"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.089007"], ["updated_at", "2016-12-02 16:49:32.089007"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.089797"], ["updated_at", "2016-12-02 16:49:32.089797"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.090630"], ["updated_at", "2016-12-02 16:49:32.090630"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.091448"], ["updated_at", "2016-12-02 16:49:32.091448"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.092281"], ["updated_at", "2016-12-02 16:49:32.092281"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.093068"], ["updated_at", "2016-12-02 16:49:32.093068"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.093890"], ["updated_at", "2016-12-02 16:49:32.093890"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.095095"], ["updated_at", "2016-12-02 16:49:32.095095"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.096007"], ["updated_at", "2016-12-02 16:49:32.096007"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.096872"], ["updated_at", "2016-12-02 16:49:32.096872"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.097825"], ["updated_at", "2016-12-02 16:49:32.097825"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.099109"], ["updated_at", "2016-12-02 16:49:32.099109"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.100243"], ["updated_at", "2016-12-02 16:49:32.100243"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.101129"], ["updated_at", "2016-12-02 16:49:32.101129"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.102085"], ["updated_at", "2016-12-02 16:49:32.102085"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN ------------------------- -EmptyTest: test_last_page +RelationTest: test_middle ------------------------- -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) rollback transaction -  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.108396"], ["updated_at", "2016-12-02 16:49:32.108396"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.109458"], ["updated_at", "2016-12-02 16:49:32.109458"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.110394"], ["updated_at", "2016-12-02 16:49:32.110394"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.111297"], ["updated_at", "2016-12-02 16:49:32.111297"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.112129"], ["updated_at", "2016-12-02 16:49:32.112129"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.112947"], ["updated_at", "2016-12-02 16:49:32.112947"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.113762"], ["updated_at", "2016-12-02 16:49:32.113762"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.114639"], ["updated_at", "2016-12-02 16:49:32.114639"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.115451"], ["updated_at", "2016-12-02 16:49:32.115451"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.116306"], ["updated_at", "2016-12-02 16:49:32.116306"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.119986"], ["updated_at", "2016-12-02 16:49:32.119986"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.121039"], ["updated_at", "2016-12-02 16:49:32.121039"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.122006"], ["updated_at", "2016-12-02 16:49:32.122006"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.122898"], ["updated_at", "2016-12-02 16:49:32.122898"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.124079"], ["updated_at", "2016-12-02 16:49:32.124079"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.124992"], ["updated_at", "2016-12-02 16:49:32.124992"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.125841"], ["updated_at", "2016-12-02 16:49:32.125841"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.126758"], ["updated_at", "2016-12-02 16:49:32.126758"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.127642"], ["updated_at", "2016-12-02 16:49:32.127642"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.128515"], ["updated_at", "2016-12-02 16:49:32.128515"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:49:32 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.5ms) + Rendered products/index.html.erb within layouts/application (8.7ms) +Completed 200 OK in 189ms (Views: 188.2ms | ActiveRecord: 0.4ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.352797"], ["updated_at", "2016-12-02 16:49:32.352797"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.354628"], ["updated_at", "2016-12-02 16:49:32.354628"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.356162"], ["updated_at", "2016-12-02 16:49:32.356162"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.357414"], ["updated_at", "2016-12-02 16:49:32.357414"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.358600"], ["updated_at", "2016-12-02 16:49:32.358600"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.359731"], ["updated_at", "2016-12-02 16:49:32.359731"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.360761"], ["updated_at", "2016-12-02 16:49:32.360761"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.361756"], ["updated_at", "2016-12-02 16:49:32.361756"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.362742"], ["updated_at", "2016-12-02 16:49:32.362742"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:32.363804"], ["updated_at", "2016-12-02 16:49:32.363804"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:49:32 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:49:32 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:49:32 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:49:32 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.024827"], ["updated_at", "2016-12-02 16:49:43.024827"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.029533"], ["updated_at", "2016-12-02 16:49:43.029533"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.031253"], ["updated_at", "2016-12-02 16:49:43.031253"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.032631"], ["updated_at", "2016-12-02 16:49:43.032631"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.033877"], ["updated_at", "2016-12-02 16:49:43.033877"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.035130"], ["updated_at", "2016-12-02 16:49:43.035130"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.036286"], ["updated_at", "2016-12-02 16:49:43.036286"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.037250"], ["updated_at", "2016-12-02 16:49:43.037250"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.038214"], ["updated_at", "2016-12-02 16:49:43.038214"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.039154"], ["updated_at", "2016-12-02 16:49:43.039154"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:49:43 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.9ms) + Rendered products/index.html.erb within layouts/application (7.7ms) +Completed 200 OK in 173ms (Views: 172.6ms | ActiveRecord: 0.4ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.248459"], ["updated_at", "2016-12-02 16:49:43.248459"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.250143"], ["updated_at", "2016-12-02 16:49:43.250143"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.251712"], ["updated_at", "2016-12-02 16:49:43.251712"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.252864"], ["updated_at", "2016-12-02 16:49:43.252864"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.253953"], ["updated_at", "2016-12-02 16:49:43.253953"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.255025"], ["updated_at", "2016-12-02 16:49:43.255025"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.256005"], ["updated_at", "2016-12-02 16:49:43.256005"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.256981"], ["updated_at", "2016-12-02 16:49:43.256981"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.258000"], ["updated_at", "2016-12-02 16:49:43.258000"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.258977"], ["updated_at", "2016-12-02 16:49:43.258977"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:49:43 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:49:43 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:49:43 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:49:43 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN -------------------------- -EmptyTest: test_first_page +RelationTest: test_padding -------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------- -GeneratorsTest: test_initializer_generator ------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.283242"], ["updated_at", "2016-12-02 16:49:43.283242"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.284477"], ["updated_at", "2016-12-02 16:49:43.284477"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.285502"], ["updated_at", "2016-12-02 16:49:43.285502"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.286478"], ["updated_at", "2016-12-02 16:49:43.286478"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.287415"], ["updated_at", "2016-12-02 16:49:43.287415"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.288419"], ["updated_at", "2016-12-02 16:49:43.288419"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.289481"], ["updated_at", "2016-12-02 16:49:43.289481"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.290539"], ["updated_at", "2016-12-02 16:49:43.290539"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.291483"], ["updated_at", "2016-12-02 16:49:43.291483"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.292358"], ["updated_at", "2016-12-02 16:49:43.292358"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.293229"], ["updated_at", "2016-12-02 16:49:43.293229"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.294119"], ["updated_at", "2016-12-02 16:49:43.294119"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.294944"], ["updated_at", "2016-12-02 16:49:43.294944"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.295799"], ["updated_at", "2016-12-02 16:49:43.295799"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.296742"], ["updated_at", "2016-12-02 16:49:43.296742"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.297708"], ["updated_at", "2016-12-02 16:49:43.297708"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.298658"], ["updated_at", "2016-12-02 16:49:43.298658"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.299523"], ["updated_at", "2016-12-02 16:49:43.299523"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.300395"], ["updated_at", "2016-12-02 16:49:43.300395"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.306396"], ["updated_at", "2016-12-02 16:49:43.306396"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.307483"], ["updated_at", "2016-12-02 16:49:43.307483"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.308392"], ["updated_at", "2016-12-02 16:49:43.308392"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.309244"], ["updated_at", "2016-12-02 16:49:43.309244"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.310106"], ["updated_at", "2016-12-02 16:49:43.310106"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.311010"], ["updated_at", "2016-12-02 16:49:43.311010"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.312017"], ["updated_at", "2016-12-02 16:49:43.312017"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.312967"], ["updated_at", "2016-12-02 16:49:43.312967"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.313895"], ["updated_at", "2016-12-02 16:49:43.313895"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.314822"], ["updated_at", "2016-12-02 16:49:43.314822"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.317262"], ["updated_at", "2016-12-02 16:49:43.317262"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.318427"], ["updated_at", "2016-12-02 16:49:43.318427"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.319395"], ["updated_at", "2016-12-02 16:49:43.319395"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.320336"], ["updated_at", "2016-12-02 16:49:43.320336"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.321124"], ["updated_at", "2016-12-02 16:49:43.321124"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.321940"], ["updated_at", "2016-12-02 16:49:43.321940"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.322854"], ["updated_at", "2016-12-02 16:49:43.322854"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.323678"], ["updated_at", "2016-12-02 16:49:43.323678"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.324483"], ["updated_at", "2016-12-02 16:49:43.324483"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.325383"], ["updated_at", "2016-12-02 16:49:43.325383"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.327408"], ["updated_at", "2016-12-02 16:49:43.327408"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.328252"], ["updated_at", "2016-12-02 16:49:43.328252"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.329205"], ["updated_at", "2016-12-02 16:49:43.329205"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.330087"], ["updated_at", "2016-12-02 16:49:43.330087"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.330912"], ["updated_at", "2016-12-02 16:49:43.330912"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.331692"], ["updated_at", "2016-12-02 16:49:43.331692"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.332580"], ["updated_at", "2016-12-02 16:49:43.332580"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.333479"], ["updated_at", "2016-12-02 16:49:43.333479"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.334499"], ["updated_at", "2016-12-02 16:49:43.334499"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:49:43.335491"], ["updated_at", "2016-12-02 16:49:43.335491"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN ---------------------------- -LastTest: test_out_of_bounds +GeneratorsTest: test_install ---------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.990499"], ["updated_at", "2016-01-14 20:49:44.990499"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.991117"], ["updated_at", "2016-01-14 20:49:44.991117"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.991636"], ["updated_at", "2016-01-14 20:49:44.991636"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.992141"], ["updated_at", "2016-01-14 20:49:44.992141"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.992662"], ["updated_at", "2016-01-14 20:49:44.992662"]] +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.015757"], ["updated_at", "2016-12-02 16:50:39.015757"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.021184"], ["updated_at", "2016-12-02 16:50:39.021184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.993216"], ["updated_at", "2016-01-14 20:49:44.993216"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.993750"], ["updated_at", "2016-01-14 20:49:44.993750"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.994323"], ["updated_at", "2016-01-14 20:49:44.994323"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.994911"], ["updated_at", "2016-01-14 20:49:44.994911"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.995487"], ["updated_at", "2016-01-14 20:49:44.995487"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) rollback transaction -  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.022580"], ["updated_at", "2016-12-02 16:50:39.022580"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.023875"], ["updated_at", "2016-12-02 16:50:39.023875"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.025060"], ["updated_at", "2016-12-02 16:50:39.025060"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.026303"], ["updated_at", "2016-12-02 16:50:39.026303"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.027267"], ["updated_at", "2016-12-02 16:50:39.027267"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.028160"], ["updated_at", "2016-12-02 16:50:39.028160"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.029012"], ["updated_at", "2016-12-02 16:50:39.029012"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.029829"], ["updated_at", "2016-12-02 16:50:39.029829"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:50:39 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (5.8ms) + Rendered products/index.html.erb within layouts/application (11.4ms) +Completed 200 OK in 194ms (Views: 193.4ms | ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (151.5ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.419324"], ["updated_at", "2016-12-02 16:50:39.419324"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.420666"], ["updated_at", "2016-12-02 16:50:39.420666"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.421637"], ["updated_at", "2016-12-02 16:50:39.421637"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.422617"], ["updated_at", "2016-12-02 16:50:39.422617"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.423585"], ["updated_at", "2016-12-02 16:50:39.423585"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.424524"], ["updated_at", "2016-12-02 16:50:39.424524"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.425437"], ["updated_at", "2016-12-02 16:50:39.425437"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.426393"], ["updated_at", "2016-12-02 16:50:39.426393"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.427270"], ["updated_at", "2016-12-02 16:50:39.427270"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.428160"], ["updated_at", "2016-12-02 16:50:39.428160"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:50:39 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:50:39 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:50:39 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:50:39 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.451053"], ["updated_at", "2016-12-02 16:50:39.451053"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.452304"], ["updated_at", "2016-12-02 16:50:39.452304"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.453542"], ["updated_at", "2016-12-02 16:50:39.453542"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.455059"], ["updated_at", "2016-12-02 16:50:39.455059"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.456234"], ["updated_at", "2016-12-02 16:50:39.456234"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.457148"], ["updated_at", "2016-12-02 16:50:39.457148"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.458077"], ["updated_at", "2016-12-02 16:50:39.458077"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.459036"], ["updated_at", "2016-12-02 16:50:39.459036"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.460045"], ["updated_at", "2016-12-02 16:50:39.460045"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.460980"], ["updated_at", "2016-12-02 16:50:39.460980"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.463343"], ["updated_at", "2016-12-02 16:50:39.463343"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.464270"], ["updated_at", "2016-12-02 16:50:39.464270"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.465110"], ["updated_at", "2016-12-02 16:50:39.465110"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.466000"], ["updated_at", "2016-12-02 16:50:39.466000"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.466834"], ["updated_at", "2016-12-02 16:50:39.466834"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.467661"], ["updated_at", "2016-12-02 16:50:39.467661"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.468598"], ["updated_at", "2016-12-02 16:50:39.468598"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.469502"], ["updated_at", "2016-12-02 16:50:39.469502"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.470477"], ["updated_at", "2016-12-02 16:50:39.470477"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.471341"], ["updated_at", "2016-12-02 16:50:39.471341"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.473353"], ["updated_at", "2016-12-02 16:50:39.473353"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.474364"], ["updated_at", "2016-12-02 16:50:39.474364"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.475344"], ["updated_at", "2016-12-02 16:50:39.475344"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.476273"], ["updated_at", "2016-12-02 16:50:39.476273"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.477136"], ["updated_at", "2016-12-02 16:50:39.477136"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.477973"], ["updated_at", "2016-12-02 16:50:39.477973"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.478853"], ["updated_at", "2016-12-02 16:50:39.478853"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.479792"], ["updated_at", "2016-12-02 16:50:39.479792"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.480639"], ["updated_at", "2016-12-02 16:50:39.480639"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.481520"], ["updated_at", "2016-12-02 16:50:39.481520"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.482397"], ["updated_at", "2016-12-02 16:50:39.482397"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.483281"], ["updated_at", "2016-12-02 16:50:39.483281"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.484063"], ["updated_at", "2016-12-02 16:50:39.484063"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.484937"], ["updated_at", "2016-12-02 16:50:39.484937"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.485882"], ["updated_at", "2016-12-02 16:50:39.485882"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.486911"], ["updated_at", "2016-12-02 16:50:39.486911"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.488028"], ["updated_at", "2016-12-02 16:50:39.488028"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.489042"], ["updated_at", "2016-12-02 16:50:39.489042"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.489953"], ["updated_at", "2016-12-02 16:50:39.489953"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.496179"], ["updated_at", "2016-12-02 16:50:39.496179"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.497293"], ["updated_at", "2016-12-02 16:50:39.497293"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.498340"], ["updated_at", "2016-12-02 16:50:39.498340"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.499331"], ["updated_at", "2016-12-02 16:50:39.499331"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.500254"], ["updated_at", "2016-12-02 16:50:39.500254"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.501577"], ["updated_at", "2016-12-02 16:50:39.501577"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.502553"], ["updated_at", "2016-12-02 16:50:39.502553"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.503633"], ["updated_at", "2016-12-02 16:50:39.503633"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.504551"], ["updated_at", "2016-12-02 16:50:39.504551"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:39.505460"], ["updated_at", "2016-12-02 16:50:39.505460"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.227754"], ["updated_at", "2016-12-02 16:50:57.227754"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.231774"], ["updated_at", "2016-12-02 16:50:57.231774"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.232963"], ["updated_at", "2016-12-02 16:50:57.232963"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.233961"], ["updated_at", "2016-12-02 16:50:57.233961"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.234988"], ["updated_at", "2016-12-02 16:50:57.234988"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.235966"], ["updated_at", "2016-12-02 16:50:57.235966"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.236905"], ["updated_at", "2016-12-02 16:50:57.236905"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.237816"], ["updated_at", "2016-12-02 16:50:57.237816"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.238741"], ["updated_at", "2016-12-02 16:50:57.238741"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.239672"], ["updated_at", "2016-12-02 16:50:57.239672"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:50:57 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (5.8ms) + Rendered products/index.html.erb within layouts/application (11.6ms) +Completed 200 OK in 179ms (Views: 177.9ms | ActiveRecord: 0.4ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:50:57 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:50:57 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:50:57 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.471622"], ["updated_at", "2016-12-02 16:50:57.471622"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.472815"], ["updated_at", "2016-12-02 16:50:57.472815"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.473777"], ["updated_at", "2016-12-02 16:50:57.473777"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.474707"], ["updated_at", "2016-12-02 16:50:57.474707"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.475624"], ["updated_at", "2016-12-02 16:50:57.475624"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.476563"], ["updated_at", "2016-12-02 16:50:57.476563"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.477474"], ["updated_at", "2016-12-02 16:50:57.477474"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.478345"], ["updated_at", "2016-12-02 16:50:57.478345"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.479250"], ["updated_at", "2016-12-02 16:50:57.479250"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.480096"], ["updated_at", "2016-12-02 16:50:57.480096"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:50:57 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN ---------------------------- -LastTest: test_previous_page +GeneratorsTest: test_install ---------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.996860"], ["updated_at", "2016-01-14 20:49:44.996860"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.997535"], ["updated_at", "2016-01-14 20:49:44.997535"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.998096"], ["updated_at", "2016-01-14 20:49:44.998096"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.998601"], ["updated_at", "2016-01-14 20:49:44.998601"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.999330"], ["updated_at", "2016-01-14 20:49:44.999330"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:44.999886"], ["updated_at", "2016-01-14 20:49:44.999886"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.000391"], ["updated_at", "2016-01-14 20:49:45.000391"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.000894"], ["updated_at", "2016-01-14 20:49:45.000894"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.001397"], ["updated_at", "2016-01-14 20:49:45.001397"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.001897"], ["updated_at", "2016-01-14 20:49:45.001897"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) rollback transaction -  (0.0ms) begin transaction +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.496632"], ["updated_at", "2016-12-02 16:50:57.496632"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.497837"], ["updated_at", "2016-12-02 16:50:57.497837"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.498888"], ["updated_at", "2016-12-02 16:50:57.498888"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.500073"], ["updated_at", "2016-12-02 16:50:57.500073"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.501248"], ["updated_at", "2016-12-02 16:50:57.501248"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.502496"], ["updated_at", "2016-12-02 16:50:57.502496"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (5.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.504023"], ["updated_at", "2016-12-02 16:50:57.504023"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.511388"], ["updated_at", "2016-12-02 16:50:57.511388"]] +  (1.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.514620"], ["updated_at", "2016-12-02 16:50:57.514620"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.516118"], ["updated_at", "2016-12-02 16:50:57.516118"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.517451"], ["updated_at", "2016-12-02 16:50:57.517451"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.518573"], ["updated_at", "2016-12-02 16:50:57.518573"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.519719"], ["updated_at", "2016-12-02 16:50:57.519719"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.520725"], ["updated_at", "2016-12-02 16:50:57.520725"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.521755"], ["updated_at", "2016-12-02 16:50:57.521755"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.522654"], ["updated_at", "2016-12-02 16:50:57.522654"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.523563"], ["updated_at", "2016-12-02 16:50:57.523563"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.524550"], ["updated_at", "2016-12-02 16:50:57.524550"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.525616"], ["updated_at", "2016-12-02 16:50:57.525616"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN ------------------------- -LastTest: test_first_page +RelationTest: test_middle ------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.002810"], ["updated_at", "2016-01-14 20:49:45.002810"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.003326"], ["updated_at", "2016-01-14 20:49:45.003326"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.003826"], ["updated_at", "2016-01-14 20:49:45.003826"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.004325"], ["updated_at", "2016-01-14 20:49:45.004325"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.004820"], ["updated_at", "2016-01-14 20:49:45.004820"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.005313"], ["updated_at", "2016-01-14 20:49:45.005313"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.005810"], ["updated_at", "2016-01-14 20:49:45.005810"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.006311"], ["updated_at", "2016-01-14 20:49:45.006311"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.006828"], ["updated_at", "2016-01-14 20:49:45.006828"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.007306"], ["updated_at", "2016-01-14 20:49:45.007306"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) rollback transaction -  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.531919"], ["updated_at", "2016-12-02 16:50:57.531919"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.533206"], ["updated_at", "2016-12-02 16:50:57.533206"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.534343"], ["updated_at", "2016-12-02 16:50:57.534343"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.535180"], ["updated_at", "2016-12-02 16:50:57.535180"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.536089"], ["updated_at", "2016-12-02 16:50:57.536089"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.537110"], ["updated_at", "2016-12-02 16:50:57.537110"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.538177"], ["updated_at", "2016-12-02 16:50:57.538177"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.539303"], ["updated_at", "2016-12-02 16:50:57.539303"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.540419"], ["updated_at", "2016-12-02 16:50:57.540419"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.541494"], ["updated_at", "2016-12-02 16:50:57.541494"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.543640"], ["updated_at", "2016-12-02 16:50:57.543640"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.544684"], ["updated_at", "2016-12-02 16:50:57.544684"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.545547"], ["updated_at", "2016-12-02 16:50:57.545547"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.546374"], ["updated_at", "2016-12-02 16:50:57.546374"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.547198"], ["updated_at", "2016-12-02 16:50:57.547198"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.548020"], ["updated_at", "2016-12-02 16:50:57.548020"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.548811"], ["updated_at", "2016-12-02 16:50:57.548811"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.549615"], ["updated_at", "2016-12-02 16:50:57.549615"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.550612"], ["updated_at", "2016-12-02 16:50:57.550612"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.551610"], ["updated_at", "2016-12-02 16:50:57.551610"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.553729"], ["updated_at", "2016-12-02 16:50:57.553729"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.554686"], ["updated_at", "2016-12-02 16:50:57.554686"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.555786"], ["updated_at", "2016-12-02 16:50:57.555786"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.556924"], ["updated_at", "2016-12-02 16:50:57.556924"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.558034"], ["updated_at", "2016-12-02 16:50:57.558034"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.559077"], ["updated_at", "2016-12-02 16:50:57.559077"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.560006"], ["updated_at", "2016-12-02 16:50:57.560006"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.561011"], ["updated_at", "2016-12-02 16:50:57.561011"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.562168"], ["updated_at", "2016-12-02 16:50:57.562168"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:50:57.563180"], ["updated_at", "2016-12-02 16:50:57.563180"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.914793"], ["updated_at", "2016-12-02 16:52:01.914793"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.918693"], ["updated_at", "2016-12-02 16:52:01.918693"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.919827"], ["updated_at", "2016-12-02 16:52:01.919827"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.920841"], ["updated_at", "2016-12-02 16:52:01.920841"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.921856"], ["updated_at", "2016-12-02 16:52:01.921856"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.922826"], ["updated_at", "2016-12-02 16:52:01.922826"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.923779"], ["updated_at", "2016-12-02 16:52:01.923779"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.924715"], ["updated_at", "2016-12-02 16:52:01.924715"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.925629"], ["updated_at", "2016-12-02 16:52:01.925629"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.926595"], ["updated_at", "2016-12-02 16:52:01.926595"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN -------------------------- -LastTest: test_total_pages +RelationTest: test_padding -------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.008131"], ["updated_at", "2016-01-14 20:49:45.008131"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.008632"], ["updated_at", "2016-01-14 20:49:45.008632"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.009134"], ["updated_at", "2016-01-14 20:49:45.009134"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.009634"], ["updated_at", "2016-01-14 20:49:45.009634"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.010144"], ["updated_at", "2016-01-14 20:49:45.010144"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.010735"], ["updated_at", "2016-01-14 20:49:45.010735"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.011304"], ["updated_at", "2016-01-14 20:49:45.011304"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.011907"], ["updated_at", "2016-01-14 20:49:45.011907"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.012426"], ["updated_at", "2016-01-14 20:49:45.012426"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.012948"], ["updated_at", "2016-01-14 20:49:45.012948"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) rollback transaction -  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.929315"], ["updated_at", "2016-12-02 16:52:01.929315"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.930340"], ["updated_at", "2016-12-02 16:52:01.930340"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.931420"], ["updated_at", "2016-12-02 16:52:01.931420"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.932357"], ["updated_at", "2016-12-02 16:52:01.932357"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.933275"], ["updated_at", "2016-12-02 16:52:01.933275"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.934254"], ["updated_at", "2016-12-02 16:52:01.934254"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.935194"], ["updated_at", "2016-12-02 16:52:01.935194"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.936094"], ["updated_at", "2016-12-02 16:52:01.936094"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.937007"], ["updated_at", "2016-12-02 16:52:01.937007"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.937858"], ["updated_at", "2016-12-02 16:52:01.937858"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.938737"], ["updated_at", "2016-12-02 16:52:01.938737"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.939637"], ["updated_at", "2016-12-02 16:52:01.939637"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.940581"], ["updated_at", "2016-12-02 16:52:01.940581"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.942234"], ["updated_at", "2016-12-02 16:52:01.942234"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.943482"], ["updated_at", "2016-12-02 16:52:01.943482"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.944410"], ["updated_at", "2016-12-02 16:52:01.944410"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.945343"], ["updated_at", "2016-12-02 16:52:01.945343"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.946252"], ["updated_at", "2016-12-02 16:52:01.946252"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.947117"], ["updated_at", "2016-12-02 16:52:01.947117"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN ------------------------ -LastTest: test_next_page +RelationTest: test_empty ------------------------ -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.014163"], ["updated_at", "2016-01-14 20:49:45.014163"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.014693"], ["updated_at", "2016-01-14 20:49:45.014693"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.015197"], ["updated_at", "2016-01-14 20:49:45.015197"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.015699"], ["updated_at", "2016-01-14 20:49:45.015699"]] +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.955648"], ["updated_at", "2016-12-02 16:52:01.955648"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.956754"], ["updated_at", "2016-12-02 16:52:01.956754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.016228"], ["updated_at", "2016-01-14 20:49:45.016228"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.016726"], ["updated_at", "2016-01-14 20:49:45.016726"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.017226"], ["updated_at", "2016-01-14 20:49:45.017226"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.017763"], ["updated_at", "2016-01-14 20:49:45.017763"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.018267"], ["updated_at", "2016-01-14 20:49:45.018267"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.018771"], ["updated_at", "2016-01-14 20:49:45.018771"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ---------------------------- -LastTest: test_current_page ---------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.019863"], ["updated_at", "2016-01-14 20:49:45.019863"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.020376"], ["updated_at", "2016-01-14 20:49:45.020376"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.020934"], ["updated_at", "2016-01-14 20:49:45.020934"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.021458"], ["updated_at", "2016-01-14 20:49:45.021458"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.021961"], ["updated_at", "2016-01-14 20:49:45.021961"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.022458"], ["updated_at", "2016-01-14 20:49:45.022458"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.022949"], ["updated_at", "2016-01-14 20:49:45.022949"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.023460"], ["updated_at", "2016-01-14 20:49:45.023460"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.023959"], ["updated_at", "2016-01-14 20:49:45.023959"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.024531"], ["updated_at", "2016-01-14 20:49:45.024531"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) rollback transaction -  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.957649"], ["updated_at", "2016-12-02 16:52:01.957649"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.958531"], ["updated_at", "2016-12-02 16:52:01.958531"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.959457"], ["updated_at", "2016-12-02 16:52:01.959457"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.960389"], ["updated_at", "2016-12-02 16:52:01.960389"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.961661"], ["updated_at", "2016-12-02 16:52:01.961661"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.963084"], ["updated_at", "2016-12-02 16:52:01.963084"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.964383"], ["updated_at", "2016-12-02 16:52:01.964383"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.965367"], ["updated_at", "2016-12-02 16:52:01.965367"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.967594"], ["updated_at", "2016-12-02 16:52:01.967594"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.968503"], ["updated_at", "2016-12-02 16:52:01.968503"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.969367"], ["updated_at", "2016-12-02 16:52:01.969367"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.970249"], ["updated_at", "2016-12-02 16:52:01.970249"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.971084"], ["updated_at", "2016-12-02 16:52:01.971084"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.971838"], ["updated_at", "2016-12-02 16:52:01.971838"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.972576"], ["updated_at", "2016-12-02 16:52:01.972576"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.973449"], ["updated_at", "2016-12-02 16:52:01.973449"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.974232"], ["updated_at", "2016-12-02 16:52:01.974232"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.974982"], ["updated_at", "2016-12-02 16:52:01.974982"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.977802"], ["updated_at", "2016-12-02 16:52:01.977802"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.978801"], ["updated_at", "2016-12-02 16:52:01.978801"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.979726"], ["updated_at", "2016-12-02 16:52:01.979726"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.980700"], ["updated_at", "2016-12-02 16:52:01.980700"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.981555"], ["updated_at", "2016-12-02 16:52:01.981555"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.982433"], ["updated_at", "2016-12-02 16:52:01.982433"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.983368"], ["updated_at", "2016-12-02 16:52:01.983368"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.984263"], ["updated_at", "2016-12-02 16:52:01.984263"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.985131"], ["updated_at", "2016-12-02 16:52:01.985131"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:01.985975"], ["updated_at", "2016-12-02 16:52:01.985975"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:52:02 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (7.3ms) + Rendered products/index.html.erb within layouts/application (12.7ms) +Completed 200 OK in 177ms (Views: 176.6ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:52:02 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.4ms) + Rendered products/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:52:02 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:52:02 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:02.222956"], ["updated_at", "2016-12-02 16:52:02.222956"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:02.224221"], ["updated_at", "2016-12-02 16:52:02.224221"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:02.225314"], ["updated_at", "2016-12-02 16:52:02.225314"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:02.226415"], ["updated_at", "2016-12-02 16:52:02.226415"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:02.227473"], ["updated_at", "2016-12-02 16:52:02.227473"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:02.228542"], ["updated_at", "2016-12-02 16:52:02.228542"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:02.229563"], ["updated_at", "2016-12-02 16:52:02.229563"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:02.230580"], ["updated_at", "2016-12-02 16:52:02.230580"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:02.231529"], ["updated_at", "2016-12-02 16:52:02.231529"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:02.232483"], ["updated_at", "2016-12-02 16:52:02.232483"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:52:02 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.5ms) ROLLBACK +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN ------------------------ -LastTest: test_last_page +RelationTest: test_first ------------------------ -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.025391"], ["updated_at", "2016-01-14 20:49:45.025391"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.025906"], ["updated_at", "2016-01-14 20:49:45.025906"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.026423"], ["updated_at", "2016-01-14 20:49:45.026423"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.026936"], ["updated_at", "2016-01-14 20:49:45.026936"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.027528"], ["updated_at", "2016-01-14 20:49:45.027528"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.028105"], ["updated_at", "2016-01-14 20:49:45.028105"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.028633"], ["updated_at", "2016-01-14 20:49:45.028633"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.029146"], ["updated_at", "2016-01-14 20:49:45.029146"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.029656"], ["updated_at", "2016-01-14 20:49:45.029656"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.030162"], ["updated_at", "2016-01-14 20:49:45.030162"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------- -PaddingTest: test_total_pages_with_padding ------------------------------------------- -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.032379"], ["updated_at", "2016-01-14 20:49:45.032379"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.033018"], ["updated_at", "2016-01-14 20:49:45.033018"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.033539"], ["updated_at", "2016-01-14 20:49:45.033539"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.034049"], ["updated_at", "2016-01-14 20:49:45.034049"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.034549"], ["updated_at", "2016-01-14 20:49:45.034549"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.035049"], ["updated_at", "2016-01-14 20:49:45.035049"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.035548"], ["updated_at", "2016-01-14 20:49:45.035548"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.036046"], ["updated_at", "2016-01-14 20:49:45.036046"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.036544"], ["updated_at", "2016-01-14 20:49:45.036544"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.037043"], ["updated_at", "2016-01-14 20:49:45.037043"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.037534"], ["updated_at", "2016-01-14 20:49:45.037534"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.038069"], ["updated_at", "2016-01-14 20:49:45.038069"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.038561"], ["updated_at", "2016-01-14 20:49:45.038561"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.039052"], ["updated_at", "2016-01-14 20:49:45.039052"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.039572"], ["updated_at", "2016-01-14 20:49:45.039572"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.040063"], ["updated_at", "2016-01-14 20:49:45.040063"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.040551"], ["updated_at", "2016-01-14 20:49:45.040551"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.041054"], ["updated_at", "2016-01-14 20:49:45.041054"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-14 20:49:45.041549"], ["updated_at", "2016-01-14 20:49:45.041549"]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "records" LIMIT 15 OFFSET 4) subquery_for_count -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "records" LIMIT 15 OFFSET 19) subquery_for_count -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "records" LIMIT 15 OFFSET 34) subquery_for_count -  (0.0ms) SELECT COUNT(*) FROM "records" -  (0.1ms) rollback transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.772476"], ["updated_at", "2016-12-02 16:52:14.772476"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.775449"], ["updated_at", "2016-12-02 16:52:14.775449"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.776484"], ["updated_at", "2016-12-02 16:52:14.776484"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.777482"], ["updated_at", "2016-12-02 16:52:14.777482"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.778416"], ["updated_at", "2016-12-02 16:52:14.778416"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.779351"], ["updated_at", "2016-12-02 16:52:14.779351"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.780295"], ["updated_at", "2016-12-02 16:52:14.780295"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.781228"], ["updated_at", "2016-12-02 16:52:14.781228"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.782134"], ["updated_at", "2016-12-02 16:52:14.782134"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.783050"], ["updated_at", "2016-12-02 16:52:14.783050"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.786766"], ["updated_at", "2016-12-02 16:52:14.786766"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.787692"], ["updated_at", "2016-12-02 16:52:14.787692"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.788621"], ["updated_at", "2016-12-02 16:52:14.788621"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.789494"], ["updated_at", "2016-12-02 16:52:14.789494"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.790395"], ["updated_at", "2016-12-02 16:52:14.790395"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.791192"], ["updated_at", "2016-12-02 16:52:14.791192"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.791970"], ["updated_at", "2016-12-02 16:52:14.791970"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.792920"], ["updated_at", "2016-12-02 16:52:14.792920"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.793927"], ["updated_at", "2016-12-02 16:52:14.793927"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.794924"], ["updated_at", "2016-12-02 16:52:14.794924"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.797002"], ["updated_at", "2016-12-02 16:52:14.797002"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.797970"], ["updated_at", "2016-12-02 16:52:14.797970"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.798850"], ["updated_at", "2016-12-02 16:52:14.798850"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.799956"], ["updated_at", "2016-12-02 16:52:14.799956"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.801526"], ["updated_at", "2016-12-02 16:52:14.801526"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.802610"], ["updated_at", "2016-12-02 16:52:14.802610"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.803492"], ["updated_at", "2016-12-02 16:52:14.803492"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.804376"], ["updated_at", "2016-12-02 16:52:14.804376"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.805269"], ["updated_at", "2016-12-02 16:52:14.805269"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.807362"], ["updated_at", "2016-12-02 16:52:14.807362"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.809934"], ["updated_at", "2016-12-02 16:52:14.809934"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.810960"], ["updated_at", "2016-12-02 16:52:14.810960"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.811941"], ["updated_at", "2016-12-02 16:52:14.811941"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.812890"], ["updated_at", "2016-12-02 16:52:14.812890"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.813860"], ["updated_at", "2016-12-02 16:52:14.813860"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.814722"], ["updated_at", "2016-12-02 16:52:14.814722"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.815566"], ["updated_at", "2016-12-02 16:52:14.815566"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.816481"], ["updated_at", "2016-12-02 16:52:14.816481"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.817358"], ["updated_at", "2016-12-02 16:52:14.817358"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.818195"], ["updated_at", "2016-12-02 16:52:14.818195"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.819058"], ["updated_at", "2016-12-02 16:52:14.819058"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.819890"], ["updated_at", "2016-12-02 16:52:14.819890"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.820824"], ["updated_at", "2016-12-02 16:52:14.820824"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.821902"], ["updated_at", "2016-12-02 16:52:14.821902"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.822769"], ["updated_at", "2016-12-02 16:52:14.822769"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.823684"], ["updated_at", "2016-12-02 16:52:14.823684"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.824556"], ["updated_at", "2016-12-02 16:52:14.824556"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.825450"], ["updated_at", "2016-12-02 16:52:14.825450"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.826302"], ["updated_at", "2016-12-02 16:52:14.826302"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.836315"], ["updated_at", "2016-12-02 16:52:14.836315"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.837532"], ["updated_at", "2016-12-02 16:52:14.837532"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.838481"], ["updated_at", "2016-12-02 16:52:14.838481"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.839361"], ["updated_at", "2016-12-02 16:52:14.839361"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.840216"], ["updated_at", "2016-12-02 16:52:14.840216"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.841067"], ["updated_at", "2016-12-02 16:52:14.841067"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.841910"], ["updated_at", "2016-12-02 16:52:14.841910"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.842788"], ["updated_at", "2016-12-02 16:52:14.842788"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.843812"], ["updated_at", "2016-12-02 16:52:14.843812"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:14.844906"], ["updated_at", "2016-12-02 16:52:14.844906"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:52:14 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.3ms) + Rendered products/index.html.erb within layouts/application (8.2ms) +Completed 200 OK in 175ms (Views: 174.0ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:15.050570"], ["updated_at", "2016-12-02 16:52:15.050570"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:15.052235"], ["updated_at", "2016-12-02 16:52:15.052235"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:15.053627"], ["updated_at", "2016-12-02 16:52:15.053627"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:15.055114"], ["updated_at", "2016-12-02 16:52:15.055114"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:15.056737"], ["updated_at", "2016-12-02 16:52:15.056737"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:15.057841"], ["updated_at", "2016-12-02 16:52:15.057841"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:15.058823"], ["updated_at", "2016-12-02 16:52:15.058823"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:15.059775"], ["updated_at", "2016-12-02 16:52:15.059775"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:15.060699"], ["updated_at", "2016-12-02 16:52:15.060699"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:15.061621"], ["updated_at", "2016-12-02 16:52:15.061621"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:52:15 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:52:15 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:52:15 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:52:15 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.434197"], ["updated_at", "2016-12-02 16:52:26.434197"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.437302"], ["updated_at", "2016-12-02 16:52:26.437302"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.438463"], ["updated_at", "2016-12-02 16:52:26.438463"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.439677"], ["updated_at", "2016-12-02 16:52:26.439677"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.440731"], ["updated_at", "2016-12-02 16:52:26.440731"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.441756"], ["updated_at", "2016-12-02 16:52:26.441756"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.442803"], ["updated_at", "2016-12-02 16:52:26.442803"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.443781"], ["updated_at", "2016-12-02 16:52:26.443781"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.444761"], ["updated_at", "2016-12-02 16:52:26.444761"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.445669"], ["updated_at", "2016-12-02 16:52:26.445669"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:52:26 -0300 +Processing by ProductsController#index as HTML +  (0.5ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.8ms) + Rendered products/index.html.erb within layouts/application (8.0ms) +Completed 200 OK in 170ms (Views: 168.6ms | ActiveRecord: 0.5ms) +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.648869"], ["updated_at", "2016-12-02 16:52:26.648869"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.650269"], ["updated_at", "2016-12-02 16:52:26.650269"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.651452"], ["updated_at", "2016-12-02 16:52:26.651452"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.652568"], ["updated_at", "2016-12-02 16:52:26.652568"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.653591"], ["updated_at", "2016-12-02 16:52:26.653591"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.654564"], ["updated_at", "2016-12-02 16:52:26.654564"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.655506"], ["updated_at", "2016-12-02 16:52:26.655506"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.656448"], ["updated_at", "2016-12-02 16:52:26.656448"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.657379"], ["updated_at", "2016-12-02 16:52:26.657379"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.658314"], ["updated_at", "2016-12-02 16:52:26.658314"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:52:26 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:52:26 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:52:26 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:52:26 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.689575"], ["updated_at", "2016-12-02 16:52:26.689575"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.690974"], ["updated_at", "2016-12-02 16:52:26.690974"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.692138"], ["updated_at", "2016-12-02 16:52:26.692138"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.693238"], ["updated_at", "2016-12-02 16:52:26.693238"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.694521"], ["updated_at", "2016-12-02 16:52:26.694521"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.695559"], ["updated_at", "2016-12-02 16:52:26.695559"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.696645"], ["updated_at", "2016-12-02 16:52:26.696645"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.698017"], ["updated_at", "2016-12-02 16:52:26.698017"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.699416"], ["updated_at", "2016-12-02 16:52:26.699416"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.700853"], ["updated_at", "2016-12-02 16:52:26.700853"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.705333"], ["updated_at", "2016-12-02 16:52:26.705333"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.706508"], ["updated_at", "2016-12-02 16:52:26.706508"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.707476"], ["updated_at", "2016-12-02 16:52:26.707476"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.708328"], ["updated_at", "2016-12-02 16:52:26.708328"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.709161"], ["updated_at", "2016-12-02 16:52:26.709161"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.710003"], ["updated_at", "2016-12-02 16:52:26.710003"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.710821"], ["updated_at", "2016-12-02 16:52:26.710821"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.711629"], ["updated_at", "2016-12-02 16:52:26.711629"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.712512"], ["updated_at", "2016-12-02 16:52:26.712512"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.713524"], ["updated_at", "2016-12-02 16:52:26.713524"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.714552"], ["updated_at", "2016-12-02 16:52:26.714552"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.715466"], ["updated_at", "2016-12-02 16:52:26.715466"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.716455"], ["updated_at", "2016-12-02 16:52:26.716455"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.717981"], ["updated_at", "2016-12-02 16:52:26.717981"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.719032"], ["updated_at", "2016-12-02 16:52:26.719032"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.719862"], ["updated_at", "2016-12-02 16:52:26.719862"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.720671"], ["updated_at", "2016-12-02 16:52:26.720671"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.721546"], ["updated_at", "2016-12-02 16:52:26.721546"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.722394"], ["updated_at", "2016-12-02 16:52:26.722394"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.728597"], ["updated_at", "2016-12-02 16:52:26.728597"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.729636"], ["updated_at", "2016-12-02 16:52:26.729636"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.730678"], ["updated_at", "2016-12-02 16:52:26.730678"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.731858"], ["updated_at", "2016-12-02 16:52:26.731858"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.733282"], ["updated_at", "2016-12-02 16:52:26.733282"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.734259"], ["updated_at", "2016-12-02 16:52:26.734259"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.735200"], ["updated_at", "2016-12-02 16:52:26.735200"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.736146"], ["updated_at", "2016-12-02 16:52:26.736146"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.737065"], ["updated_at", "2016-12-02 16:52:26.737065"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.738039"], ["updated_at", "2016-12-02 16:52:26.738039"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.740322"], ["updated_at", "2016-12-02 16:52:26.740322"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.741286"], ["updated_at", "2016-12-02 16:52:26.741286"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.742151"], ["updated_at", "2016-12-02 16:52:26.742151"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.743020"], ["updated_at", "2016-12-02 16:52:26.743020"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.743901"], ["updated_at", "2016-12-02 16:52:26.743901"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.744789"], ["updated_at", "2016-12-02 16:52:26.744789"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.745571"], ["updated_at", "2016-12-02 16:52:26.745571"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.746631"], ["updated_at", "2016-12-02 16:52:26.746631"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.747521"], ["updated_at", "2016-12-02 16:52:26.747521"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:26.748552"], ["updated_at", "2016-12-02 16:52:26.748552"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.709660"], ["updated_at", "2016-12-02 16:52:33.709660"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.712775"], ["updated_at", "2016-12-02 16:52:33.712775"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.713879"], ["updated_at", "2016-12-02 16:52:33.713879"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.714935"], ["updated_at", "2016-12-02 16:52:33.714935"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.715989"], ["updated_at", "2016-12-02 16:52:33.715989"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.716981"], ["updated_at", "2016-12-02 16:52:33.716981"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.717968"], ["updated_at", "2016-12-02 16:52:33.717968"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.718930"], ["updated_at", "2016-12-02 16:52:33.718930"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.719864"], ["updated_at", "2016-12-02 16:52:33.719864"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.720888"], ["updated_at", "2016-12-02 16:52:33.720888"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.723102"], ["updated_at", "2016-12-02 16:52:33.723102"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.724096"], ["updated_at", "2016-12-02 16:52:33.724096"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.724937"], ["updated_at", "2016-12-02 16:52:33.724937"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.725765"], ["updated_at", "2016-12-02 16:52:33.725765"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.726610"], ["updated_at", "2016-12-02 16:52:33.726610"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.727432"], ["updated_at", "2016-12-02 16:52:33.727432"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.728288"], ["updated_at", "2016-12-02 16:52:33.728288"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.729132"], ["updated_at", "2016-12-02 16:52:33.729132"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.729964"], ["updated_at", "2016-12-02 16:52:33.729964"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.730825"], ["updated_at", "2016-12-02 16:52:33.730825"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.732877"], ["updated_at", "2016-12-02 16:52:33.732877"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.733933"], ["updated_at", "2016-12-02 16:52:33.733933"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.735408"], ["updated_at", "2016-12-02 16:52:33.735408"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.736649"], ["updated_at", "2016-12-02 16:52:33.736649"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.737694"], ["updated_at", "2016-12-02 16:52:33.737694"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.738637"], ["updated_at", "2016-12-02 16:52:33.738637"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.739557"], ["updated_at", "2016-12-02 16:52:33.739557"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.740548"], ["updated_at", "2016-12-02 16:52:33.740548"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.742791"], ["updated_at", "2016-12-02 16:52:33.742791"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.743901"], ["updated_at", "2016-12-02 16:52:33.743901"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.744832"], ["updated_at", "2016-12-02 16:52:33.744832"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.745738"], ["updated_at", "2016-12-02 16:52:33.745738"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.746610"], ["updated_at", "2016-12-02 16:52:33.746610"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.747561"], ["updated_at", "2016-12-02 16:52:33.747561"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.748470"], ["updated_at", "2016-12-02 16:52:33.748470"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.749446"], ["updated_at", "2016-12-02 16:52:33.749446"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.750357"], ["updated_at", "2016-12-02 16:52:33.750357"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.751207"], ["updated_at", "2016-12-02 16:52:33.751207"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.752109"], ["updated_at", "2016-12-02 16:52:33.752109"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.758466"], ["updated_at", "2016-12-02 16:52:33.758466"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.759595"], ["updated_at", "2016-12-02 16:52:33.759595"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.760614"], ["updated_at", "2016-12-02 16:52:33.760614"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.761605"], ["updated_at", "2016-12-02 16:52:33.761605"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.762558"], ["updated_at", "2016-12-02 16:52:33.762558"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.763508"], ["updated_at", "2016-12-02 16:52:33.763508"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.764498"], ["updated_at", "2016-12-02 16:52:33.764498"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.765349"], ["updated_at", "2016-12-02 16:52:33.765349"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.766298"], ["updated_at", "2016-12-02 16:52:33.766298"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.767240"], ["updated_at", "2016-12-02 16:52:33.767240"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.773562"], ["updated_at", "2016-12-02 16:52:33.773562"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.774664"], ["updated_at", "2016-12-02 16:52:33.774664"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.775679"], ["updated_at", "2016-12-02 16:52:33.775679"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.776756"], ["updated_at", "2016-12-02 16:52:33.776756"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.777724"], ["updated_at", "2016-12-02 16:52:33.777724"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.778585"], ["updated_at", "2016-12-02 16:52:33.778585"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.779428"], ["updated_at", "2016-12-02 16:52:33.779428"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.780301"], ["updated_at", "2016-12-02 16:52:33.780301"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.781107"], ["updated_at", "2016-12-02 16:52:33.781107"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.782199"], ["updated_at", "2016-12-02 16:52:33.782199"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:52:33 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.1ms) + Rendered products/index.html.erb within layouts/application (8.0ms) +Completed 200 OK in 175ms (Views: 174.6ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.989420"], ["updated_at", "2016-12-02 16:52:33.989420"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.991256"], ["updated_at", "2016-12-02 16:52:33.991256"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.992666"], ["updated_at", "2016-12-02 16:52:33.992666"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.994157"], ["updated_at", "2016-12-02 16:52:33.994157"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.995906"], ["updated_at", "2016-12-02 16:52:33.995906"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.997274"], ["updated_at", "2016-12-02 16:52:33.997274"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.998288"], ["updated_at", "2016-12-02 16:52:33.998288"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:33.999302"], ["updated_at", "2016-12-02 16:52:33.999302"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:34.000334"], ["updated_at", "2016-12-02 16:52:34.000334"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:34.001298"], ["updated_at", "2016-12-02 16:52:34.001298"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:52:34 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.4ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:52:34 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:52:34 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:52:34 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.3ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.619643"], ["updated_at", "2016-12-02 16:52:46.619643"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.624097"], ["updated_at", "2016-12-02 16:52:46.624097"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.625958"], ["updated_at", "2016-12-02 16:52:46.625958"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.627302"], ["updated_at", "2016-12-02 16:52:46.627302"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.628517"], ["updated_at", "2016-12-02 16:52:46.628517"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.629675"], ["updated_at", "2016-12-02 16:52:46.629675"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.630794"], ["updated_at", "2016-12-02 16:52:46.630794"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.631787"], ["updated_at", "2016-12-02 16:52:46.631787"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.632673"], ["updated_at", "2016-12-02 16:52:46.632673"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.633556"], ["updated_at", "2016-12-02 16:52:46.633556"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.636149"], ["updated_at", "2016-12-02 16:52:46.636149"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.637051"], ["updated_at", "2016-12-02 16:52:46.637051"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.638379"], ["updated_at", "2016-12-02 16:52:46.638379"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.639929"], ["updated_at", "2016-12-02 16:52:46.639929"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.640896"], ["updated_at", "2016-12-02 16:52:46.640896"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.641844"], ["updated_at", "2016-12-02 16:52:46.641844"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.642800"], ["updated_at", "2016-12-02 16:52:46.642800"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.643722"], ["updated_at", "2016-12-02 16:52:46.643722"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.646291"], ["updated_at", "2016-12-02 16:52:46.646291"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.647395"], ["updated_at", "2016-12-02 16:52:46.647395"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.649650"], ["updated_at", "2016-12-02 16:52:46.649650"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.650674"], ["updated_at", "2016-12-02 16:52:46.650674"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.651562"], ["updated_at", "2016-12-02 16:52:46.651562"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.652390"], ["updated_at", "2016-12-02 16:52:46.652390"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.653196"], ["updated_at", "2016-12-02 16:52:46.653196"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.654077"], ["updated_at", "2016-12-02 16:52:46.654077"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.654916"], ["updated_at", "2016-12-02 16:52:46.654916"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.655709"], ["updated_at", "2016-12-02 16:52:46.655709"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.656495"], ["updated_at", "2016-12-02 16:52:46.656495"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.657300"], ["updated_at", "2016-12-02 16:52:46.657300"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.658139"], ["updated_at", "2016-12-02 16:52:46.658139"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.658988"], ["updated_at", "2016-12-02 16:52:46.658988"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.659883"], ["updated_at", "2016-12-02 16:52:46.659883"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.660879"], ["updated_at", "2016-12-02 16:52:46.660879"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.661704"], ["updated_at", "2016-12-02 16:52:46.661704"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.662631"], ["updated_at", "2016-12-02 16:52:46.662631"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.663620"], ["updated_at", "2016-12-02 16:52:46.663620"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.664503"], ["updated_at", "2016-12-02 16:52:46.664503"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.665401"], ["updated_at", "2016-12-02 16:52:46.665401"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.672645"], ["updated_at", "2016-12-02 16:52:46.672645"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.673750"], ["updated_at", "2016-12-02 16:52:46.673750"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.674741"], ["updated_at", "2016-12-02 16:52:46.674741"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.675661"], ["updated_at", "2016-12-02 16:52:46.675661"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.676600"], ["updated_at", "2016-12-02 16:52:46.676600"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.677488"], ["updated_at", "2016-12-02 16:52:46.677488"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.678361"], ["updated_at", "2016-12-02 16:52:46.678361"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.679230"], ["updated_at", "2016-12-02 16:52:46.679230"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.680244"], ["updated_at", "2016-12-02 16:52:46.680244"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.681039"], ["updated_at", "2016-12-02 16:52:46.681039"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.683539"], ["updated_at", "2016-12-02 16:52:46.683539"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.684607"], ["updated_at", "2016-12-02 16:52:46.684607"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.685543"], ["updated_at", "2016-12-02 16:52:46.685543"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.686432"], ["updated_at", "2016-12-02 16:52:46.686432"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.687353"], ["updated_at", "2016-12-02 16:52:46.687353"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.688316"], ["updated_at", "2016-12-02 16:52:46.688316"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.689322"], ["updated_at", "2016-12-02 16:52:46.689322"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.690303"], ["updated_at", "2016-12-02 16:52:46.690303"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.691289"], ["updated_at", "2016-12-02 16:52:46.691289"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.692123"], ["updated_at", "2016-12-02 16:52:46.692123"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:52:46 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.0ms) + Rendered products/index.html.erb within layouts/application (7.9ms) +Completed 200 OK in 174ms (Views: 173.4ms | ActiveRecord: 0.4ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:52:46 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.3ms) + Rendered products/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:52:46 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:52:46 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.910951"], ["updated_at", "2016-12-02 16:52:46.910951"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.912337"], ["updated_at", "2016-12-02 16:52:46.912337"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.913477"], ["updated_at", "2016-12-02 16:52:46.913477"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.914502"], ["updated_at", "2016-12-02 16:52:46.914502"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.915362"], ["updated_at", "2016-12-02 16:52:46.915362"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.916301"], ["updated_at", "2016-12-02 16:52:46.916301"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.917254"], ["updated_at", "2016-12-02 16:52:46.917254"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.918141"], ["updated_at", "2016-12-02 16:52:46.918141"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.918943"], ["updated_at", "2016-12-02 16:52:46.918943"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:46.919962"], ["updated_at", "2016-12-02 16:52:46.919962"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:52:46 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.3ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.211294"], ["updated_at", "2016-12-02 16:52:55.211294"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.214670"], ["updated_at", "2016-12-02 16:52:55.214670"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.216196"], ["updated_at", "2016-12-02 16:52:55.216196"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.217249"], ["updated_at", "2016-12-02 16:52:55.217249"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.218316"], ["updated_at", "2016-12-02 16:52:55.218316"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.219747"], ["updated_at", "2016-12-02 16:52:55.219747"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.220720"], ["updated_at", "2016-12-02 16:52:55.220720"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.221735"], ["updated_at", "2016-12-02 16:52:55.221735"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.222723"], ["updated_at", "2016-12-02 16:52:55.222723"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.224031"], ["updated_at", "2016-12-02 16:52:55.224031"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.226280"], ["updated_at", "2016-12-02 16:52:55.226280"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.227216"], ["updated_at", "2016-12-02 16:52:55.227216"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.228157"], ["updated_at", "2016-12-02 16:52:55.228157"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.229118"], ["updated_at", "2016-12-02 16:52:55.229118"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.230082"], ["updated_at", "2016-12-02 16:52:55.230082"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.230957"], ["updated_at", "2016-12-02 16:52:55.230957"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.231863"], ["updated_at", "2016-12-02 16:52:55.231863"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.232692"], ["updated_at", "2016-12-02 16:52:55.232692"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.233609"], ["updated_at", "2016-12-02 16:52:55.233609"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.234495"], ["updated_at", "2016-12-02 16:52:55.234495"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.236941"], ["updated_at", "2016-12-02 16:52:55.236941"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.238502"], ["updated_at", "2016-12-02 16:52:55.238502"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.239473"], ["updated_at", "2016-12-02 16:52:55.239473"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.240386"], ["updated_at", "2016-12-02 16:52:55.240386"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.241296"], ["updated_at", "2016-12-02 16:52:55.241296"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.242274"], ["updated_at", "2016-12-02 16:52:55.242274"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.244703"], ["updated_at", "2016-12-02 16:52:55.244703"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.245695"], ["updated_at", "2016-12-02 16:52:55.245695"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.246629"], ["updated_at", "2016-12-02 16:52:55.246629"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.247513"], ["updated_at", "2016-12-02 16:52:55.247513"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.248381"], ["updated_at", "2016-12-02 16:52:55.248381"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.249249"], ["updated_at", "2016-12-02 16:52:55.249249"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.250125"], ["updated_at", "2016-12-02 16:52:55.250125"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.251016"], ["updated_at", "2016-12-02 16:52:55.251016"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.251870"], ["updated_at", "2016-12-02 16:52:55.251870"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.252754"], ["updated_at", "2016-12-02 16:52:55.252754"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.253641"], ["updated_at", "2016-12-02 16:52:55.253641"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.254594"], ["updated_at", "2016-12-02 16:52:55.254594"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.255591"], ["updated_at", "2016-12-02 16:52:55.255591"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.261546"], ["updated_at", "2016-12-02 16:52:55.261546"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.262601"], ["updated_at", "2016-12-02 16:52:55.262601"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.263480"], ["updated_at", "2016-12-02 16:52:55.263480"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.264329"], ["updated_at", "2016-12-02 16:52:55.264329"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.265250"], ["updated_at", "2016-12-02 16:52:55.265250"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.266184"], ["updated_at", "2016-12-02 16:52:55.266184"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.267111"], ["updated_at", "2016-12-02 16:52:55.267111"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.267953"], ["updated_at", "2016-12-02 16:52:55.267953"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.268776"], ["updated_at", "2016-12-02 16:52:55.268776"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.269573"], ["updated_at", "2016-12-02 16:52:55.269573"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.272212"], ["updated_at", "2016-12-02 16:52:55.272212"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.273163"], ["updated_at", "2016-12-02 16:52:55.273163"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.274031"], ["updated_at", "2016-12-02 16:52:55.274031"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.274879"], ["updated_at", "2016-12-02 16:52:55.274879"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.275805"], ["updated_at", "2016-12-02 16:52:55.275805"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.276706"], ["updated_at", "2016-12-02 16:52:55.276706"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.277693"], ["updated_at", "2016-12-02 16:52:55.277693"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.278733"], ["updated_at", "2016-12-02 16:52:55.278733"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.279673"], ["updated_at", "2016-12-02 16:52:55.279673"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.280491"], ["updated_at", "2016-12-02 16:52:55.280491"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:52:55 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.8ms) + Rendered products/index.html.erb within layouts/application (8.6ms) +Completed 200 OK in 168ms (Views: 167.2ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:52:55 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:52:55 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:52:55 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.491441"], ["updated_at", "2016-12-02 16:52:55.491441"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.492670"], ["updated_at", "2016-12-02 16:52:55.492670"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.493564"], ["updated_at", "2016-12-02 16:52:55.493564"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.494565"], ["updated_at", "2016-12-02 16:52:55.494565"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.495559"], ["updated_at", "2016-12-02 16:52:55.495559"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.496473"], ["updated_at", "2016-12-02 16:52:55.496473"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.497331"], ["updated_at", "2016-12-02 16:52:55.497331"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.498166"], ["updated_at", "2016-12-02 16:52:55.498166"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.499032"], ["updated_at", "2016-12-02 16:52:55.499032"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:52:55.499869"], ["updated_at", "2016-12-02 16:52:55.499869"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:52:55 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.187074"], ["updated_at", "2016-12-02 16:53:16.187074"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.190953"], ["updated_at", "2016-12-02 16:53:16.190953"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.192082"], ["updated_at", "2016-12-02 16:53:16.192082"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.193102"], ["updated_at", "2016-12-02 16:53:16.193102"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.194371"], ["updated_at", "2016-12-02 16:53:16.194371"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.196039"], ["updated_at", "2016-12-02 16:53:16.196039"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.197160"], ["updated_at", "2016-12-02 16:53:16.197160"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.198095"], ["updated_at", "2016-12-02 16:53:16.198095"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.199086"], ["updated_at", "2016-12-02 16:53:16.199086"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.200011"], ["updated_at", "2016-12-02 16:53:16.200011"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.204415"], ["updated_at", "2016-12-02 16:53:16.204415"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.205605"], ["updated_at", "2016-12-02 16:53:16.205605"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.206646"], ["updated_at", "2016-12-02 16:53:16.206646"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.207635"], ["updated_at", "2016-12-02 16:53:16.207635"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.208599"], ["updated_at", "2016-12-02 16:53:16.208599"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.209569"], ["updated_at", "2016-12-02 16:53:16.209569"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.210465"], ["updated_at", "2016-12-02 16:53:16.210465"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.211374"], ["updated_at", "2016-12-02 16:53:16.211374"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.212255"], ["updated_at", "2016-12-02 16:53:16.212255"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.213125"], ["updated_at", "2016-12-02 16:53:16.213125"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.214074"], ["updated_at", "2016-12-02 16:53:16.214074"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.214871"], ["updated_at", "2016-12-02 16:53:16.214871"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.215668"], ["updated_at", "2016-12-02 16:53:16.215668"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.216531"], ["updated_at", "2016-12-02 16:53:16.216531"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.217402"], ["updated_at", "2016-12-02 16:53:16.217402"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.218318"], ["updated_at", "2016-12-02 16:53:16.218318"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.219242"], ["updated_at", "2016-12-02 16:53:16.219242"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.220130"], ["updated_at", "2016-12-02 16:53:16.220130"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.221031"], ["updated_at", "2016-12-02 16:53:16.221031"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.227189"], ["updated_at", "2016-12-02 16:53:16.227189"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.228191"], ["updated_at", "2016-12-02 16:53:16.228191"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.229104"], ["updated_at", "2016-12-02 16:53:16.229104"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.229983"], ["updated_at", "2016-12-02 16:53:16.229983"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.230891"], ["updated_at", "2016-12-02 16:53:16.230891"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.231773"], ["updated_at", "2016-12-02 16:53:16.231773"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.232714"], ["updated_at", "2016-12-02 16:53:16.232714"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.233632"], ["updated_at", "2016-12-02 16:53:16.233632"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.234529"], ["updated_at", "2016-12-02 16:53:16.234529"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.235391"], ["updated_at", "2016-12-02 16:53:16.235391"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.237309"], ["updated_at", "2016-12-02 16:53:16.237309"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.238217"], ["updated_at", "2016-12-02 16:53:16.238217"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.239171"], ["updated_at", "2016-12-02 16:53:16.239171"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.240079"], ["updated_at", "2016-12-02 16:53:16.240079"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.241059"], ["updated_at", "2016-12-02 16:53:16.241059"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.242067"], ["updated_at", "2016-12-02 16:53:16.242067"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.243094"], ["updated_at", "2016-12-02 16:53:16.243094"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.243934"], ["updated_at", "2016-12-02 16:53:16.243934"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.244840"], ["updated_at", "2016-12-02 16:53:16.244840"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.245711"], ["updated_at", "2016-12-02 16:53:16.245711"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.249495"], ["updated_at", "2016-12-02 16:53:16.249495"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.250403"], ["updated_at", "2016-12-02 16:53:16.250403"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.251304"], ["updated_at", "2016-12-02 16:53:16.251304"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.252197"], ["updated_at", "2016-12-02 16:53:16.252197"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.253089"], ["updated_at", "2016-12-02 16:53:16.253089"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.254035"], ["updated_at", "2016-12-02 16:53:16.254035"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.254983"], ["updated_at", "2016-12-02 16:53:16.254983"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.255942"], ["updated_at", "2016-12-02 16:53:16.255942"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.256869"], ["updated_at", "2016-12-02 16:53:16.256869"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.257714"], ["updated_at", "2016-12-02 16:53:16.257714"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:53:16 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (6.8ms) + Rendered products/index.html.erb within layouts/application (12.3ms) +Completed 200 OK in 179ms (Views: 178.3ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:53:16 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.3ms) +Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:53:16 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:53:16 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.496121"], ["updated_at", "2016-12-02 16:53:16.496121"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.497332"], ["updated_at", "2016-12-02 16:53:16.497332"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.498309"], ["updated_at", "2016-12-02 16:53:16.498309"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.499292"], ["updated_at", "2016-12-02 16:53:16.499292"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.500257"], ["updated_at", "2016-12-02 16:53:16.500257"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.501205"], ["updated_at", "2016-12-02 16:53:16.501205"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.502139"], ["updated_at", "2016-12-02 16:53:16.502139"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.503154"], ["updated_at", "2016-12-02 16:53:16.503154"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.504090"], ["updated_at", "2016-12-02 16:53:16.504090"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:53:16.505052"], ["updated_at", "2016-12-02 16:53:16.505052"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:53:16 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +  (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 +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.475697"], ["updated_at", "2016-12-02 16:54:33.475697"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.480429"], ["updated_at", "2016-12-02 16:54:33.480429"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.481932"], ["updated_at", "2016-12-02 16:54:33.481932"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.483374"], ["updated_at", "2016-12-02 16:54:33.483374"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.484672"], ["updated_at", "2016-12-02 16:54:33.484672"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.485696"], ["updated_at", "2016-12-02 16:54:33.485696"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.486644"], ["updated_at", "2016-12-02 16:54:33.486644"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.487600"], ["updated_at", "2016-12-02 16:54:33.487600"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.488622"], ["updated_at", "2016-12-02 16:54:33.488622"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.489603"], ["updated_at", "2016-12-02 16:54:33.489603"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.492397"], ["updated_at", "2016-12-02 16:54:33.492397"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.493399"], ["updated_at", "2016-12-02 16:54:33.493399"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.494511"], ["updated_at", "2016-12-02 16:54:33.494511"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.496078"], ["updated_at", "2016-12-02 16:54:33.496078"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.497335"], ["updated_at", "2016-12-02 16:54:33.497335"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.498332"], ["updated_at", "2016-12-02 16:54:33.498332"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.499323"], ["updated_at", "2016-12-02 16:54:33.499323"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.500648"], ["updated_at", "2016-12-02 16:54:33.500648"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.502771"], ["updated_at", "2016-12-02 16:54:33.502771"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.503964"], ["updated_at", "2016-12-02 16:54:33.503964"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.507180"], ["updated_at", "2016-12-02 16:54:33.507180"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.508036"], ["updated_at", "2016-12-02 16:54:33.508036"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.508869"], ["updated_at", "2016-12-02 16:54:33.508869"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.509644"], ["updated_at", "2016-12-02 16:54:33.509644"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.510474"], ["updated_at", "2016-12-02 16:54:33.510474"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.511315"], ["updated_at", "2016-12-02 16:54:33.511315"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.512160"], ["updated_at", "2016-12-02 16:54:33.512160"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.513050"], ["updated_at", "2016-12-02 16:54:33.513050"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.514037"], ["updated_at", "2016-12-02 16:54:33.514037"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.514863"], ["updated_at", "2016-12-02 16:54:33.514863"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.516921"], ["updated_at", "2016-12-02 16:54:33.516921"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.518123"], ["updated_at", "2016-12-02 16:54:33.518123"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.519177"], ["updated_at", "2016-12-02 16:54:33.519177"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.520220"], ["updated_at", "2016-12-02 16:54:33.520220"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.521100"], ["updated_at", "2016-12-02 16:54:33.521100"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.521985"], ["updated_at", "2016-12-02 16:54:33.521985"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.522865"], ["updated_at", "2016-12-02 16:54:33.522865"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.523690"], ["updated_at", "2016-12-02 16:54:33.523690"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.524560"], ["updated_at", "2016-12-02 16:54:33.524560"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.525480"], ["updated_at", "2016-12-02 16:54:33.525480"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.526330"], ["updated_at", "2016-12-02 16:54:33.526330"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.527209"], ["updated_at", "2016-12-02 16:54:33.527209"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.528092"], ["updated_at", "2016-12-02 16:54:33.528092"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.529051"], ["updated_at", "2016-12-02 16:54:33.529051"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.529930"], ["updated_at", "2016-12-02 16:54:33.529930"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.530831"], ["updated_at", "2016-12-02 16:54:33.530831"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.531706"], ["updated_at", "2016-12-02 16:54:33.531706"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.532541"], ["updated_at", "2016-12-02 16:54:33.532541"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.533444"], ["updated_at", "2016-12-02 16:54:33.533444"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.540782"], ["updated_at", "2016-12-02 16:54:33.540782"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.541951"], ["updated_at", "2016-12-02 16:54:33.541951"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.542928"], ["updated_at", "2016-12-02 16:54:33.542928"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.543839"], ["updated_at", "2016-12-02 16:54:33.543839"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.544771"], ["updated_at", "2016-12-02 16:54:33.544771"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.545672"], ["updated_at", "2016-12-02 16:54:33.545672"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.546600"], ["updated_at", "2016-12-02 16:54:33.546600"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.547516"], ["updated_at", "2016-12-02 16:54:33.547516"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.548395"], ["updated_at", "2016-12-02 16:54:33.548395"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.549391"], ["updated_at", "2016-12-02 16:54:33.549391"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:54:33 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.0ms) + Rendered products/index.html.erb within layouts/application (7.8ms) +Completed 200 OK in 175ms (Views: 173.9ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:54:33 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.3ms) + Rendered products/index.html.erb within layouts/application (2.6ms) +Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:54:33 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:54:33 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.771348"], ["updated_at", "2016-12-02 16:54:33.771348"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.772576"], ["updated_at", "2016-12-02 16:54:33.772576"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.773618"], ["updated_at", "2016-12-02 16:54:33.773618"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.774781"], ["updated_at", "2016-12-02 16:54:33.774781"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.775948"], ["updated_at", "2016-12-02 16:54:33.775948"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.776914"], ["updated_at", "2016-12-02 16:54:33.776914"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.777848"], ["updated_at", "2016-12-02 16:54:33.777848"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.778739"], ["updated_at", "2016-12-02 16:54:33.778739"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.779647"], ["updated_at", "2016-12-02 16:54:33.779647"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:33.780543"], ["updated_at", "2016-12-02 16:54:33.780543"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:54:33 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.501412"], ["updated_at", "2016-12-02 16:54:51.501412"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.504463"], ["updated_at", "2016-12-02 16:54:51.504463"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.505524"], ["updated_at", "2016-12-02 16:54:51.505524"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.506682"], ["updated_at", "2016-12-02 16:54:51.506682"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.507695"], ["updated_at", "2016-12-02 16:54:51.507695"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.508667"], ["updated_at", "2016-12-02 16:54:51.508667"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.509610"], ["updated_at", "2016-12-02 16:54:51.509610"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.510521"], ["updated_at", "2016-12-02 16:54:51.510521"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.511437"], ["updated_at", "2016-12-02 16:54:51.511437"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.512399"], ["updated_at", "2016-12-02 16:54:51.512399"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:54:51 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.8ms) + Rendered products/index.html.erb within layouts/application (8.1ms) +Completed 200 OK in 167ms (Views: 166.3ms | ActiveRecord: 0.4ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:54:51 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:54:51 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.3ms) + Rendered products/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:54:51 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.726531"], ["updated_at", "2016-12-02 16:54:51.726531"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.727881"], ["updated_at", "2016-12-02 16:54:51.727881"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.728916"], ["updated_at", "2016-12-02 16:54:51.728916"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.729849"], ["updated_at", "2016-12-02 16:54:51.729849"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.730895"], ["updated_at", "2016-12-02 16:54:51.730895"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.731826"], ["updated_at", "2016-12-02 16:54:51.731826"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.732679"], ["updated_at", "2016-12-02 16:54:51.732679"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.733495"], ["updated_at", "2016-12-02 16:54:51.733495"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.734674"], ["updated_at", "2016-12-02 16:54:51.734674"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.735909"], ["updated_at", "2016-12-02 16:54:51.735909"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:54:51 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.745726"], ["updated_at", "2016-12-02 16:54:51.745726"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.746870"], ["updated_at", "2016-12-02 16:54:51.746870"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.747918"], ["updated_at", "2016-12-02 16:54:51.747918"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.748860"], ["updated_at", "2016-12-02 16:54:51.748860"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.749805"], ["updated_at", "2016-12-02 16:54:51.749805"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.750740"], ["updated_at", "2016-12-02 16:54:51.750740"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.751642"], ["updated_at", "2016-12-02 16:54:51.751642"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.752489"], ["updated_at", "2016-12-02 16:54:51.752489"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.753368"], ["updated_at", "2016-12-02 16:54:51.753368"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.754235"], ["updated_at", "2016-12-02 16:54:51.754235"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.757404"], ["updated_at", "2016-12-02 16:54:51.757404"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.758315"], ["updated_at", "2016-12-02 16:54:51.758315"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.759209"], ["updated_at", "2016-12-02 16:54:51.759209"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.760476"], ["updated_at", "2016-12-02 16:54:51.760476"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.762019"], ["updated_at", "2016-12-02 16:54:51.762019"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.763096"], ["updated_at", "2016-12-02 16:54:51.763096"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.764036"], ["updated_at", "2016-12-02 16:54:51.764036"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.765045"], ["updated_at", "2016-12-02 16:54:51.765045"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.766050"], ["updated_at", "2016-12-02 16:54:51.766050"]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.768245"], ["updated_at", "2016-12-02 16:54:51.768245"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.770790"], ["updated_at", "2016-12-02 16:54:51.770790"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.771765"], ["updated_at", "2016-12-02 16:54:51.771765"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.772703"], ["updated_at", "2016-12-02 16:54:51.772703"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.773609"], ["updated_at", "2016-12-02 16:54:51.773609"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.774631"], ["updated_at", "2016-12-02 16:54:51.774631"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.775580"], ["updated_at", "2016-12-02 16:54:51.775580"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.776593"], ["updated_at", "2016-12-02 16:54:51.776593"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.777480"], ["updated_at", "2016-12-02 16:54:51.777480"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.778351"], ["updated_at", "2016-12-02 16:54:51.778351"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.779212"], ["updated_at", "2016-12-02 16:54:51.779212"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.781022"], ["updated_at", "2016-12-02 16:54:51.781022"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.781993"], ["updated_at", "2016-12-02 16:54:51.781993"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.782966"], ["updated_at", "2016-12-02 16:54:51.782966"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.783876"], ["updated_at", "2016-12-02 16:54:51.783876"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.784773"], ["updated_at", "2016-12-02 16:54:51.784773"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.785666"], ["updated_at", "2016-12-02 16:54:51.785666"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.786461"], ["updated_at", "2016-12-02 16:54:51.786461"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.787403"], ["updated_at", "2016-12-02 16:54:51.787403"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.788444"], ["updated_at", "2016-12-02 16:54:51.788444"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.789536"], ["updated_at", "2016-12-02 16:54:51.789536"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.790442"], ["updated_at", "2016-12-02 16:54:51.790442"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.791358"], ["updated_at", "2016-12-02 16:54:51.791358"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.792258"], ["updated_at", "2016-12-02 16:54:51.792258"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.793169"], ["updated_at", "2016-12-02 16:54:51.793169"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.794100"], ["updated_at", "2016-12-02 16:54:51.794100"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.794963"], ["updated_at", "2016-12-02 16:54:51.794963"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.795850"], ["updated_at", "2016-12-02 16:54:51.795850"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.796705"], ["updated_at", "2016-12-02 16:54:51.796705"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:54:51.797554"], ["updated_at", "2016-12-02 16:54:51.797554"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.5ms) ROLLBACK +  (0.2ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.658885"], ["updated_at", "2016-12-02 16:55:02.658885"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.663365"], ["updated_at", "2016-12-02 16:55:02.663365"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.665220"], ["updated_at", "2016-12-02 16:55:02.665220"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.666973"], ["updated_at", "2016-12-02 16:55:02.666973"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.668213"], ["updated_at", "2016-12-02 16:55:02.668213"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.669230"], ["updated_at", "2016-12-02 16:55:02.669230"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.670145"], ["updated_at", "2016-12-02 16:55:02.670145"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.671095"], ["updated_at", "2016-12-02 16:55:02.671095"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.671995"], ["updated_at", "2016-12-02 16:55:02.671995"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.673016"], ["updated_at", "2016-12-02 16:55:02.673016"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.673909"], ["updated_at", "2016-12-02 16:55:02.673909"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.674818"], ["updated_at", "2016-12-02 16:55:02.674818"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.675760"], ["updated_at", "2016-12-02 16:55:02.675760"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.676793"], ["updated_at", "2016-12-02 16:55:02.676793"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.678475"], ["updated_at", "2016-12-02 16:55:02.678475"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.679515"], ["updated_at", "2016-12-02 16:55:02.679515"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.680488"], ["updated_at", "2016-12-02 16:55:02.680488"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.681376"], ["updated_at", "2016-12-02 16:55:02.681376"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.682273"], ["updated_at", "2016-12-02 16:55:02.682273"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.691335"], ["updated_at", "2016-12-02 16:55:02.691335"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.692469"], ["updated_at", "2016-12-02 16:55:02.692469"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.693390"], ["updated_at", "2016-12-02 16:55:02.693390"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.694243"], ["updated_at", "2016-12-02 16:55:02.694243"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.695106"], ["updated_at", "2016-12-02 16:55:02.695106"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.695949"], ["updated_at", "2016-12-02 16:55:02.695949"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.696796"], ["updated_at", "2016-12-02 16:55:02.696796"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.697562"], ["updated_at", "2016-12-02 16:55:02.697562"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.698447"], ["updated_at", "2016-12-02 16:55:02.698447"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.699287"], ["updated_at", "2016-12-02 16:55:02.699287"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.701332"], ["updated_at", "2016-12-02 16:55:02.701332"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.702300"], ["updated_at", "2016-12-02 16:55:02.702300"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.703141"], ["updated_at", "2016-12-02 16:55:02.703141"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.704021"], ["updated_at", "2016-12-02 16:55:02.704021"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.705057"], ["updated_at", "2016-12-02 16:55:02.705057"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.705886"], ["updated_at", "2016-12-02 16:55:02.705886"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.706771"], ["updated_at", "2016-12-02 16:55:02.706771"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.707659"], ["updated_at", "2016-12-02 16:55:02.707659"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.708556"], ["updated_at", "2016-12-02 16:55:02.708556"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.709436"], ["updated_at", "2016-12-02 16:55:02.709436"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.711368"], ["updated_at", "2016-12-02 16:55:02.711368"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.712442"], ["updated_at", "2016-12-02 16:55:02.712442"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.713432"], ["updated_at", "2016-12-02 16:55:02.713432"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.714297"], ["updated_at", "2016-12-02 16:55:02.714297"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.715308"], ["updated_at", "2016-12-02 16:55:02.715308"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.716268"], ["updated_at", "2016-12-02 16:55:02.716268"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.717119"], ["updated_at", "2016-12-02 16:55:02.717119"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.717944"], ["updated_at", "2016-12-02 16:55:02.717944"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.718782"], ["updated_at", "2016-12-02 16:55:02.718782"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.719599"], ["updated_at", "2016-12-02 16:55:02.719599"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.722456"], ["updated_at", "2016-12-02 16:55:02.722456"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.723416"], ["updated_at", "2016-12-02 16:55:02.723416"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.724354"], ["updated_at", "2016-12-02 16:55:02.724354"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.725305"], ["updated_at", "2016-12-02 16:55:02.725305"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.726247"], ["updated_at", "2016-12-02 16:55:02.726247"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.727176"], ["updated_at", "2016-12-02 16:55:02.727176"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.728204"], ["updated_at", "2016-12-02 16:55:02.728204"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.729522"], ["updated_at", "2016-12-02 16:55:02.729522"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.730623"], ["updated_at", "2016-12-02 16:55:02.730623"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.731788"], ["updated_at", "2016-12-02 16:55:02.731788"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:55:02 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.0ms) + Rendered products/index.html.erb within layouts/application (7.8ms) +Completed 200 OK in 173ms (Views: 172.1ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:55:02 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.3ms) + Rendered products/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:55:02 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:55:02 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.950432"], ["updated_at", "2016-12-02 16:55:02.950432"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.951619"], ["updated_at", "2016-12-02 16:55:02.951619"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.952597"], ["updated_at", "2016-12-02 16:55:02.952597"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.953589"], ["updated_at", "2016-12-02 16:55:02.953589"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.954515"], ["updated_at", "2016-12-02 16:55:02.954515"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.955444"], ["updated_at", "2016-12-02 16:55:02.955444"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.956330"], ["updated_at", "2016-12-02 16:55:02.956330"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.957303"], ["updated_at", "2016-12-02 16:55:02.957303"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.958284"], ["updated_at", "2016-12-02 16:55:02.958284"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:02.959234"], ["updated_at", "2016-12-02 16:55:02.959234"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:55:02 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.116974"], ["updated_at", "2016-12-02 16:55:17.116974"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.122533"], ["updated_at", "2016-12-02 16:55:17.122533"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.123981"], ["updated_at", "2016-12-02 16:55:17.123981"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.125097"], ["updated_at", "2016-12-02 16:55:17.125097"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.126197"], ["updated_at", "2016-12-02 16:55:17.126197"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.127281"], ["updated_at", "2016-12-02 16:55:17.127281"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.128305"], ["updated_at", "2016-12-02 16:55:17.128305"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.129216"], ["updated_at", "2016-12-02 16:55:17.129216"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.130155"], ["updated_at", "2016-12-02 16:55:17.130155"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.131082"], ["updated_at", "2016-12-02 16:55:17.131082"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.133366"], ["updated_at", "2016-12-02 16:55:17.133366"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.134251"], ["updated_at", "2016-12-02 16:55:17.134251"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.135079"], ["updated_at", "2016-12-02 16:55:17.135079"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.135993"], ["updated_at", "2016-12-02 16:55:17.135993"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.137026"], ["updated_at", "2016-12-02 16:55:17.137026"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.138051"], ["updated_at", "2016-12-02 16:55:17.138051"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.138857"], ["updated_at", "2016-12-02 16:55:17.138857"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.139640"], ["updated_at", "2016-12-02 16:55:17.139640"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.140478"], ["updated_at", "2016-12-02 16:55:17.140478"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.141388"], ["updated_at", "2016-12-02 16:55:17.141388"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.143573"], ["updated_at", "2016-12-02 16:55:17.143573"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.144516"], ["updated_at", "2016-12-02 16:55:17.144516"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.145536"], ["updated_at", "2016-12-02 16:55:17.145536"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.146478"], ["updated_at", "2016-12-02 16:55:17.146478"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.147470"], ["updated_at", "2016-12-02 16:55:17.147470"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.148450"], ["updated_at", "2016-12-02 16:55:17.148450"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.149353"], ["updated_at", "2016-12-02 16:55:17.149353"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.150201"], ["updated_at", "2016-12-02 16:55:17.150201"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.151036"], ["updated_at", "2016-12-02 16:55:17.151036"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.151996"], ["updated_at", "2016-12-02 16:55:17.151996"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.154097"], ["updated_at", "2016-12-02 16:55:17.154097"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.155046"], ["updated_at", "2016-12-02 16:55:17.155046"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.155928"], ["updated_at", "2016-12-02 16:55:17.155928"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.156798"], ["updated_at", "2016-12-02 16:55:17.156798"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.157712"], ["updated_at", "2016-12-02 16:55:17.157712"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.158579"], ["updated_at", "2016-12-02 16:55:17.158579"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.159446"], ["updated_at", "2016-12-02 16:55:17.159446"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.160374"], ["updated_at", "2016-12-02 16:55:17.160374"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.161250"], ["updated_at", "2016-12-02 16:55:17.161250"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.162109"], ["updated_at", "2016-12-02 16:55:17.162109"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.162997"], ["updated_at", "2016-12-02 16:55:17.162997"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.163862"], ["updated_at", "2016-12-02 16:55:17.163862"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.164772"], ["updated_at", "2016-12-02 16:55:17.164772"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.165651"], ["updated_at", "2016-12-02 16:55:17.165651"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.166620"], ["updated_at", "2016-12-02 16:55:17.166620"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.167631"], ["updated_at", "2016-12-02 16:55:17.167631"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.168585"], ["updated_at", "2016-12-02 16:55:17.168585"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.169524"], ["updated_at", "2016-12-02 16:55:17.169524"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.170468"], ["updated_at", "2016-12-02 16:55:17.170468"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.177161"], ["updated_at", "2016-12-02 16:55:17.177161"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.178241"], ["updated_at", "2016-12-02 16:55:17.178241"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.179054"], ["updated_at", "2016-12-02 16:55:17.179054"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.179918"], ["updated_at", "2016-12-02 16:55:17.179918"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.180759"], ["updated_at", "2016-12-02 16:55:17.180759"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.181663"], ["updated_at", "2016-12-02 16:55:17.181663"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.182524"], ["updated_at", "2016-12-02 16:55:17.182524"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.183414"], ["updated_at", "2016-12-02 16:55:17.183414"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.184285"], ["updated_at", "2016-12-02 16:55:17.184285"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.185158"], ["updated_at", "2016-12-02 16:55:17.185158"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:55:17 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.0ms) + Rendered products/index.html.erb within layouts/application (8.0ms) +Completed 200 OK in 171ms (Views: 170.7ms | ActiveRecord: 0.4ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.388739"], ["updated_at", "2016-12-02 16:55:17.388739"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.390653"], ["updated_at", "2016-12-02 16:55:17.390653"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.392118"], ["updated_at", "2016-12-02 16:55:17.392118"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.393185"], ["updated_at", "2016-12-02 16:55:17.393185"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.394172"], ["updated_at", "2016-12-02 16:55:17.394172"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.395137"], ["updated_at", "2016-12-02 16:55:17.395137"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.396073"], ["updated_at", "2016-12-02 16:55:17.396073"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.397037"], ["updated_at", "2016-12-02 16:55:17.397037"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.397916"], ["updated_at", "2016-12-02 16:55:17.397916"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:55:17.398772"], ["updated_at", "2016-12-02 16:55:17.398772"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:55:17 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:55:17 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:55:17 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:55:17 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.489052"], ["updated_at", "2016-12-02 16:56:00.489052"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.492236"], ["updated_at", "2016-12-02 16:56:00.492236"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.493328"], ["updated_at", "2016-12-02 16:56:00.493328"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.494311"], ["updated_at", "2016-12-02 16:56:00.494311"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.495293"], ["updated_at", "2016-12-02 16:56:00.495293"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.496226"], ["updated_at", "2016-12-02 16:56:00.496226"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.497179"], ["updated_at", "2016-12-02 16:56:00.497179"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.498086"], ["updated_at", "2016-12-02 16:56:00.498086"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.499015"], ["updated_at", "2016-12-02 16:56:00.499015"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.500223"], ["updated_at", "2016-12-02 16:56:00.500223"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.504190"], ["updated_at", "2016-12-02 16:56:00.504190"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.505363"], ["updated_at", "2016-12-02 16:56:00.505363"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.506244"], ["updated_at", "2016-12-02 16:56:00.506244"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.507111"], ["updated_at", "2016-12-02 16:56:00.507111"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.508091"], ["updated_at", "2016-12-02 16:56:00.508091"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.508920"], ["updated_at", "2016-12-02 16:56:00.508920"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.509735"], ["updated_at", "2016-12-02 16:56:00.509735"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.510579"], ["updated_at", "2016-12-02 16:56:00.510579"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.511469"], ["updated_at", "2016-12-02 16:56:00.511469"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.512323"], ["updated_at", "2016-12-02 16:56:00.512323"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.515826"], ["updated_at", "2016-12-02 16:56:00.515826"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.517439"], ["updated_at", "2016-12-02 16:56:00.517439"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.518463"], ["updated_at", "2016-12-02 16:56:00.518463"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.519345"], ["updated_at", "2016-12-02 16:56:00.519345"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.520260"], ["updated_at", "2016-12-02 16:56:00.520260"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.522331"], ["updated_at", "2016-12-02 16:56:00.522331"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.523623"], ["updated_at", "2016-12-02 16:56:00.523623"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.524572"], ["updated_at", "2016-12-02 16:56:00.524572"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.525439"], ["updated_at", "2016-12-02 16:56:00.525439"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.526448"], ["updated_at", "2016-12-02 16:56:00.526448"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.528536"], ["updated_at", "2016-12-02 16:56:00.528536"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.529487"], ["updated_at", "2016-12-02 16:56:00.529487"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.530465"], ["updated_at", "2016-12-02 16:56:00.530465"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.531282"], ["updated_at", "2016-12-02 16:56:00.531282"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.532250"], ["updated_at", "2016-12-02 16:56:00.532250"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.533125"], ["updated_at", "2016-12-02 16:56:00.533125"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.534040"], ["updated_at", "2016-12-02 16:56:00.534040"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.534938"], ["updated_at", "2016-12-02 16:56:00.534938"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.535874"], ["updated_at", "2016-12-02 16:56:00.535874"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.536806"], ["updated_at", "2016-12-02 16:56:00.536806"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.537832"], ["updated_at", "2016-12-02 16:56:00.537832"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.538814"], ["updated_at", "2016-12-02 16:56:00.538814"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.539717"], ["updated_at", "2016-12-02 16:56:00.539717"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.540608"], ["updated_at", "2016-12-02 16:56:00.540608"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.541510"], ["updated_at", "2016-12-02 16:56:00.541510"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.542402"], ["updated_at", "2016-12-02 16:56:00.542402"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.543446"], ["updated_at", "2016-12-02 16:56:00.543446"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.544412"], ["updated_at", "2016-12-02 16:56:00.544412"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.545455"], ["updated_at", "2016-12-02 16:56:00.545455"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.557262"], ["updated_at", "2016-12-02 16:56:00.557262"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.558608"], ["updated_at", "2016-12-02 16:56:00.558608"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.559629"], ["updated_at", "2016-12-02 16:56:00.559629"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.560793"], ["updated_at", "2016-12-02 16:56:00.560793"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.561812"], ["updated_at", "2016-12-02 16:56:00.561812"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.562879"], ["updated_at", "2016-12-02 16:56:00.562879"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.564063"], ["updated_at", "2016-12-02 16:56:00.564063"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.565219"], ["updated_at", "2016-12-02 16:56:00.565219"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.566554"], ["updated_at", "2016-12-02 16:56:00.566554"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.567768"], ["updated_at", "2016-12-02 16:56:00.567768"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:56:00 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.1ms) + Rendered products/index.html.erb within layouts/application (8.2ms) +Completed 200 OK in 178ms (Views: 177.5ms | ActiveRecord: 0.3ms) +  (0.4ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.780556"], ["updated_at", "2016-12-02 16:56:00.780556"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.781935"], ["updated_at", "2016-12-02 16:56:00.781935"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.783163"], ["updated_at", "2016-12-02 16:56:00.783163"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.784469"], ["updated_at", "2016-12-02 16:56:00.784469"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.785689"], ["updated_at", "2016-12-02 16:56:00.785689"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.787078"], ["updated_at", "2016-12-02 16:56:00.787078"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.788237"], ["updated_at", "2016-12-02 16:56:00.788237"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.789266"], ["updated_at", "2016-12-02 16:56:00.789266"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.790339"], ["updated_at", "2016-12-02 16:56:00.790339"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:00.791296"], ["updated_at", "2016-12-02 16:56:00.791296"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:56:00 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.4ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:56:00 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:56:00 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:56:00 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (1.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.350650"], ["updated_at", "2016-12-02 16:56:57.350650"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.357491"], ["updated_at", "2016-12-02 16:56:57.357491"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.359209"], ["updated_at", "2016-12-02 16:56:57.359209"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.360587"], ["updated_at", "2016-12-02 16:56:57.360587"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.361772"], ["updated_at", "2016-12-02 16:56:57.361772"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.363002"], ["updated_at", "2016-12-02 16:56:57.363002"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.364433"], ["updated_at", "2016-12-02 16:56:57.364433"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.365741"], ["updated_at", "2016-12-02 16:56:57.365741"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.366765"], ["updated_at", "2016-12-02 16:56:57.366765"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.367800"], ["updated_at", "2016-12-02 16:56:57.367800"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:56:57 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (6.9ms) + Rendered products/index.html.erb within layouts/application (12.8ms) +Completed 200 OK in 194ms (Views: 192.5ms | ActiveRecord: 0.4ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:56:57 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:56:57 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:56:57 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.4ms) + Rendered products/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.626012"], ["updated_at", "2016-12-02 16:56:57.626012"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.627218"], ["updated_at", "2016-12-02 16:56:57.627218"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.628160"], ["updated_at", "2016-12-02 16:56:57.628160"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.629129"], ["updated_at", "2016-12-02 16:56:57.629129"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.630070"], ["updated_at", "2016-12-02 16:56:57.630070"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.630999"], ["updated_at", "2016-12-02 16:56:57.630999"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.631884"], ["updated_at", "2016-12-02 16:56:57.631884"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.633163"], ["updated_at", "2016-12-02 16:56:57.633163"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.634404"], ["updated_at", "2016-12-02 16:56:57.634404"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.635356"], ["updated_at", "2016-12-02 16:56:57.635356"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:56:57 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.645643"], ["updated_at", "2016-12-02 16:56:57.645643"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.646970"], ["updated_at", "2016-12-02 16:56:57.646970"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.648019"], ["updated_at", "2016-12-02 16:56:57.648019"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.648977"], ["updated_at", "2016-12-02 16:56:57.648977"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.649929"], ["updated_at", "2016-12-02 16:56:57.649929"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.650787"], ["updated_at", "2016-12-02 16:56:57.650787"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.651602"], ["updated_at", "2016-12-02 16:56:57.651602"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.652426"], ["updated_at", "2016-12-02 16:56:57.652426"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.653245"], ["updated_at", "2016-12-02 16:56:57.653245"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.654015"], ["updated_at", "2016-12-02 16:56:57.654015"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.656322"], ["updated_at", "2016-12-02 16:56:57.656322"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.657268"], ["updated_at", "2016-12-02 16:56:57.657268"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.658100"], ["updated_at", "2016-12-02 16:56:57.658100"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.658968"], ["updated_at", "2016-12-02 16:56:57.658968"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.660109"], ["updated_at", "2016-12-02 16:56:57.660109"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.661187"], ["updated_at", "2016-12-02 16:56:57.661187"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.662153"], ["updated_at", "2016-12-02 16:56:57.662153"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.663128"], ["updated_at", "2016-12-02 16:56:57.663128"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.664124"], ["updated_at", "2016-12-02 16:56:57.664124"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.666594"], ["updated_at", "2016-12-02 16:56:57.666594"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.670452"], ["updated_at", "2016-12-02 16:56:57.670452"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.671540"], ["updated_at", "2016-12-02 16:56:57.671540"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.672521"], ["updated_at", "2016-12-02 16:56:57.672521"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.673350"], ["updated_at", "2016-12-02 16:56:57.673350"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.674166"], ["updated_at", "2016-12-02 16:56:57.674166"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.674997"], ["updated_at", "2016-12-02 16:56:57.674997"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.675800"], ["updated_at", "2016-12-02 16:56:57.675800"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.676606"], ["updated_at", "2016-12-02 16:56:57.676606"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.677585"], ["updated_at", "2016-12-02 16:56:57.677585"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.678758"], ["updated_at", "2016-12-02 16:56:57.678758"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.681004"], ["updated_at", "2016-12-02 16:56:57.681004"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.681938"], ["updated_at", "2016-12-02 16:56:57.681938"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.682752"], ["updated_at", "2016-12-02 16:56:57.682752"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.683565"], ["updated_at", "2016-12-02 16:56:57.683565"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.684443"], ["updated_at", "2016-12-02 16:56:57.684443"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.685329"], ["updated_at", "2016-12-02 16:56:57.685329"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.686248"], ["updated_at", "2016-12-02 16:56:57.686248"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.687067"], ["updated_at", "2016-12-02 16:56:57.687067"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.687870"], ["updated_at", "2016-12-02 16:56:57.687870"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.688861"], ["updated_at", "2016-12-02 16:56:57.688861"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.690059"], ["updated_at", "2016-12-02 16:56:57.690059"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.690962"], ["updated_at", "2016-12-02 16:56:57.690962"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.691904"], ["updated_at", "2016-12-02 16:56:57.691904"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.692754"], ["updated_at", "2016-12-02 16:56:57.692754"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.693528"], ["updated_at", "2016-12-02 16:56:57.693528"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.694469"], ["updated_at", "2016-12-02 16:56:57.694469"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.695475"], ["updated_at", "2016-12-02 16:56:57.695475"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.696419"], ["updated_at", "2016-12-02 16:56:57.696419"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:56:57.697341"], ["updated_at", "2016-12-02 16:56:57.697341"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.760708"], ["updated_at", "2016-12-02 16:57:47.760708"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.764639"], ["updated_at", "2016-12-02 16:57:47.764639"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.766181"], ["updated_at", "2016-12-02 16:57:47.766181"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.767868"], ["updated_at", "2016-12-02 16:57:47.767868"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.770013"], ["updated_at", "2016-12-02 16:57:47.770013"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (1.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.771983"], ["updated_at", "2016-12-02 16:57:47.771983"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.774397"], ["updated_at", "2016-12-02 16:57:47.774397"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.775642"], ["updated_at", "2016-12-02 16:57:47.775642"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.776669"], ["updated_at", "2016-12-02 16:57:47.776669"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.777669"], ["updated_at", "2016-12-02 16:57:47.777669"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.781498"], ["updated_at", "2016-12-02 16:57:47.781498"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.782507"], ["updated_at", "2016-12-02 16:57:47.782507"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.783434"], ["updated_at", "2016-12-02 16:57:47.783434"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.784322"], ["updated_at", "2016-12-02 16:57:47.784322"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.785250"], ["updated_at", "2016-12-02 16:57:47.785250"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.786310"], ["updated_at", "2016-12-02 16:57:47.786310"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.787158"], ["updated_at", "2016-12-02 16:57:47.787158"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.788112"], ["updated_at", "2016-12-02 16:57:47.788112"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.789069"], ["updated_at", "2016-12-02 16:57:47.789069"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.790036"], ["updated_at", "2016-12-02 16:57:47.790036"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.790881"], ["updated_at", "2016-12-02 16:57:47.790881"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.791741"], ["updated_at", "2016-12-02 16:57:47.791741"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.792590"], ["updated_at", "2016-12-02 16:57:47.792590"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.793484"], ["updated_at", "2016-12-02 16:57:47.793484"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.794331"], ["updated_at", "2016-12-02 16:57:47.794331"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.795168"], ["updated_at", "2016-12-02 16:57:47.795168"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.796038"], ["updated_at", "2016-12-02 16:57:47.796038"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.796839"], ["updated_at", "2016-12-02 16:57:47.796839"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.797768"], ["updated_at", "2016-12-02 16:57:47.797768"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.803872"], ["updated_at", "2016-12-02 16:57:47.803872"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.804813"], ["updated_at", "2016-12-02 16:57:47.804813"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.805652"], ["updated_at", "2016-12-02 16:57:47.805652"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.806566"], ["updated_at", "2016-12-02 16:57:47.806566"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.807484"], ["updated_at", "2016-12-02 16:57:47.807484"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.808480"], ["updated_at", "2016-12-02 16:57:47.808480"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.809432"], ["updated_at", "2016-12-02 16:57:47.809432"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.810297"], ["updated_at", "2016-12-02 16:57:47.810297"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.811136"], ["updated_at", "2016-12-02 16:57:47.811136"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.812104"], ["updated_at", "2016-12-02 16:57:47.812104"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.814326"], ["updated_at", "2016-12-02 16:57:47.814326"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.815347"], ["updated_at", "2016-12-02 16:57:47.815347"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.816213"], ["updated_at", "2016-12-02 16:57:47.816213"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.817075"], ["updated_at", "2016-12-02 16:57:47.817075"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.817936"], ["updated_at", "2016-12-02 16:57:47.817936"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.818741"], ["updated_at", "2016-12-02 16:57:47.818741"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.819667"], ["updated_at", "2016-12-02 16:57:47.819667"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.820549"], ["updated_at", "2016-12-02 16:57:47.820549"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.821456"], ["updated_at", "2016-12-02 16:57:47.821456"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.822361"], ["updated_at", "2016-12-02 16:57:47.822361"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.830729"], ["updated_at", "2016-12-02 16:57:47.830729"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.832004"], ["updated_at", "2016-12-02 16:57:47.832004"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.832951"], ["updated_at", "2016-12-02 16:57:47.832951"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.833953"], ["updated_at", "2016-12-02 16:57:47.833953"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.834807"], ["updated_at", "2016-12-02 16:57:47.834807"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.836039"], ["updated_at", "2016-12-02 16:57:47.836039"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.837095"], ["updated_at", "2016-12-02 16:57:47.837095"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.838116"], ["updated_at", "2016-12-02 16:57:47.838116"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.839277"], ["updated_at", "2016-12-02 16:57:47.839277"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:47.840399"], ["updated_at", "2016-12-02 16:57:47.840399"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:57:47 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (7.1ms) + Rendered products/index.html.erb within layouts/application (12.5ms) +Completed 200 OK in 181ms (Views: 180.5ms | ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:48.070051"], ["updated_at", "2016-12-02 16:57:48.070051"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:48.071720"], ["updated_at", "2016-12-02 16:57:48.071720"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:48.073002"], ["updated_at", "2016-12-02 16:57:48.073002"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:48.074240"], ["updated_at", "2016-12-02 16:57:48.074240"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:48.075483"], ["updated_at", "2016-12-02 16:57:48.075483"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:48.076609"], ["updated_at", "2016-12-02 16:57:48.076609"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:48.077637"], ["updated_at", "2016-12-02 16:57:48.077637"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:48.078581"], ["updated_at", "2016-12-02 16:57:48.078581"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:48.079577"], ["updated_at", "2016-12-02 16:57:48.079577"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:48.080480"], ["updated_at", "2016-12-02 16:57:48.080480"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:57:48 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:57:48 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:57:48 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:57:48 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.3ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.073910"], ["updated_at", "2016-12-02 16:57:55.073910"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.078541"], ["updated_at", "2016-12-02 16:57:55.078541"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.080109"], ["updated_at", "2016-12-02 16:57:55.080109"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.081323"], ["updated_at", "2016-12-02 16:57:55.081323"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.082692"], ["updated_at", "2016-12-02 16:57:55.082692"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.083969"], ["updated_at", "2016-12-02 16:57:55.083969"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.085129"], ["updated_at", "2016-12-02 16:57:55.085129"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.086131"], ["updated_at", "2016-12-02 16:57:55.086131"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.087067"], ["updated_at", "2016-12-02 16:57:55.087067"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.087985"], ["updated_at", "2016-12-02 16:57:55.087985"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:57:55 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.9ms) + Rendered products/index.html.erb within layouts/application (8.3ms) +Completed 200 OK in 177ms (Views: 176.4ms | ActiveRecord: 0.4ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:57:55 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.3ms) + Rendered products/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:57:55 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:57:55 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.314975"], ["updated_at", "2016-12-02 16:57:55.314975"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.316423"], ["updated_at", "2016-12-02 16:57:55.316423"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.317527"], ["updated_at", "2016-12-02 16:57:55.317527"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.318514"], ["updated_at", "2016-12-02 16:57:55.318514"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.319423"], ["updated_at", "2016-12-02 16:57:55.319423"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.320450"], ["updated_at", "2016-12-02 16:57:55.320450"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.321389"], ["updated_at", "2016-12-02 16:57:55.321389"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.322286"], ["updated_at", "2016-12-02 16:57:55.322286"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.323146"], ["updated_at", "2016-12-02 16:57:55.323146"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.324102"], ["updated_at", "2016-12-02 16:57:55.324102"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:57:55 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.335587"], ["updated_at", "2016-12-02 16:57:55.335587"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.336741"], ["updated_at", "2016-12-02 16:57:55.336741"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.337656"], ["updated_at", "2016-12-02 16:57:55.337656"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.338585"], ["updated_at", "2016-12-02 16:57:55.338585"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.339484"], ["updated_at", "2016-12-02 16:57:55.339484"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.340405"], ["updated_at", "2016-12-02 16:57:55.340405"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.341291"], ["updated_at", "2016-12-02 16:57:55.341291"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.342147"], ["updated_at", "2016-12-02 16:57:55.342147"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.343029"], ["updated_at", "2016-12-02 16:57:55.343029"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.343869"], ["updated_at", "2016-12-02 16:57:55.343869"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.345813"], ["updated_at", "2016-12-02 16:57:55.345813"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.346788"], ["updated_at", "2016-12-02 16:57:55.346788"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.347716"], ["updated_at", "2016-12-02 16:57:55.347716"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.348920"], ["updated_at", "2016-12-02 16:57:55.348920"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.349994"], ["updated_at", "2016-12-02 16:57:55.349994"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.350896"], ["updated_at", "2016-12-02 16:57:55.350896"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.351805"], ["updated_at", "2016-12-02 16:57:55.351805"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.352919"], ["updated_at", "2016-12-02 16:57:55.352919"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.355363"], ["updated_at", "2016-12-02 16:57:55.355363"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.356358"], ["updated_at", "2016-12-02 16:57:55.356358"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.358451"], ["updated_at", "2016-12-02 16:57:55.358451"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.359235"], ["updated_at", "2016-12-02 16:57:55.359235"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.360046"], ["updated_at", "2016-12-02 16:57:55.360046"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.360962"], ["updated_at", "2016-12-02 16:57:55.360962"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.361952"], ["updated_at", "2016-12-02 16:57:55.361952"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.362842"], ["updated_at", "2016-12-02 16:57:55.362842"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.363761"], ["updated_at", "2016-12-02 16:57:55.363761"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.364709"], ["updated_at", "2016-12-02 16:57:55.364709"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.365645"], ["updated_at", "2016-12-02 16:57:55.365645"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.366667"], ["updated_at", "2016-12-02 16:57:55.366667"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.368827"], ["updated_at", "2016-12-02 16:57:55.368827"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.369806"], ["updated_at", "2016-12-02 16:57:55.369806"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.370740"], ["updated_at", "2016-12-02 16:57:55.370740"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.371634"], ["updated_at", "2016-12-02 16:57:55.371634"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.372588"], ["updated_at", "2016-12-02 16:57:55.372588"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.373494"], ["updated_at", "2016-12-02 16:57:55.373494"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.374392"], ["updated_at", "2016-12-02 16:57:55.374392"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.375259"], ["updated_at", "2016-12-02 16:57:55.375259"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.376104"], ["updated_at", "2016-12-02 16:57:55.376104"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.377105"], ["updated_at", "2016-12-02 16:57:55.377105"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.378169"], ["updated_at", "2016-12-02 16:57:55.378169"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.379284"], ["updated_at", "2016-12-02 16:57:55.379284"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.380235"], ["updated_at", "2016-12-02 16:57:55.380235"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.381165"], ["updated_at", "2016-12-02 16:57:55.381165"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.382030"], ["updated_at", "2016-12-02 16:57:55.382030"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.382863"], ["updated_at", "2016-12-02 16:57:55.382863"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.383749"], ["updated_at", "2016-12-02 16:57:55.383749"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.384644"], ["updated_at", "2016-12-02 16:57:55.384644"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:57:55.385495"], ["updated_at", "2016-12-02 16:57:55.385495"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.645652"], ["updated_at", "2016-12-02 16:59:57.645652"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.649542"], ["updated_at", "2016-12-02 16:59:57.649542"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.650627"], ["updated_at", "2016-12-02 16:59:57.650627"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.651604"], ["updated_at", "2016-12-02 16:59:57.651604"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.652618"], ["updated_at", "2016-12-02 16:59:57.652618"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.653596"], ["updated_at", "2016-12-02 16:59:57.653596"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.654597"], ["updated_at", "2016-12-02 16:59:57.654597"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.655543"], ["updated_at", "2016-12-02 16:59:57.655543"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.656471"], ["updated_at", "2016-12-02 16:59:57.656471"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.657361"], ["updated_at", "2016-12-02 16:59:57.657361"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.659996"], ["updated_at", "2016-12-02 16:59:57.659996"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.660898"], ["updated_at", "2016-12-02 16:59:57.660898"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.661748"], ["updated_at", "2016-12-02 16:59:57.661748"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.662650"], ["updated_at", "2016-12-02 16:59:57.662650"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.663526"], ["updated_at", "2016-12-02 16:59:57.663526"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.664381"], ["updated_at", "2016-12-02 16:59:57.664381"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.665277"], ["updated_at", "2016-12-02 16:59:57.665277"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.666137"], ["updated_at", "2016-12-02 16:59:57.666137"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.667090"], ["updated_at", "2016-12-02 16:59:57.667090"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.668022"], ["updated_at", "2016-12-02 16:59:57.668022"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.671047"], ["updated_at", "2016-12-02 16:59:57.671047"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.672685"], ["updated_at", "2016-12-02 16:59:57.672685"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.675498"], ["updated_at", "2016-12-02 16:59:57.675498"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.676599"], ["updated_at", "2016-12-02 16:59:57.676599"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.677488"], ["updated_at", "2016-12-02 16:59:57.677488"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.678351"], ["updated_at", "2016-12-02 16:59:57.678351"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.679284"], ["updated_at", "2016-12-02 16:59:57.679284"]] +  (1.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.681475"], ["updated_at", "2016-12-02 16:59:57.681475"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.682577"], ["updated_at", "2016-12-02 16:59:57.682577"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.683393"], ["updated_at", "2016-12-02 16:59:57.683393"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.684199"], ["updated_at", "2016-12-02 16:59:57.684199"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.684990"], ["updated_at", "2016-12-02 16:59:57.684990"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.685820"], ["updated_at", "2016-12-02 16:59:57.685820"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.686708"], ["updated_at", "2016-12-02 16:59:57.686708"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.687568"], ["updated_at", "2016-12-02 16:59:57.687568"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.688466"], ["updated_at", "2016-12-02 16:59:57.688466"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.689352"], ["updated_at", "2016-12-02 16:59:57.689352"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.690215"], ["updated_at", "2016-12-02 16:59:57.690215"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.691038"], ["updated_at", "2016-12-02 16:59:57.691038"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.697397"], ["updated_at", "2016-12-02 16:59:57.697397"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.698449"], ["updated_at", "2016-12-02 16:59:57.698449"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.699413"], ["updated_at", "2016-12-02 16:59:57.699413"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.700393"], ["updated_at", "2016-12-02 16:59:57.700393"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.701312"], ["updated_at", "2016-12-02 16:59:57.701312"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.702204"], ["updated_at", "2016-12-02 16:59:57.702204"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.703117"], ["updated_at", "2016-12-02 16:59:57.703117"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.704001"], ["updated_at", "2016-12-02 16:59:57.704001"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.704907"], ["updated_at", "2016-12-02 16:59:57.704907"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.705797"], ["updated_at", "2016-12-02 16:59:57.705797"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.708952"], ["updated_at", "2016-12-02 16:59:57.708952"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.709862"], ["updated_at", "2016-12-02 16:59:57.709862"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.710689"], ["updated_at", "2016-12-02 16:59:57.710689"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.711529"], ["updated_at", "2016-12-02 16:59:57.711529"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.712342"], ["updated_at", "2016-12-02 16:59:57.712342"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.713288"], ["updated_at", "2016-12-02 16:59:57.713288"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.714196"], ["updated_at", "2016-12-02 16:59:57.714196"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.715109"], ["updated_at", "2016-12-02 16:59:57.715109"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.715975"], ["updated_at", "2016-12-02 16:59:57.715975"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.716879"], ["updated_at", "2016-12-02 16:59:57.716879"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:59:57 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (7.2ms) + Rendered products/index.html.erb within layouts/application (12.6ms) +Completed 200 OK in 173ms (Views: 172.1ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 13:59:57 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 13:59:57 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 13:59:57 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.941193"], ["updated_at", "2016-12-02 16:59:57.941193"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.942392"], ["updated_at", "2016-12-02 16:59:57.942392"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.943366"], ["updated_at", "2016-12-02 16:59:57.943366"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.944265"], ["updated_at", "2016-12-02 16:59:57.944265"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.945169"], ["updated_at", "2016-12-02 16:59:57.945169"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.946067"], ["updated_at", "2016-12-02 16:59:57.946067"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.946960"], ["updated_at", "2016-12-02 16:59:57.946960"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.947889"], ["updated_at", "2016-12-02 16:59:57.947889"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.948797"], ["updated_at", "2016-12-02 16:59:57.948797"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 16:59:57.949612"], ["updated_at", "2016-12-02 16:59:57.949612"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 13:59:57 -0300 +Processing by ProductsController#index as HTML +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.413006"], ["updated_at", "2016-12-02 17:00:16.413006"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.418134"], ["updated_at", "2016-12-02 17:00:16.418134"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.419750"], ["updated_at", "2016-12-02 17:00:16.419750"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.421126"], ["updated_at", "2016-12-02 17:00:16.421126"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.422199"], ["updated_at", "2016-12-02 17:00:16.422199"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.423196"], ["updated_at", "2016-12-02 17:00:16.423196"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.424132"], ["updated_at", "2016-12-02 17:00:16.424132"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.425057"], ["updated_at", "2016-12-02 17:00:16.425057"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.426094"], ["updated_at", "2016-12-02 17:00:16.426094"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.426969"], ["updated_at", "2016-12-02 17:00:16.426969"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 14:00:16 -0300 +Processing by ProductsController#index as HTML +  (0.5ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.8ms) + Rendered products/index.html.erb within layouts/application (7.8ms) +Completed 200 OK in 177ms (Views: 175.8ms | ActiveRecord: 0.5ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 14:00:16 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.5ms) + Rendered products/index.html.erb within layouts/application (3.0ms) +Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.4ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 14:00:16 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 14:00:16 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.654600"], ["updated_at", "2016-12-02 17:00:16.654600"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.655884"], ["updated_at", "2016-12-02 17:00:16.655884"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.656845"], ["updated_at", "2016-12-02 17:00:16.656845"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.657780"], ["updated_at", "2016-12-02 17:00:16.657780"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.658803"], ["updated_at", "2016-12-02 17:00:16.658803"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.659773"], ["updated_at", "2016-12-02 17:00:16.659773"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.660795"], ["updated_at", "2016-12-02 17:00:16.660795"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.661769"], ["updated_at", "2016-12-02 17:00:16.661769"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.662671"], ["updated_at", "2016-12-02 17:00:16.662671"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.663643"], ["updated_at", "2016-12-02 17:00:16.663643"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 14:00:16 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.675687"], ["updated_at", "2016-12-02 17:00:16.675687"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.676860"], ["updated_at", "2016-12-02 17:00:16.676860"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.677794"], ["updated_at", "2016-12-02 17:00:16.677794"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.678696"], ["updated_at", "2016-12-02 17:00:16.678696"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.679705"], ["updated_at", "2016-12-02 17:00:16.679705"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.680649"], ["updated_at", "2016-12-02 17:00:16.680649"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.681530"], ["updated_at", "2016-12-02 17:00:16.681530"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.682406"], ["updated_at", "2016-12-02 17:00:16.682406"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.683424"], ["updated_at", "2016-12-02 17:00:16.683424"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.684270"], ["updated_at", "2016-12-02 17:00:16.684270"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.686457"], ["updated_at", "2016-12-02 17:00:16.686457"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.687450"], ["updated_at", "2016-12-02 17:00:16.687450"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.688406"], ["updated_at", "2016-12-02 17:00:16.688406"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.689355"], ["updated_at", "2016-12-02 17:00:16.689355"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.690304"], ["updated_at", "2016-12-02 17:00:16.690304"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.691183"], ["updated_at", "2016-12-02 17:00:16.691183"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.692065"], ["updated_at", "2016-12-02 17:00:16.692065"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.692979"], ["updated_at", "2016-12-02 17:00:16.692979"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.693979"], ["updated_at", "2016-12-02 17:00:16.693979"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.694880"], ["updated_at", "2016-12-02 17:00:16.694880"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.696941"], ["updated_at", "2016-12-02 17:00:16.696941"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.697969"], ["updated_at", "2016-12-02 17:00:16.697969"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.698788"], ["updated_at", "2016-12-02 17:00:16.698788"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.699619"], ["updated_at", "2016-12-02 17:00:16.699619"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.700428"], ["updated_at", "2016-12-02 17:00:16.700428"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.701310"], ["updated_at", "2016-12-02 17:00:16.701310"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.702187"], ["updated_at", "2016-12-02 17:00:16.702187"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.703056"], ["updated_at", "2016-12-02 17:00:16.703056"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.703990"], ["updated_at", "2016-12-02 17:00:16.703990"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.704856"], ["updated_at", "2016-12-02 17:00:16.704856"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.705693"], ["updated_at", "2016-12-02 17:00:16.705693"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.706477"], ["updated_at", "2016-12-02 17:00:16.706477"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.707405"], ["updated_at", "2016-12-02 17:00:16.707405"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.708268"], ["updated_at", "2016-12-02 17:00:16.708268"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.709167"], ["updated_at", "2016-12-02 17:00:16.709167"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.710180"], ["updated_at", "2016-12-02 17:00:16.710180"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.711316"], ["updated_at", "2016-12-02 17:00:16.711316"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.712187"], ["updated_at", "2016-12-02 17:00:16.712187"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.713020"], ["updated_at", "2016-12-02 17:00:16.713020"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.719158"], ["updated_at", "2016-12-02 17:00:16.719158"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.720230"], ["updated_at", "2016-12-02 17:00:16.720230"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.721149"], ["updated_at", "2016-12-02 17:00:16.721149"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.722102"], ["updated_at", "2016-12-02 17:00:16.722102"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.723012"], ["updated_at", "2016-12-02 17:00:16.723012"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.723879"], ["updated_at", "2016-12-02 17:00:16.723879"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.724766"], ["updated_at", "2016-12-02 17:00:16.724766"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.725642"], ["updated_at", "2016-12-02 17:00:16.725642"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.726498"], ["updated_at", "2016-12-02 17:00:16.726498"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:16.727346"], ["updated_at", "2016-12-02 17:00:16.727346"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.656612"], ["updated_at", "2016-12-02 17:00:30.656612"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.660426"], ["updated_at", "2016-12-02 17:00:30.660426"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.661553"], ["updated_at", "2016-12-02 17:00:30.661553"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.662574"], ["updated_at", "2016-12-02 17:00:30.662574"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.663595"], ["updated_at", "2016-12-02 17:00:30.663595"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.664640"], ["updated_at", "2016-12-02 17:00:30.664640"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.665656"], ["updated_at", "2016-12-02 17:00:30.665656"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.666650"], ["updated_at", "2016-12-02 17:00:30.666650"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.667732"], ["updated_at", "2016-12-02 17:00:30.667732"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.668793"], ["updated_at", "2016-12-02 17:00:30.668793"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.671439"], ["updated_at", "2016-12-02 17:00:30.671439"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.672448"], ["updated_at", "2016-12-02 17:00:30.672448"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.673386"], ["updated_at", "2016-12-02 17:00:30.673386"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.674129"], ["updated_at", "2016-12-02 17:00:30.674129"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.674957"], ["updated_at", "2016-12-02 17:00:30.674957"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.675884"], ["updated_at", "2016-12-02 17:00:30.675884"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.676953"], ["updated_at", "2016-12-02 17:00:30.676953"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.677872"], ["updated_at", "2016-12-02 17:00:30.677872"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.678837"], ["updated_at", "2016-12-02 17:00:30.678837"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.679677"], ["updated_at", "2016-12-02 17:00:30.679677"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.680718"], ["updated_at", "2016-12-02 17:00:30.680718"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.681616"], ["updated_at", "2016-12-02 17:00:30.681616"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.682659"], ["updated_at", "2016-12-02 17:00:30.682659"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.684253"], ["updated_at", "2016-12-02 17:00:30.684253"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.685339"], ["updated_at", "2016-12-02 17:00:30.685339"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.686280"], ["updated_at", "2016-12-02 17:00:30.686280"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.687160"], ["updated_at", "2016-12-02 17:00:30.687160"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.688086"], ["updated_at", "2016-12-02 17:00:30.688086"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.690214"], ["updated_at", "2016-12-02 17:00:30.690214"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.698297"], ["updated_at", "2016-12-02 17:00:30.698297"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.699588"], ["updated_at", "2016-12-02 17:00:30.699588"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.701126"], ["updated_at", "2016-12-02 17:00:30.701126"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.702813"], ["updated_at", "2016-12-02 17:00:30.702813"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.704034"], ["updated_at", "2016-12-02 17:00:30.704034"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.704977"], ["updated_at", "2016-12-02 17:00:30.704977"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.705895"], ["updated_at", "2016-12-02 17:00:30.705895"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.706904"], ["updated_at", "2016-12-02 17:00:30.706904"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.707845"], ["updated_at", "2016-12-02 17:00:30.707845"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.708729"], ["updated_at", "2016-12-02 17:00:30.708729"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.710794"], ["updated_at", "2016-12-02 17:00:30.710794"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.711870"], ["updated_at", "2016-12-02 17:00:30.711870"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.712859"], ["updated_at", "2016-12-02 17:00:30.712859"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.713762"], ["updated_at", "2016-12-02 17:00:30.713762"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.714685"], ["updated_at", "2016-12-02 17:00:30.714685"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.715542"], ["updated_at", "2016-12-02 17:00:30.715542"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.716474"], ["updated_at", "2016-12-02 17:00:30.716474"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.717367"], ["updated_at", "2016-12-02 17:00:30.717367"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.718312"], ["updated_at", "2016-12-02 17:00:30.718312"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.719146"], ["updated_at", "2016-12-02 17:00:30.719146"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_param +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.721683"], ["updated_at", "2016-12-02 17:00:30.721683"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.722566"], ["updated_at", "2016-12-02 17:00:30.722566"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.723599"], ["updated_at", "2016-12-02 17:00:30.723599"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.724537"], ["updated_at", "2016-12-02 17:00:30.724537"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.725381"], ["updated_at", "2016-12-02 17:00:30.725381"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.726222"], ["updated_at", "2016-12-02 17:00:30.726222"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.727067"], ["updated_at", "2016-12-02 17:00:30.727067"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.727985"], ["updated_at", "2016-12-02 17:00:30.727985"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.728826"], ["updated_at", "2016-12-02 17:00:30.728826"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.729746"], ["updated_at", "2016-12-02 17:00:30.729746"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 14:00:30 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (6.8ms) + Rendered products/index.html.erb within layouts/application (12.3ms) +Completed 200 OK in 179ms (Views: 178.6ms | ActiveRecord: 0.3ms) +Started GET "/2" for 127.0.0.1 at 2016-12-02 14:00:30 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 14:00:30 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) +Started GET "/2?query=" for 127.0.0.1 at 2016-12-02 14:00:30 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>"", "page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +-------------------- +ViewTest: test_query +-------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.961765"], ["updated_at", "2016-12-02 17:00:30.961765"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.962962"], ["updated_at", "2016-12-02 17:00:30.962962"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.963991"], ["updated_at", "2016-12-02 17:00:30.963991"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.964944"], ["updated_at", "2016-12-02 17:00:30.964944"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.965870"], ["updated_at", "2016-12-02 17:00:30.965870"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.966771"], ["updated_at", "2016-12-02 17:00:30.966771"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.967692"], ["updated_at", "2016-12-02 17:00:30.967692"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.968617"], ["updated_at", "2016-12-02 17:00:30.968617"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.969484"], ["updated_at", "2016-12-02 17:00:30.969484"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:00:30.970334"], ["updated_at", "2016-12-02 17:00:30.970334"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 14:00:30 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) +Started GET "/?page=2" for 127.0.0.1 at 2016-12-02 14:00:30 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.0ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) +Started GET "/?query=" for 127.0.0.1 at 2016-12-02 14:00:30 -0300 +Processing by ProductsController#index as HTML + Parameters: {"query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms) +Started GET "/?page=2&query=" for 127.0.0.1 at 2016-12-02 14:00:30 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"2", "query"=>""} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.3ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.427357"], ["updated_at", "2016-12-02 17:04:41.427357"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.431315"], ["updated_at", "2016-12-02 17:04:41.431315"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.432441"], ["updated_at", "2016-12-02 17:04:41.432441"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.433423"], ["updated_at", "2016-12-02 17:04:41.433423"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.434343"], ["updated_at", "2016-12-02 17:04:41.434343"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.435300"], ["updated_at", "2016-12-02 17:04:41.435300"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.436322"], ["updated_at", "2016-12-02 17:04:41.436322"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.437213"], ["updated_at", "2016-12-02 17:04:41.437213"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.438378"], ["updated_at", "2016-12-02 17:04:41.438378"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.439345"], ["updated_at", "2016-12-02 17:04:41.439345"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.441646"], ["updated_at", "2016-12-02 17:04:41.441646"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.442641"], ["updated_at", "2016-12-02 17:04:41.442641"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.443552"], ["updated_at", "2016-12-02 17:04:41.443552"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.444493"], ["updated_at", "2016-12-02 17:04:41.444493"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.445433"], ["updated_at", "2016-12-02 17:04:41.445433"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.446466"], ["updated_at", "2016-12-02 17:04:41.446466"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.447546"], ["updated_at", "2016-12-02 17:04:41.447546"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.449325"], ["updated_at", "2016-12-02 17:04:41.449325"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.450488"], ["updated_at", "2016-12-02 17:04:41.450488"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.451447"], ["updated_at", "2016-12-02 17:04:41.451447"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.452387"], ["updated_at", "2016-12-02 17:04:41.452387"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.453326"], ["updated_at", "2016-12-02 17:04:41.453326"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.455632"], ["updated_at", "2016-12-02 17:04:41.455632"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.456767"], ["updated_at", "2016-12-02 17:04:41.456767"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.457696"], ["updated_at", "2016-12-02 17:04:41.457696"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.458598"], ["updated_at", "2016-12-02 17:04:41.458598"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.459561"], ["updated_at", "2016-12-02 17:04:41.459561"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.460496"], ["updated_at", "2016-12-02 17:04:41.460496"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.461443"], ["updated_at", "2016-12-02 17:04:41.461443"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.468036"], ["updated_at", "2016-12-02 17:04:41.468036"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.469174"], ["updated_at", "2016-12-02 17:04:41.469174"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.470083"], ["updated_at", "2016-12-02 17:04:41.470083"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.471028"], ["updated_at", "2016-12-02 17:04:41.471028"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.471955"], ["updated_at", "2016-12-02 17:04:41.471955"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.472850"], ["updated_at", "2016-12-02 17:04:41.472850"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.473743"], ["updated_at", "2016-12-02 17:04:41.473743"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.474669"], ["updated_at", "2016-12-02 17:04:41.474669"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.475529"], ["updated_at", "2016-12-02 17:04:41.475529"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.476439"], ["updated_at", "2016-12-02 17:04:41.476439"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.478727"], ["updated_at", "2016-12-02 17:04:41.478727"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.479927"], ["updated_at", "2016-12-02 17:04:41.479927"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.480949"], ["updated_at", "2016-12-02 17:04:41.480949"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.482227"], ["updated_at", "2016-12-02 17:04:41.482227"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.483966"], ["updated_at", "2016-12-02 17:04:41.483966"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.485254"], ["updated_at", "2016-12-02 17:04:41.485254"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.486245"], ["updated_at", "2016-12-02 17:04:41.486245"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.487090"], ["updated_at", "2016-12-02 17:04:41.487090"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.487918"], ["updated_at", "2016-12-02 17:04:41.487918"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.488750"], ["updated_at", "2016-12-02 17:04:41.488750"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------- +ViewTest: test_html +------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.492226"], ["updated_at", "2016-12-02 17:04:41.492226"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.493681"], ["updated_at", "2016-12-02 17:04:41.493681"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.494512"], ["updated_at", "2016-12-02 17:04:41.494512"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.495341"], ["updated_at", "2016-12-02 17:04:41.495341"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.496119"], ["updated_at", "2016-12-02 17:04:41.496119"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.496875"], ["updated_at", "2016-12-02 17:04:41.496875"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.497647"], ["updated_at", "2016-12-02 17:04:41.497647"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.498400"], ["updated_at", "2016-12-02 17:04:41.498400"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.499326"], ["updated_at", "2016-12-02 17:04:41.499326"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:04:41.500073"], ["updated_at", "2016-12-02 17:04:41.500073"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 14:04:41 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (7.1ms) + Rendered products/index.html.erb within layouts/application (12.5ms) +Completed 200 OK in 181ms (Views: 180.7ms | ActiveRecord: 0.3ms) +Started GET "/?page=3" for 127.0.0.1 at 2016-12-02 14:04:41 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"3"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.3ms) + Rendered products/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.635785"], ["updated_at", "2016-12-02 17:05:02.635785"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.638894"], ["updated_at", "2016-12-02 17:05:02.638894"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.639985"], ["updated_at", "2016-12-02 17:05:02.639985"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.640961"], ["updated_at", "2016-12-02 17:05:02.640961"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.641897"], ["updated_at", "2016-12-02 17:05:02.641897"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.642853"], ["updated_at", "2016-12-02 17:05:02.642853"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.643755"], ["updated_at", "2016-12-02 17:05:02.643755"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.644690"], ["updated_at", "2016-12-02 17:05:02.644690"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.645605"], ["updated_at", "2016-12-02 17:05:02.645605"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.646596"], ["updated_at", "2016-12-02 17:05:02.646596"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.649223"], ["updated_at", "2016-12-02 17:05:02.649223"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.650240"], ["updated_at", "2016-12-02 17:05:02.650240"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.651129"], ["updated_at", "2016-12-02 17:05:02.651129"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.652068"], ["updated_at", "2016-12-02 17:05:02.652068"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.653073"], ["updated_at", "2016-12-02 17:05:02.653073"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.653907"], ["updated_at", "2016-12-02 17:05:02.653907"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.654783"], ["updated_at", "2016-12-02 17:05:02.654783"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.655766"], ["updated_at", "2016-12-02 17:05:02.655766"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.656671"], ["updated_at", "2016-12-02 17:05:02.656671"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.657551"], ["updated_at", "2016-12-02 17:05:02.657551"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.660664"], ["updated_at", "2016-12-02 17:05:02.660664"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.661571"], ["updated_at", "2016-12-02 17:05:02.661571"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.662428"], ["updated_at", "2016-12-02 17:05:02.662428"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.663363"], ["updated_at", "2016-12-02 17:05:02.663363"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.664856"], ["updated_at", "2016-12-02 17:05:02.664856"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.665970"], ["updated_at", "2016-12-02 17:05:02.665970"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.666824"], ["updated_at", "2016-12-02 17:05:02.666824"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.667674"], ["updated_at", "2016-12-02 17:05:02.667674"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.668525"], ["updated_at", "2016-12-02 17:05:02.668525"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.669406"], ["updated_at", "2016-12-02 17:05:02.669406"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.673007"], ["updated_at", "2016-12-02 17:05:02.673007"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.673928"], ["updated_at", "2016-12-02 17:05:02.673928"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.675032"], ["updated_at", "2016-12-02 17:05:02.675032"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.676204"], ["updated_at", "2016-12-02 17:05:02.676204"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.677196"], ["updated_at", "2016-12-02 17:05:02.677196"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.678057"], ["updated_at", "2016-12-02 17:05:02.678057"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.679060"], ["updated_at", "2016-12-02 17:05:02.679060"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.679943"], ["updated_at", "2016-12-02 17:05:02.679943"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.680860"], ["updated_at", "2016-12-02 17:05:02.680860"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.681796"], ["updated_at", "2016-12-02 17:05:02.681796"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.682792"], ["updated_at", "2016-12-02 17:05:02.682792"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.683708"], ["updated_at", "2016-12-02 17:05:02.683708"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.684665"], ["updated_at", "2016-12-02 17:05:02.684665"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.685548"], ["updated_at", "2016-12-02 17:05:02.685548"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.686377"], ["updated_at", "2016-12-02 17:05:02.686377"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.687235"], ["updated_at", "2016-12-02 17:05:02.687235"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.688058"], ["updated_at", "2016-12-02 17:05:02.688058"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.688930"], ["updated_at", "2016-12-02 17:05:02.688930"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.689842"], ["updated_at", "2016-12-02 17:05:02.689842"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +------------------- +ViewTest: test_html +------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.701985"], ["updated_at", "2016-12-02 17:05:02.701985"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.703258"], ["updated_at", "2016-12-02 17:05:02.703258"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.704239"], ["updated_at", "2016-12-02 17:05:02.704239"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.705159"], ["updated_at", "2016-12-02 17:05:02.705159"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.706138"], ["updated_at", "2016-12-02 17:05:02.706138"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.707240"], ["updated_at", "2016-12-02 17:05:02.707240"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.708597"], ["updated_at", "2016-12-02 17:05:02.708597"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.709761"], ["updated_at", "2016-12-02 17:05:02.709761"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.710974"], ["updated_at", "2016-12-02 17:05:02.710974"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:05:02.712204"], ["updated_at", "2016-12-02 17:05:02.712204"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 14:05:02 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.9ms) + Rendered products/index.html.erb within layouts/application (7.7ms) +Completed 200 OK in 175ms (Views: 174.8ms | ActiveRecord: 0.3ms) +Started GET "/?page=3" for 127.0.0.1 at 2016-12-02 14:05:02 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"3"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.414671"], ["updated_at", "2016-12-02 17:08:42.414671"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.418926"], ["updated_at", "2016-12-02 17:08:42.418926"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.420320"], ["updated_at", "2016-12-02 17:08:42.420320"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.422009"], ["updated_at", "2016-12-02 17:08:42.422009"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.423370"], ["updated_at", "2016-12-02 17:08:42.423370"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.424354"], ["updated_at", "2016-12-02 17:08:42.424354"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.425266"], ["updated_at", "2016-12-02 17:08:42.425266"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.426257"], ["updated_at", "2016-12-02 17:08:42.426257"]] +  (1.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.428452"], ["updated_at", "2016-12-02 17:08:42.428452"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.429771"], ["updated_at", "2016-12-02 17:08:42.429771"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.433632"], ["updated_at", "2016-12-02 17:08:42.433632"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.434929"], ["updated_at", "2016-12-02 17:08:42.434929"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.436155"], ["updated_at", "2016-12-02 17:08:42.436155"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.437183"], ["updated_at", "2016-12-02 17:08:42.437183"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.438149"], ["updated_at", "2016-12-02 17:08:42.438149"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.439081"], ["updated_at", "2016-12-02 17:08:42.439081"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.440008"], ["updated_at", "2016-12-02 17:08:42.440008"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.440965"], ["updated_at", "2016-12-02 17:08:42.440965"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.441873"], ["updated_at", "2016-12-02 17:08:42.441873"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.442811"], ["updated_at", "2016-12-02 17:08:42.442811"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.444964"], ["updated_at", "2016-12-02 17:08:42.444964"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.446089"], ["updated_at", "2016-12-02 17:08:42.446089"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.447037"], ["updated_at", "2016-12-02 17:08:42.447037"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.447927"], ["updated_at", "2016-12-02 17:08:42.447927"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.448753"], ["updated_at", "2016-12-02 17:08:42.448753"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.449609"], ["updated_at", "2016-12-02 17:08:42.449609"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.450406"], ["updated_at", "2016-12-02 17:08:42.450406"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.451249"], ["updated_at", "2016-12-02 17:08:42.451249"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.452135"], ["updated_at", "2016-12-02 17:08:42.452135"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.453031"], ["updated_at", "2016-12-02 17:08:42.453031"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.455048"], ["updated_at", "2016-12-02 17:08:42.455048"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.455875"], ["updated_at", "2016-12-02 17:08:42.455875"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.456787"], ["updated_at", "2016-12-02 17:08:42.456787"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.457615"], ["updated_at", "2016-12-02 17:08:42.457615"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.458444"], ["updated_at", "2016-12-02 17:08:42.458444"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.459253"], ["updated_at", "2016-12-02 17:08:42.459253"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.460145"], ["updated_at", "2016-12-02 17:08:42.460145"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.461008"], ["updated_at", "2016-12-02 17:08:42.461008"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.461920"], ["updated_at", "2016-12-02 17:08:42.461920"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.462766"], ["updated_at", "2016-12-02 17:08:42.462766"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.463662"], ["updated_at", "2016-12-02 17:08:42.463662"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.464524"], ["updated_at", "2016-12-02 17:08:42.464524"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.465416"], ["updated_at", "2016-12-02 17:08:42.465416"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.466372"], ["updated_at", "2016-12-02 17:08:42.466372"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.467362"], ["updated_at", "2016-12-02 17:08:42.467362"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.468334"], ["updated_at", "2016-12-02 17:08:42.468334"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.469267"], ["updated_at", "2016-12-02 17:08:42.469267"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.470238"], ["updated_at", "2016-12-02 17:08:42.470238"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.471396"], ["updated_at", "2016-12-02 17:08:42.471396"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +------------------- +ViewTest: test_html +------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.479903"], ["updated_at", "2016-12-02 17:08:42.479903"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.480998"], ["updated_at", "2016-12-02 17:08:42.480998"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.481981"], ["updated_at", "2016-12-02 17:08:42.481981"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.482936"], ["updated_at", "2016-12-02 17:08:42.482936"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.483817"], ["updated_at", "2016-12-02 17:08:42.483817"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.484812"], ["updated_at", "2016-12-02 17:08:42.484812"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.485670"], ["updated_at", "2016-12-02 17:08:42.485670"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.486575"], ["updated_at", "2016-12-02 17:08:42.486575"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.487536"], ["updated_at", "2016-12-02 17:08:42.487536"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:42.488362"], ["updated_at", "2016-12-02 17:08:42.488362"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 14:08:42 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (7.3ms) + Rendered products/index.html.erb within layouts/application (12.7ms) +Completed 200 OK in 178ms (Views: 177.2ms | ActiveRecord: 0.3ms) +Started GET "/?page=3" for 127.0.0.1 at 2016-12-02 14:08:42 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"3"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +Started GET "/?page=10" for 127.0.0.1 at 2016-12-02 14:08:42 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"10"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.8ms) + Rendered products/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +------------------- +ViewTest: test_html +------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.205928"], ["updated_at", "2016-12-02 17:08:55.205928"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.209019"], ["updated_at", "2016-12-02 17:08:55.209019"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.210131"], ["updated_at", "2016-12-02 17:08:55.210131"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.211162"], ["updated_at", "2016-12-02 17:08:55.211162"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.212154"], ["updated_at", "2016-12-02 17:08:55.212154"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.213095"], ["updated_at", "2016-12-02 17:08:55.213095"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.214042"], ["updated_at", "2016-12-02 17:08:55.214042"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.214969"], ["updated_at", "2016-12-02 17:08:55.214969"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.215934"], ["updated_at", "2016-12-02 17:08:55.215934"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.216928"], ["updated_at", "2016-12-02 17:08:55.216928"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 14:08:55 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (4.9ms) + Rendered products/index.html.erb within layouts/application (8.9ms) +Completed 200 OK in 175ms (Views: 173.6ms | ActiveRecord: 0.4ms) +Started GET "/?page=3" for 127.0.0.1 at 2016-12-02 14:08:55 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"3"} +  (1.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.4ms) + Rendered products/index.html.erb within layouts/application (3.8ms) +Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 1.3ms) +Started GET "/?page=10" for 127.0.0.1 at 2016-12-02 14:08:55 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"10"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.9ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.4ms) +  (0.4ms) ROLLBACK +  (0.3ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.446314"], ["updated_at", "2016-12-02 17:08:55.446314"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.447646"], ["updated_at", "2016-12-02 17:08:55.447646"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.448717"], ["updated_at", "2016-12-02 17:08:55.448717"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.449748"], ["updated_at", "2016-12-02 17:08:55.449748"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.450861"], ["updated_at", "2016-12-02 17:08:55.450861"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.452258"], ["updated_at", "2016-12-02 17:08:55.452258"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.453958"], ["updated_at", "2016-12-02 17:08:55.453958"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.455419"], ["updated_at", "2016-12-02 17:08:55.455419"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.456295"], ["updated_at", "2016-12-02 17:08:55.456295"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.457174"], ["updated_at", "2016-12-02 17:08:55.457174"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.458023"], ["updated_at", "2016-12-02 17:08:55.458023"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.458964"], ["updated_at", "2016-12-02 17:08:55.458964"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.459880"], ["updated_at", "2016-12-02 17:08:55.459880"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.460733"], ["updated_at", "2016-12-02 17:08:55.460733"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.461605"], ["updated_at", "2016-12-02 17:08:55.461605"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.462434"], ["updated_at", "2016-12-02 17:08:55.462434"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.463242"], ["updated_at", "2016-12-02 17:08:55.463242"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.464094"], ["updated_at", "2016-12-02 17:08:55.464094"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.464953"], ["updated_at", "2016-12-02 17:08:55.464953"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.473128"], ["updated_at", "2016-12-02 17:08:55.473128"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.474233"], ["updated_at", "2016-12-02 17:08:55.474233"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.475110"], ["updated_at", "2016-12-02 17:08:55.475110"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1[0m + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.475920"], ["updated_at", "2016-12-02 17:08:55.475920"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.476778"], ["updated_at", "2016-12-02 17:08:55.476778"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.477660"], ["updated_at", "2016-12-02 17:08:55.477660"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.478648"], ["updated_at", "2016-12-02 17:08:55.478648"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.479639"], ["updated_at", "2016-12-02 17:08:55.479639"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.480603"], ["updated_at", "2016-12-02 17:08:55.480603"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.481456"], ["updated_at", "2016-12-02 17:08:55.481456"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.483485"], ["updated_at", "2016-12-02 17:08:55.483485"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.484681"], ["updated_at", "2016-12-02 17:08:55.484681"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.485587"], ["updated_at", "2016-12-02 17:08:55.485587"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.486490"], ["updated_at", "2016-12-02 17:08:55.486490"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.487433"], ["updated_at", "2016-12-02 17:08:55.487433"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.488363"], ["updated_at", "2016-12-02 17:08:55.488363"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.489445"], ["updated_at", "2016-12-02 17:08:55.489445"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.490441"], ["updated_at", "2016-12-02 17:08:55.490441"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.491381"], ["updated_at", "2016-12-02 17:08:55.491381"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.492222"], ["updated_at", "2016-12-02 17:08:55.492222"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.494276"], ["updated_at", "2016-12-02 17:08:55.494276"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.495258"], ["updated_at", "2016-12-02 17:08:55.495258"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.496347"], ["updated_at", "2016-12-02 17:08:55.496347"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.497244"], ["updated_at", "2016-12-02 17:08:55.497244"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.498166"], ["updated_at", "2016-12-02 17:08:55.498166"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.499064"], ["updated_at", "2016-12-02 17:08:55.499064"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.500010"], ["updated_at", "2016-12-02 17:08:55.500010"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.501060"], ["updated_at", "2016-12-02 17:08:55.501060"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.502212"], ["updated_at", "2016-12-02 17:08:55.502212"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:08:55.503370"], ["updated_at", "2016-12-02 17:08:55.503370"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------- +ViewTest: test_html +------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.343577"], ["updated_at", "2016-12-02 17:14:51.343577"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.347932"], ["updated_at", "2016-12-02 17:14:51.347932"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.349110"], ["updated_at", "2016-12-02 17:14:51.349110"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.350180"], ["updated_at", "2016-12-02 17:14:51.350180"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.351238"], ["updated_at", "2016-12-02 17:14:51.351238"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.352262"], ["updated_at", "2016-12-02 17:14:51.352262"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.353351"], ["updated_at", "2016-12-02 17:14:51.353351"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.354562"], ["updated_at", "2016-12-02 17:14:51.354562"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.355629"], ["updated_at", "2016-12-02 17:14:51.355629"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.356711"], ["updated_at", "2016-12-02 17:14:51.356711"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 14:14:51 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (7.3ms) + Rendered products/index.html.erb within layouts/application (12.8ms) +Completed 200 OK in 189ms (Views: 187.6ms | ActiveRecord: 0.4ms) +Started GET "/?page=3" for 127.0.0.1 at 2016-12-02 14:14:51 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"3"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (2.1ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.4ms) +Started GET "/?page=10" for 127.0.0.1 at 2016-12-02 14:14:51 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"10"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.8ms) + Rendered products/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.613571"], ["updated_at", "2016-12-02 17:14:51.613571"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.614782"], ["updated_at", "2016-12-02 17:14:51.614782"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.615734"], ["updated_at", "2016-12-02 17:14:51.615734"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.616754"], ["updated_at", "2016-12-02 17:14:51.616754"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.617713"], ["updated_at", "2016-12-02 17:14:51.617713"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.618691"], ["updated_at", "2016-12-02 17:14:51.618691"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.619632"], ["updated_at", "2016-12-02 17:14:51.619632"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.620530"], ["updated_at", "2016-12-02 17:14:51.620530"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.621425"], ["updated_at", "2016-12-02 17:14:51.621425"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.622322"], ["updated_at", "2016-12-02 17:14:51.622322"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.624372"], ["updated_at", "2016-12-02 17:14:51.624372"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.625207"], ["updated_at", "2016-12-02 17:14:51.625207"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.625996"], ["updated_at", "2016-12-02 17:14:51.625996"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.626920"], ["updated_at", "2016-12-02 17:14:51.626920"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.628039"], ["updated_at", "2016-12-02 17:14:51.628039"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.629203"], ["updated_at", "2016-12-02 17:14:51.629203"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.630380"], ["updated_at", "2016-12-02 17:14:51.630380"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.631470"], ["updated_at", "2016-12-02 17:14:51.631470"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.632407"], ["updated_at", "2016-12-02 17:14:51.632407"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.633381"], ["updated_at", "2016-12-02 17:14:51.633381"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.637009"], ["updated_at", "2016-12-02 17:14:51.637009"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.637940"], ["updated_at", "2016-12-02 17:14:51.637940"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.638809"], ["updated_at", "2016-12-02 17:14:51.638809"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.639681"], ["updated_at", "2016-12-02 17:14:51.639681"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.640536"], ["updated_at", "2016-12-02 17:14:51.640536"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.641401"], ["updated_at", "2016-12-02 17:14:51.641401"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.642312"], ["updated_at", "2016-12-02 17:14:51.642312"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.643205"], ["updated_at", "2016-12-02 17:14:51.643205"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.644047"], ["updated_at", "2016-12-02 17:14:51.644047"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.644785"], ["updated_at", "2016-12-02 17:14:51.644785"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------- +RelationTest: test_out +---------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.646716"], ["updated_at", "2016-12-02 17:14:51.646716"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.647865"], ["updated_at", "2016-12-02 17:14:51.647865"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.648861"], ["updated_at", "2016-12-02 17:14:51.648861"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.649868"], ["updated_at", "2016-12-02 17:14:51.649868"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.650864"], ["updated_at", "2016-12-02 17:14:51.650864"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.651787"], ["updated_at", "2016-12-02 17:14:51.651787"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.652664"], ["updated_at", "2016-12-02 17:14:51.652664"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.653469"], ["updated_at", "2016-12-02 17:14:51.653469"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.654325"], ["updated_at", "2016-12-02 17:14:51.654325"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.655214"], ["updated_at", "2016-12-02 17:14:51.655214"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.657201"], ["updated_at", "2016-12-02 17:14:51.657201"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.658026"], ["updated_at", "2016-12-02 17:14:51.658026"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.658820"], ["updated_at", "2016-12-02 17:14:51.658820"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.659740"], ["updated_at", "2016-12-02 17:14:51.659740"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.660755"], ["updated_at", "2016-12-02 17:14:51.660755"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.661651"], ["updated_at", "2016-12-02 17:14:51.661651"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.662540"], ["updated_at", "2016-12-02 17:14:51.662540"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.663411"], ["updated_at", "2016-12-02 17:14:51.663411"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.664260"], ["updated_at", "2016-12-02 17:14:51.664260"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.665049"], ["updated_at", "2016-12-02 17:14:51.665049"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.665842"], ["updated_at", "2016-12-02 17:14:51.665842"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.666621"], ["updated_at", "2016-12-02 17:14:51.666621"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.667527"], ["updated_at", "2016-12-02 17:14:51.667527"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.668328"], ["updated_at", "2016-12-02 17:14:51.668328"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.669025"], ["updated_at", "2016-12-02 17:14:51.669025"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.669715"], ["updated_at", "2016-12-02 17:14:51.669715"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.670393"], ["updated_at", "2016-12-02 17:14:51.670393"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.671066"], ["updated_at", "2016-12-02 17:14:51.671066"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 17:14:51.671740"], ["updated_at", "2016-12-02 17:14:51.671740"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.067515"], ["updated_at", "2016-12-02 18:57:00.067515"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.071853"], ["updated_at", "2016-12-02 18:57:00.071853"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.073442"], ["updated_at", "2016-12-02 18:57:00.073442"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.075436"], ["updated_at", "2016-12-02 18:57:00.075436"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.076728"], ["updated_at", "2016-12-02 18:57:00.076728"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.077969"], ["updated_at", "2016-12-02 18:57:00.077969"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.078974"], ["updated_at", "2016-12-02 18:57:00.078974"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.080253"], ["updated_at", "2016-12-02 18:57:00.080253"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.081278"], ["updated_at", "2016-12-02 18:57:00.081278"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.082274"], ["updated_at", "2016-12-02 18:57:00.082274"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.084907"], ["updated_at", "2016-12-02 18:57:00.084907"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.085820"], ["updated_at", "2016-12-02 18:57:00.085820"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.086776"], ["updated_at", "2016-12-02 18:57:00.086776"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.088013"], ["updated_at", "2016-12-02 18:57:00.088013"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.089479"], ["updated_at", "2016-12-02 18:57:00.089479"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.090516"], ["updated_at", "2016-12-02 18:57:00.090516"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.091612"], ["updated_at", "2016-12-02 18:57:00.091612"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.092548"], ["updated_at", "2016-12-02 18:57:00.092548"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.093483"], ["updated_at", "2016-12-02 18:57:00.093483"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.095824"], ["updated_at", "2016-12-02 18:57:00.095824"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.099284"], ["updated_at", "2016-12-02 18:57:00.099284"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.100149"], ["updated_at", "2016-12-02 18:57:00.100149"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.100926"], ["updated_at", "2016-12-02 18:57:00.100926"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.101749"], ["updated_at", "2016-12-02 18:57:00.101749"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.102766"], ["updated_at", "2016-12-02 18:57:00.102766"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.103710"], ["updated_at", "2016-12-02 18:57:00.103710"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.104654"], ["updated_at", "2016-12-02 18:57:00.104654"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.105466"], ["updated_at", "2016-12-02 18:57:00.105466"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.106287"], ["updated_at", "2016-12-02 18:57:00.106287"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.107147"], ["updated_at", "2016-12-02 18:57:00.107147"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------- +RelationTest: test_out +---------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.109233"], ["updated_at", "2016-12-02 18:57:00.109233"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.110096"], ["updated_at", "2016-12-02 18:57:00.110096"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.110963"], ["updated_at", "2016-12-02 18:57:00.110963"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.111766"], ["updated_at", "2016-12-02 18:57:00.111766"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.112566"], ["updated_at", "2016-12-02 18:57:00.112566"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.113589"], ["updated_at", "2016-12-02 18:57:00.113589"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.114514"], ["updated_at", "2016-12-02 18:57:00.114514"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.115300"], ["updated_at", "2016-12-02 18:57:00.115300"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.116102"], ["updated_at", "2016-12-02 18:57:00.116102"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.116878"], ["updated_at", "2016-12-02 18:57:00.116878"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.118823"], ["updated_at", "2016-12-02 18:57:00.118823"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.119790"], ["updated_at", "2016-12-02 18:57:00.119790"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.120789"], ["updated_at", "2016-12-02 18:57:00.120789"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.121666"], ["updated_at", "2016-12-02 18:57:00.121666"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.122592"], ["updated_at", "2016-12-02 18:57:00.122592"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.123614"], ["updated_at", "2016-12-02 18:57:00.123614"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.124919"], ["updated_at", "2016-12-02 18:57:00.124919"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.125949"], ["updated_at", "2016-12-02 18:57:00.125949"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.126906"], ["updated_at", "2016-12-02 18:57:00.126906"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.127813"], ["updated_at", "2016-12-02 18:57:00.127813"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.128733"], ["updated_at", "2016-12-02 18:57:00.128733"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.129573"], ["updated_at", "2016-12-02 18:57:00.129573"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.130410"], ["updated_at", "2016-12-02 18:57:00.130410"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.131317"], ["updated_at", "2016-12-02 18:57:00.131317"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.132333"], ["updated_at", "2016-12-02 18:57:00.132333"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.133254"], ["updated_at", "2016-12-02 18:57:00.133254"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.134094"], ["updated_at", "2016-12-02 18:57:00.134094"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.134950"], ["updated_at", "2016-12-02 18:57:00.134950"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.135902"], ["updated_at", "2016-12-02 18:57:00.135902"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------- +ViewTest: test_html +------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.142690"], ["updated_at", "2016-12-02 18:57:00.142690"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.143677"], ["updated_at", "2016-12-02 18:57:00.143677"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.144546"], ["updated_at", "2016-12-02 18:57:00.144546"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.145444"], ["updated_at", "2016-12-02 18:57:00.145444"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.146331"], ["updated_at", "2016-12-02 18:57:00.146331"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.147371"], ["updated_at", "2016-12-02 18:57:00.147371"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.148314"], ["updated_at", "2016-12-02 18:57:00.148314"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.149203"], ["updated_at", "2016-12-02 18:57:00.149203"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.150214"], ["updated_at", "2016-12-02 18:57:00.150214"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:00.151128"], ["updated_at", "2016-12-02 18:57:00.151128"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 15:57:00 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (10.3ms) + Rendered products/index.html.erb within layouts/application (15.5ms) +Completed 200 OK in 180ms (Views: 179.2ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------- +ViewTest: test_html +------------------- +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:41.989590"], ["updated_at", "2016-12-02 18:57:41.989590"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:41.992696"], ["updated_at", "2016-12-02 18:57:41.992696"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:41.993729"], ["updated_at", "2016-12-02 18:57:41.993729"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:41.994727"], ["updated_at", "2016-12-02 18:57:41.994727"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:41.995743"], ["updated_at", "2016-12-02 18:57:41.995743"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:41.996696"], ["updated_at", "2016-12-02 18:57:41.996696"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:41.997570"], ["updated_at", "2016-12-02 18:57:41.997570"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:41.998599"], ["updated_at", "2016-12-02 18:57:41.998599"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:41.999448"], ["updated_at", "2016-12-02 18:57:41.999448"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.000315"], ["updated_at", "2016-12-02 18:57:42.000315"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 15:57:42 -0300 +Processing by ProductsController#index as HTML +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.9ms) + Rendered products/index.html.erb within layouts/application (7.8ms) +Completed 200 OK in 172ms (Views: 171.4ms | ActiveRecord: 0.4ms) +Started GET "/?page=3" for 127.0.0.1 at 2016-12-02 15:57:42 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"3"} +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.1ms) + Rendered products/index.html.erb within layouts/application (2.0ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.215378"], ["updated_at", "2016-12-02 18:57:42.215378"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.216539"], ["updated_at", "2016-12-02 18:57:42.216539"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.217511"], ["updated_at", "2016-12-02 18:57:42.217511"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.218498"], ["updated_at", "2016-12-02 18:57:42.218498"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.219570"], ["updated_at", "2016-12-02 18:57:42.219570"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.220499"], ["updated_at", "2016-12-02 18:57:42.220499"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.221319"], ["updated_at", "2016-12-02 18:57:42.221319"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.222187"], ["updated_at", "2016-12-02 18:57:42.222187"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.223158"], ["updated_at", "2016-12-02 18:57:42.223158"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.224312"], ["updated_at", "2016-12-02 18:57:42.224312"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.225347"], ["updated_at", "2016-12-02 18:57:42.225347"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.226238"], ["updated_at", "2016-12-02 18:57:42.226238"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.227075"], ["updated_at", "2016-12-02 18:57:42.227075"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.227903"], ["updated_at", "2016-12-02 18:57:42.227903"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.228774"], ["updated_at", "2016-12-02 18:57:42.228774"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.229745"], ["updated_at", "2016-12-02 18:57:42.229745"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.230594"], ["updated_at", "2016-12-02 18:57:42.230594"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.231454"], ["updated_at", "2016-12-02 18:57:42.231454"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.232325"], ["updated_at", "2016-12-02 18:57:42.232325"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.238456"], ["updated_at", "2016-12-02 18:57:42.238456"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.239519"], ["updated_at", "2016-12-02 18:57:42.239519"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.240431"], ["updated_at", "2016-12-02 18:57:42.240431"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.241326"], ["updated_at", "2016-12-02 18:57:42.241326"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.242133"], ["updated_at", "2016-12-02 18:57:42.242133"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.242976"], ["updated_at", "2016-12-02 18:57:42.242976"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.243872"], ["updated_at", "2016-12-02 18:57:42.243872"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.244725"], ["updated_at", "2016-12-02 18:57:42.244725"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.245653"], ["updated_at", "2016-12-02 18:57:42.245653"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.246531"], ["updated_at", "2016-12-02 18:57:42.246531"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.248880"], ["updated_at", "2016-12-02 18:57:42.248880"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.249916"], ["updated_at", "2016-12-02 18:57:42.249916"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.251173"], ["updated_at", "2016-12-02 18:57:42.251173"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.252136"], ["updated_at", "2016-12-02 18:57:42.252136"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.252997"], ["updated_at", "2016-12-02 18:57:42.252997"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.253883"], ["updated_at", "2016-12-02 18:57:42.253883"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.254809"], ["updated_at", "2016-12-02 18:57:42.254809"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.255656"], ["updated_at", "2016-12-02 18:57:42.255656"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.256433"], ["updated_at", "2016-12-02 18:57:42.256433"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.257464"], ["updated_at", "2016-12-02 18:57:42.257464"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.259882"], ["updated_at", "2016-12-02 18:57:42.259882"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.260790"], ["updated_at", "2016-12-02 18:57:42.260790"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.261596"], ["updated_at", "2016-12-02 18:57:42.261596"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.262380"], ["updated_at", "2016-12-02 18:57:42.262380"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.263268"], ["updated_at", "2016-12-02 18:57:42.263268"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.264073"], ["updated_at", "2016-12-02 18:57:42.264073"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.264881"], ["updated_at", "2016-12-02 18:57:42.264881"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.265785"], ["updated_at", "2016-12-02 18:57:42.265785"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.266659"], ["updated_at", "2016-12-02 18:57:42.266659"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.267465"], ["updated_at", "2016-12-02 18:57:42.267465"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------- +RelationTest: test_out +---------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.269547"], ["updated_at", "2016-12-02 18:57:42.269547"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.270501"], ["updated_at", "2016-12-02 18:57:42.270501"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.271339"], ["updated_at", "2016-12-02 18:57:42.271339"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.272149"], ["updated_at", "2016-12-02 18:57:42.272149"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.273041"], ["updated_at", "2016-12-02 18:57:42.273041"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.273854"], ["updated_at", "2016-12-02 18:57:42.273854"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.274752"], ["updated_at", "2016-12-02 18:57:42.274752"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.275712"], ["updated_at", "2016-12-02 18:57:42.275712"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.276616"], ["updated_at", "2016-12-02 18:57:42.276616"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:57:42.277784"], ["updated_at", "2016-12-02 18:57:42.277784"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +---------------------------- +GeneratorsTest: test_install +---------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +------------------- +ViewTest: test_html +------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.497368"], ["updated_at", "2016-12-02 18:59:38.497368"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.500448"], ["updated_at", "2016-12-02 18:59:38.500448"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.501508"], ["updated_at", "2016-12-02 18:59:38.501508"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.502471"], ["updated_at", "2016-12-02 18:59:38.502471"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.503559"], ["updated_at", "2016-12-02 18:59:38.503559"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.504491"], ["updated_at", "2016-12-02 18:59:38.504491"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.505405"], ["updated_at", "2016-12-02 18:59:38.505405"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.506334"], ["updated_at", "2016-12-02 18:59:38.506334"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.507251"], ["updated_at", "2016-12-02 18:59:38.507251"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.508223"], ["updated_at", "2016-12-02 18:59:38.508223"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/" for 127.0.0.1 at 2016-12-02 15:59:38 -0300 +Processing by ProductsController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (3.9ms) + Rendered products/index.html.erb within layouts/application (7.7ms) +Completed 200 OK in 173ms (Views: 172.6ms | ActiveRecord: 0.3ms) +Started GET "/?page=5" for 127.0.0.1 at 2016-12-02 15:59:38 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"5"} +  (0.4ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (1.2ms) + Rendered products/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.4ms) +Started GET "/?page=10" for 127.0.0.1 at 2016-12-02 15:59:38 -0300 +Processing by ProductsController#index as HTML + Parameters: {"page"=>"10"} +  (0.2ms) SELECT COUNT(*) FROM "products" + Rendered /Users/Matt/Documents/Github/pagers/app/views/pagers/_main.html.erb (0.8ms) + Rendered products/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +----------------------- +RelationTest: test_last +----------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.729238"], ["updated_at", "2016-12-02 18:59:38.729238"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.730454"], ["updated_at", "2016-12-02 18:59:38.730454"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.731397"], ["updated_at", "2016-12-02 18:59:38.731397"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.732369"], ["updated_at", "2016-12-02 18:59:38.732369"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.733508"], ["updated_at", "2016-12-02 18:59:38.733508"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.734443"], ["updated_at", "2016-12-02 18:59:38.734443"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.735393"], ["updated_at", "2016-12-02 18:59:38.735393"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.736302"], ["updated_at", "2016-12-02 18:59:38.736302"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.737143"], ["updated_at", "2016-12-02 18:59:38.737143"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.737965"], ["updated_at", "2016-12-02 18:59:38.737965"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +---------------------- +RelationTest: test_out +---------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.740065"], ["updated_at", "2016-12-02 18:59:38.740065"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.741067"], ["updated_at", "2016-12-02 18:59:38.741067"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.742037"], ["updated_at", "2016-12-02 18:59:38.742037"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.742903"], ["updated_at", "2016-12-02 18:59:38.742903"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.743758"], ["updated_at", "2016-12-02 18:59:38.743758"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.744674"], ["updated_at", "2016-12-02 18:59:38.744674"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.745551"], ["updated_at", "2016-12-02 18:59:38.745551"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.746450"], ["updated_at", "2016-12-02 18:59:38.746450"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.747349"], ["updated_at", "2016-12-02 18:59:38.747349"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.748222"], ["updated_at", "2016-12-02 18:59:38.748222"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_empty +------------------------ +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------- +RelationTest: test_middle +------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.751329"], ["updated_at", "2016-12-02 18:59:38.751329"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.752309"], ["updated_at", "2016-12-02 18:59:38.752309"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.753270"], ["updated_at", "2016-12-02 18:59:38.753270"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.754150"], ["updated_at", "2016-12-02 18:59:38.754150"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.754980"], ["updated_at", "2016-12-02 18:59:38.754980"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.755889"], ["updated_at", "2016-12-02 18:59:38.755889"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.756781"], ["updated_at", "2016-12-02 18:59:38.756781"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.757722"], ["updated_at", "2016-12-02 18:59:38.757722"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.758648"], ["updated_at", "2016-12-02 18:59:38.758648"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.759516"], ["updated_at", "2016-12-02 18:59:38.759516"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +RelationTest: test_first +------------------------ +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.761426"], ["updated_at", "2016-12-02 18:59:38.761426"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.762401"], ["updated_at", "2016-12-02 18:59:38.762401"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.763392"], ["updated_at", "2016-12-02 18:59:38.763392"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.764413"], ["updated_at", "2016-12-02 18:59:38.764413"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.765306"], ["updated_at", "2016-12-02 18:59:38.765306"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.766313"], ["updated_at", "2016-12-02 18:59:38.766313"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.767325"], ["updated_at", "2016-12-02 18:59:38.767325"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.768400"], ["updated_at", "2016-12-02 18:59:38.768400"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.769239"], ["updated_at", "2016-12-02 18:59:38.769239"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.770109"], ["updated_at", "2016-12-02 18:59:38.770109"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------- +RelationTest: test_padding +-------------------------- +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.772214"], ["updated_at", "2016-12-02 18:59:38.772214"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.773054"], ["updated_at", "2016-12-02 18:59:38.773054"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.773918"], ["updated_at", "2016-12-02 18:59:38.773918"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.774766"], ["updated_at", "2016-12-02 18:59:38.774766"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.775733"], ["updated_at", "2016-12-02 18:59:38.775733"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.776720"], ["updated_at", "2016-12-02 18:59:38.776720"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.777671"], ["updated_at", "2016-12-02 18:59:38.777671"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.778618"], ["updated_at", "2016-12-02 18:59:38.778618"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.779538"], ["updated_at", "2016-12-02 18:59:38.779538"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.780546"], ["updated_at", "2016-12-02 18:59:38.780546"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.781381"], ["updated_at", "2016-12-02 18:59:38.781381"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.782247"], ["updated_at", "2016-12-02 18:59:38.782247"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.783102"], ["updated_at", "2016-12-02 18:59:38.783102"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.783957"], ["updated_at", "2016-12-02 18:59:38.783957"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.784836"], ["updated_at", "2016-12-02 18:59:38.784836"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.785699"], ["updated_at", "2016-12-02 18:59:38.785699"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.786629"], ["updated_at", "2016-12-02 18:59:38.786629"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.787637"], ["updated_at", "2016-12-02 18:59:38.787637"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-02 18:59:38.788614"], ["updated_at", "2016-12-02 18:59:38.788614"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 4) subquery_for_count +  (0.2ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 19) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "products" LIMIT 15 OFFSET 34) subquery_for_count +  (0.1ms) SELECT COUNT(*) FROM "products" +  (0.1ms) ROLLBACK