(22.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "total_friends" integer, "birthday" date, "created_at" datetime, "updated_at" datetime)   (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) select sqlite_version(*)  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160121233437') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction ---------------------------------------------------------------------- NextableTest::WithCycleTrue: test_cycle_by_date_field_example_birthday ----------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:43:38.783977"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:43:38.783977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:43:38.793947"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:43:38.793947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:43:38.795682"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:43:38.795682"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1929-01-15' AND id < 3) ORDER BY id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (birthday < '1929-01-15') ORDER BY birthday desc, id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY lower(birthday) desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1965-02-21' AND id > 1) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday > '1965-02-21') ORDER BY birthday asc, id asc LIMIT 1 User Load (0.5ms) SELECT "users".* FROM "users" ORDER BY lower(birthday) asc LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------ NextableTest::WithCycleTrue: test_cycle_by_integer_field_example_total_friends ------------------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:43:38.804969"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:43:38.804969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:43:38.807005"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:43:38.807005"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:43:38.808536"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:43:38.808536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 6 AND id < 1) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends < 6) ORDER BY total_friends desc, id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY lower(total_friends) desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 8 AND id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends > 8) ORDER BY total_friends asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(total_friends) asc LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- NextableTest::WithCycleTrue: test_cycle_by_string_field_example_name --------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:43:38.814525"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:43:38.814525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:43:38.816463"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:43:38.816463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:43:38.818753"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:43:38.818753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'MLK Junior' AND id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'mlk junior') ORDER BY lower(name) asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(name) asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'Huey Newton' AND id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'huey newton') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(name) desc LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------- NextableTest::WithCycleTrue: test_default_will_cycle_by_id ----------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:43:38.826452"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:43:38.826452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:43:38.828241"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:43:38.828241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:43:38.829713"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:43:38.829713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 1) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(id) desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(id) asc LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- NextableTest::WithFieldParam: test_date_field_example_birthday --------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:43:38.837383"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:43:38.837383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:43:38.839227"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:43:38.839227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:43:38.840631"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:43:38.840631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1929-01-15' AND id > 3) ORDER BY id asc LIMIT 1 User Load (0.6ms) SELECT "users".* FROM "users" WHERE (birthday > '1929-01-15') ORDER BY birthday asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1942-02-17' AND id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday > '1942-02-17') ORDER BY birthday asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1965-02-21' AND id < 1) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday < '1965-02-21') ORDER BY birthday desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1942-02-17' AND id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday < '1942-02-17') ORDER BY birthday desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1929-01-15' AND id < 3) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday < '1929-01-15') ORDER BY birthday desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1965-02-21' AND id > 1) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday > '1965-02-21') ORDER BY birthday asc, id asc LIMIT 1  (1.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------- NextableTest::WithFieldParam: test_integer_field_example_total_friends ----------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:43:38.848881"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:43:38.848881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:43:38.850259"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:43:38.850259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:43:38.851909"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:43:38.851909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 6 AND id > 1) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends > 6) ORDER BY total_friends asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 7 AND id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends > 7) ORDER BY total_friends asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 8 AND id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends < 8) ORDER BY total_friends desc, id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (total_friends = 7 AND id < 3) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends < 7) ORDER BY total_friends desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 6 AND id < 1) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends < 6) ORDER BY total_friends desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 8 AND id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends > 8) ORDER BY total_friends asc, id asc LIMIT 1  (1.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ NextableTest::WithFieldParam: test_string_field_example_name ------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:43:38.859860"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:43:38.859860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:43:38.861613"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:43:38.861613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:43:38.863224"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:43:38.863224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'Huey Newton' AND id > 2) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'huey newton') ORDER BY lower(name) asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'Malcom Little' AND id > 1) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'malcom little') ORDER BY lower(name) asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'MLK Junior' AND id < 3) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'mlk junior') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'malcom little' AND id < 1) ORDER BY id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'malcom little') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'huey newton' AND id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'huey newton') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'mlk junior' AND id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'mlk junior') ORDER BY lower(name) asc, id asc LIMIT 1  (1.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- NextableTest::Defaults: test_first_user_previous_record_returns_nil -------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:43:38.872919"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:43:38.872919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:43:38.874414"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:43:38.874414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:43:38.875799"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:43:38.875799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 1) ORDER BY id desc LIMIT 1  (2.3ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- NextableTest::Defaults: test_last_user_next_record_returns_nil --------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:43:38.880169"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:43:38.880169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:43:38.881533"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:43:38.881533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:43:38.882756"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:43:38.882756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 3) ORDER BY id asc LIMIT 1  (1.4ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- NextableTest::Defaults: test_next_record_fetches_user_with_ascending_id -----------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:43:38.886487"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:43:38.886487"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:43:38.887832"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:43:38.887832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:43:38.889243"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:43:38.889243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 1) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 2) ORDER BY id asc LIMIT 1  (17.5ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------- NextableTest::Defaults: test_previous_record_fetches_user_with_descending_id ----------------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:43:38.909567"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:43:38.909567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:43:38.910991"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:43:38.910991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:43:38.912286"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:43:38.912286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 3) ORDER BY id desc LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------- NextableTest::WithFiltersParam: test_with_jun_2_1991_birthday -------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:43:38.916808"], ["name", "Gibbert"], ["total_friends", 1], ["updated_at", "2016-01-22 20:43:38.916808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:43:38.918884"], ["name", "Fubart"], ["total_friends", 1], ["updated_at", "2016-01-22 20:43:38.918884"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:43:38.920183"], ["name", "Ebert"], ["total_friends", 1], ["updated_at", "2016-01-22 20:43:38.920183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:43:38.921228"], ["name", "Dilbert"], ["total_friends", 2], ["updated_at", "2016-01-22 20:43:38.921228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:43:38.922071"], ["name", "Cubert"], ["total_friends", 2], ["updated_at", "2016-01-22 20:43:38.922071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:43:38.923052"], ["name", "Bertal"], ["total_friends", 3], ["updated_at", "2016-01-22 20:43:38.923052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:43:38.923988"], ["name", "Albert"], ["total_friends", 3], ["updated_at", "2016-01-22 20:43:38.923988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1991-06-02' AND (id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1991-06-02' AND (id > 5) ORDER BY id asc LIMIT 1  (1.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- NextableTest::WithFiltersParam: test_with_oct_26_1990_birthday --------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:43:38.941677"], ["name", "Gibbert"], ["total_friends", 1], ["updated_at", "2016-01-22 20:43:38.941677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:43:38.942956"], ["name", "Fubart"], ["total_friends", 1], ["updated_at", "2016-01-22 20:43:38.942956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:43:38.944238"], ["name", "Ebert"], ["total_friends", 1], ["updated_at", "2016-01-22 20:43:38.944238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:43:38.945332"], ["name", "Dilbert"], ["total_friends", 2], ["updated_at", "2016-01-22 20:43:38.945332"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:43:38.946294"], ["name", "Cubert"], ["total_friends", 2], ["updated_at", "2016-01-22 20:43:38.946294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:43:38.947121"], ["name", "Bertal"], ["total_friends", 3], ["updated_at", "2016-01-22 20:43:38.947121"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:43:38.948128"], ["name", "Albert"], ["total_friends", 3], ["updated_at", "2016-01-22 20:43:38.948128"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id > 5) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id < 6) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id < 5) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id < 5) ORDER BY id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' ORDER BY lower(id) desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id > 7) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' ORDER BY lower(id) asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (name = 'Cubert' AND id < 5) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (lower(name) < 'cubert') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (name = 'Albert' AND id > 7) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (lower(name) > 'albert') ORDER BY lower(name) asc, id asc LIMIT 1  (3.3ms) rollback transaction ActiveRecord::SchemaMigration Load (8.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------------------------------- NextableTest::Defaults: test_first_user_previous_record_returns_nil -------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (26.6ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:47:38.742194"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:47:38.742194"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:47:38.776852"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:47:38.776852"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:47:38.778238"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:47:38.778238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 1) ORDER BY id desc LIMIT 1  (2.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- NextableTest::Defaults: test_last_user_next_record_returns_nil --------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:47:38.783569"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:47:38.783569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:47:38.785459"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:47:38.785459"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:47:38.787432"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:47:38.787432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE (id > 3) ORDER BY id asc LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- NextableTest::Defaults: test_next_record_fetches_user_with_ascending_id -----------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:47:38.791085"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:47:38.791085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:47:38.792676"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:47:38.792676"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:47:38.794370"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:47:38.794370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 1) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 2) ORDER BY id asc LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------- NextableTest::Defaults: test_previous_record_fetches_user_with_descending_id ----------------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:47:38.798667"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:47:38.798667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:47:38.800286"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:47:38.800286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:47:38.801770"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:47:38.801770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 3) ORDER BY id desc LIMIT 1  (1.1ms) rollback transaction  (0.2ms) begin transaction ---------------------------------------------------------------------- NextableTest::WithCycleTrue: test_cycle_by_date_field_example_birthday ----------------------------------------------------------------------  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:47:38.808723"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:47:38.808723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:47:38.810038"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:47:38.810038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:47:38.811470"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:47:38.811470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1929-01-15' AND id < 3) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday < '1929-01-15') ORDER BY birthday desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(birthday) desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1965-02-21' AND id > 1) ORDER BY id asc LIMIT 1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE (birthday > '1965-02-21') ORDER BY birthday asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(birthday) asc LIMIT 1  (1.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------ NextableTest::WithCycleTrue: test_cycle_by_integer_field_example_total_friends ------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:47:38.817973"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:47:38.817973"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:47:38.819531"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:47:38.819531"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:47:38.821746"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:47:38.821746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 6 AND id < 1) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends < 6) ORDER BY total_friends desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(total_friends) desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 8 AND id > 2) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (total_friends > 8) ORDER BY total_friends asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(total_friends) asc LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- NextableTest::WithCycleTrue: test_cycle_by_string_field_example_name --------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:47:38.827346"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:47:38.827346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:47:38.828755"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:47:38.828755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:47:38.829912"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:47:38.829912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'MLK Junior' AND id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'mlk junior') ORDER BY lower(name) asc, id asc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY lower(name) asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'Huey Newton' AND id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'huey newton') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(name) desc LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------- NextableTest::WithCycleTrue: test_default_will_cycle_by_id ----------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:47:38.835473"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:47:38.835473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:47:38.836809"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:47:38.836809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:47:38.837835"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:47:38.837835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 1) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(id) desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(id) asc LIMIT 1  (1.6ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------- NextableTest::WithFiltersParam: test_with_jun_2_1991_birthday -------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:47:38.843514"], ["name", "Gibbert"], ["total_friends", 1], ["updated_at", "2016-01-22 20:47:38.843514"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:47:38.845310"], ["name", "Fubart"], ["total_friends", 1], ["updated_at", "2016-01-22 20:47:38.845310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:47:38.846685"], ["name", "Ebert"], ["total_friends", 1], ["updated_at", "2016-01-22 20:47:38.846685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:47:38.847558"], ["name", "Dilbert"], ["total_friends", 2], ["updated_at", "2016-01-22 20:47:38.847558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:47:38.848820"], ["name", "Cubert"], ["total_friends", 2], ["updated_at", "2016-01-22 20:47:38.848820"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:47:38.849872"], ["name", "Bertal"], ["total_friends", 3], ["updated_at", "2016-01-22 20:47:38.849872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:47:38.850934"], ["name", "Albert"], ["total_friends", 3], ["updated_at", "2016-01-22 20:47:38.850934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1991-06-02' AND (id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1991-06-02' AND (id > 5) ORDER BY id asc LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- NextableTest::WithFiltersParam: test_with_oct_26_1990_birthday --------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:47:38.867702"], ["name", "Gibbert"], ["total_friends", 1], ["updated_at", "2016-01-22 20:47:38.867702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:47:38.869372"], ["name", "Fubart"], ["total_friends", 1], ["updated_at", "2016-01-22 20:47:38.869372"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:47:38.871526"], ["name", "Ebert"], ["total_friends", 1], ["updated_at", "2016-01-22 20:47:38.871526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:47:38.872801"], ["name", "Dilbert"], ["total_friends", 2], ["updated_at", "2016-01-22 20:47:38.872801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:47:38.873678"], ["name", "Cubert"], ["total_friends", 2], ["updated_at", "2016-01-22 20:47:38.873678"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:47:38.874953"], ["name", "Bertal"], ["total_friends", 3], ["updated_at", "2016-01-22 20:47:38.874953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:47:38.876339"], ["name", "Albert"], ["total_friends", 3], ["updated_at", "2016-01-22 20:47:38.876339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id > 5) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id < 6) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id < 5) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id < 5) ORDER BY id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' ORDER BY lower(id) desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id > 7) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' ORDER BY lower(id) asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (name = 'Cubert' AND id < 5) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (lower(name) < 'cubert') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (name = 'Albert' AND id > 7) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (lower(name) > 'albert') ORDER BY lower(name) asc, id asc LIMIT 1  (1.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- NextableTest::WithFieldParam: test_date_field_example_birthday --------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:47:38.886680"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:47:38.886680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:47:38.888296"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:47:38.888296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:47:38.889647"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:47:38.889647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1929-01-15' AND id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday > '1929-01-15') ORDER BY birthday asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1942-02-17' AND id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday > '1942-02-17') ORDER BY birthday asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1965-02-21' AND id < 1) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday < '1965-02-21') ORDER BY birthday desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1942-02-17' AND id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday < '1942-02-17') ORDER BY birthday desc, id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (birthday = '1929-01-15' AND id < 3) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday < '1929-01-15') ORDER BY birthday desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1965-02-21' AND id > 1) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday > '1965-02-21') ORDER BY birthday asc, id asc LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------- NextableTest::WithFieldParam: test_integer_field_example_total_friends ----------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:47:38.898294"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:47:38.898294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:47:38.899720"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:47:38.899720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:47:38.900964"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:47:38.900964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 6 AND id > 1) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends > 6) ORDER BY total_friends asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 7 AND id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends > 7) ORDER BY total_friends asc, id asc LIMIT 1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE (total_friends = 8 AND id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends < 8) ORDER BY total_friends desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 7 AND id < 3) ORDER BY id desc LIMIT 1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE (total_friends < 7) ORDER BY total_friends desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 6 AND id < 1) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends < 6) ORDER BY total_friends desc, id desc LIMIT 1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE (total_friends = 8 AND id > 2) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (total_friends > 8) ORDER BY total_friends asc, id asc LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ NextableTest::WithFieldParam: test_string_field_example_name ------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:47:38.909275"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:47:38.909275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:47:38.910960"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:47:38.910960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:47:38.912372"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:47:38.912372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'Huey Newton' AND id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'huey newton') ORDER BY lower(name) asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'Malcom Little' AND id > 1) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'malcom little') ORDER BY lower(name) asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'MLK Junior' AND id < 3) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'mlk junior') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'malcom little' AND id < 1) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'malcom little') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'huey newton' AND id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'huey newton') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'mlk junior' AND id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'mlk junior') ORDER BY lower(name) asc, id asc LIMIT 1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ---------------------------------------------------------------------- NextableTest::WithCycleTrue: test_cycle_by_date_field_example_birthday ----------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:52:09.472777"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:52:09.472777"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:52:09.477034"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:52:09.477034"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:52:09.479324"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:52:09.479324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1929-01-15' AND id < 3) ORDER BY id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (birthday < '1929-01-15') ORDER BY birthday desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(birthday) desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1965-02-21' AND id > 1) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday > '1965-02-21') ORDER BY birthday asc, id asc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY lower(birthday) asc LIMIT 1  (5.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------ NextableTest::WithCycleTrue: test_cycle_by_integer_field_example_total_friends ------------------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:52:09.491144"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:52:09.491144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:52:09.492771"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:52:09.492771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:52:09.494452"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:52:09.494452"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 6 AND id < 1) ORDER BY id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (total_friends < 6) ORDER BY total_friends desc, id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY lower(total_friends) desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 8 AND id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends > 8) ORDER BY total_friends asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(total_friends) asc LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- NextableTest::WithCycleTrue: test_cycle_by_string_field_example_name --------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:52:09.501107"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:52:09.501107"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:52:09.503084"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:52:09.503084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:52:09.504549"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:52:09.504549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'MLK Junior' AND id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'mlk junior') ORDER BY lower(name) asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(name) asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'Huey Newton' AND id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'huey newton') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY lower(name) desc LIMIT 1  (3.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------- NextableTest::WithCycleTrue: test_default_will_cycle_by_id ----------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:52:09.512441"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:52:09.512441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:52:09.514228"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:52:09.514228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:52:09.516528"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:52:09.516528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 1) ORDER BY id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY lower(id) desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 3) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY lower(id) asc LIMIT 1  (1.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- NextableTest::Defaults: test_first_user_previous_record_returns_nil -------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:52:09.523308"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:52:09.523308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:52:09.525142"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:52:09.525142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:52:09.526909"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:52:09.526909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 1) ORDER BY id desc LIMIT 1  (1.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- NextableTest::Defaults: test_last_user_next_record_returns_nil --------------------------------------------------------------  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:52:09.530760"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:52:09.530760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:52:09.532399"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:52:09.532399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:52:09.533791"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:52:09.533791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (id > 3) ORDER BY id asc LIMIT 1  (1.3ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- NextableTest::Defaults: test_next_record_fetches_user_with_ascending_id -----------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:52:09.537739"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:52:09.537739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:52:09.539434"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:52:09.539434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:52:09.540743"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:52:09.540743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (id > 1) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 2) ORDER BY id asc LIMIT 1  (4.6ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------- NextableTest::Defaults: test_previous_record_fetches_user_with_descending_id ----------------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:52:09.547908"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:52:09.547908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:52:09.549241"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:52:09.549241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:52:09.550767"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:52:09.550767"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 3) ORDER BY id desc LIMIT 1  (2.9ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- NextableTest::WithFieldParam: test_date_field_example_birthday --------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:52:09.557141"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:52:09.557141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:52:09.558745"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:52:09.558745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:52:09.559894"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:52:09.559894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1929-01-15' AND id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday > '1929-01-15') ORDER BY birthday asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1942-02-17' AND id > 2) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (birthday > '1942-02-17') ORDER BY birthday asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1965-02-21' AND id < 1) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday < '1965-02-21') ORDER BY birthday desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1942-02-17' AND id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday < '1942-02-17') ORDER BY birthday desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1929-01-15' AND id < 3) ORDER BY id desc LIMIT 1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE (birthday < '1929-01-15') ORDER BY birthday desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1965-02-21' AND id > 1) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday > '1965-02-21') ORDER BY birthday asc, id asc LIMIT 1  (1.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------- NextableTest::WithFieldParam: test_integer_field_example_total_friends ----------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:52:09.567910"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:52:09.567910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:52:09.569298"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:52:09.569298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:52:09.570746"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:52:09.570746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 6 AND id > 1) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends > 6) ORDER BY total_friends asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 7 AND id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends > 7) ORDER BY total_friends asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 8 AND id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends < 8) ORDER BY total_friends desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 7 AND id < 3) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends < 7) ORDER BY total_friends desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 6 AND id < 1) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends < 6) ORDER BY total_friends desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 8 AND id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends > 8) ORDER BY total_friends asc, id asc LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ NextableTest::WithFieldParam: test_string_field_example_name ------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:52:09.577862"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:52:09.577862"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:52:09.579256"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:52:09.579256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:52:09.580762"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:52:09.580762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'Huey Newton' AND id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'huey newton') ORDER BY lower(name) asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'Malcom Little' AND id > 1) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'malcom little') ORDER BY lower(name) asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'MLK Junior' AND id < 3) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'mlk junior') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'malcom little' AND id < 1) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'malcom little') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'huey newton' AND id < 2) ORDER BY id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'huey newton') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'mlk junior' AND id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'mlk junior') ORDER BY lower(name) asc, id asc LIMIT 1  (1.6ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------- NextableTest::WithFiltersParam: test_with_jun_2_1991_birthday -------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:52:09.589939"], ["name", "Gibbert"], ["total_friends", 1], ["updated_at", "2016-01-22 20:52:09.589939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:52:09.591082"], ["name", "Fubart"], ["total_friends", 1], ["updated_at", "2016-01-22 20:52:09.591082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:52:09.592442"], ["name", "Ebert"], ["total_friends", 1], ["updated_at", "2016-01-22 20:52:09.592442"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:52:09.593456"], ["name", "Dilbert"], ["total_friends", 2], ["updated_at", "2016-01-22 20:52:09.593456"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:52:09.594399"], ["name", "Cubert"], ["total_friends", 2], ["updated_at", "2016-01-22 20:52:09.594399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:52:09.595365"], ["name", "Bertal"], ["total_friends", 3], ["updated_at", "2016-01-22 20:52:09.595365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:52:09.596398"], ["name", "Albert"], ["total_friends", 3], ["updated_at", "2016-01-22 20:52:09.596398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1991-06-02' AND (id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1991-06-02' AND (id > 5) ORDER BY id asc LIMIT 1  (1.3ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- NextableTest::WithFiltersParam: test_with_oct_26_1990_birthday --------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:52:09.603658"], ["name", "Gibbert"], ["total_friends", 1], ["updated_at", "2016-01-22 20:52:09.603658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:52:09.604990"], ["name", "Fubart"], ["total_friends", 1], ["updated_at", "2016-01-22 20:52:09.604990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:52:09.606322"], ["name", "Ebert"], ["total_friends", 1], ["updated_at", "2016-01-22 20:52:09.606322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:52:09.607211"], ["name", "Dilbert"], ["total_friends", 2], ["updated_at", "2016-01-22 20:52:09.607211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:52:09.608146"], ["name", "Cubert"], ["total_friends", 2], ["updated_at", "2016-01-22 20:52:09.608146"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:52:09.609172"], ["name", "Bertal"], ["total_friends", 3], ["updated_at", "2016-01-22 20:52:09.609172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:52:09.610162"], ["name", "Albert"], ["total_friends", 3], ["updated_at", "2016-01-22 20:52:09.610162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id > 2) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id > 5) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id < 6) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id < 5) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id < 5) ORDER BY id desc LIMIT 1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' ORDER BY lower(id) desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id > 7) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' ORDER BY lower(id) asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (name = 'Cubert' AND id < 5) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (lower(name) < 'cubert') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (name = 'Albert' AND id > 7) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (lower(name) > 'albert') ORDER BY lower(name) asc, id asc LIMIT 1  (2.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------------------------- NextableTest::WithFiltersParam: test_with_jun_2_1991_birthday -------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (9.9ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:57:58.873244"], ["name", "Gibbert"], ["total_friends", 1], ["updated_at", "2016-01-22 20:57:58.873244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:57:58.887091"], ["name", "Fubart"], ["total_friends", 1], ["updated_at", "2016-01-22 20:57:58.887091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:57:58.888404"], ["name", "Ebert"], ["total_friends", 1], ["updated_at", "2016-01-22 20:57:58.888404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:57:58.889388"], ["name", "Dilbert"], ["total_friends", 2], ["updated_at", "2016-01-22 20:57:58.889388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:57:58.891106"], ["name", "Cubert"], ["total_friends", 2], ["updated_at", "2016-01-22 20:57:58.891106"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:57:58.893016"], ["name", "Bertal"], ["total_friends", 3], ["updated_at", "2016-01-22 20:57:58.893016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:57:58.894435"], ["name", "Albert"], ["total_friends", 3], ["updated_at", "2016-01-22 20:57:58.894435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1991-06-02' AND (id > 2) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1991-06-02' AND (id > 5) ORDER BY id asc LIMIT 1  (1.7ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- NextableTest::WithFiltersParam: test_with_oct_26_1990_birthday --------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:57:58.918044"], ["name", "Gibbert"], ["total_friends", 1], ["updated_at", "2016-01-22 20:57:58.918044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:57:58.919956"], ["name", "Fubart"], ["total_friends", 1], ["updated_at", "2016-01-22 20:57:58.919956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:57:58.921544"], ["name", "Ebert"], ["total_friends", 1], ["updated_at", "2016-01-22 20:57:58.921544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-22 20:57:58.923092"], ["name", "Dilbert"], ["total_friends", 2], ["updated_at", "2016-01-22 20:57:58.923092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:57:58.924445"], ["name", "Cubert"], ["total_friends", 2], ["updated_at", "2016-01-22 20:57:58.924445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:57:58.925687"], ["name", "Bertal"], ["total_friends", 3], ["updated_at", "2016-01-22 20:57:58.925687"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-22 20:57:58.927178"], ["name", "Albert"], ["total_friends", 3], ["updated_at", "2016-01-22 20:57:58.927178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id > 5) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id < 6) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id < 5) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id < 5) ORDER BY id desc LIMIT 1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' ORDER BY lower(id) desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id > 7) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' ORDER BY lower(id) asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (name = 'Cubert' AND id < 5) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (lower(name) < 'cubert') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (name = 'Albert' AND id > 7) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (lower(name) > 'albert') ORDER BY lower(name) asc, id asc LIMIT 1  (2.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- NextableTest::WithFieldParam: test_date_field_example_birthday --------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:57:58.939378"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:57:58.939378"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:57:58.940697"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:57:58.940697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:57:58.941978"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:57:58.941978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1929-01-15' AND id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday > '1929-01-15') ORDER BY birthday asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1942-02-17' AND id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday > '1942-02-17') ORDER BY birthday asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1965-02-21' AND id < 1) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday < '1965-02-21') ORDER BY birthday desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1942-02-17' AND id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday < '1942-02-17') ORDER BY birthday desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1929-01-15' AND id < 3) ORDER BY id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (birthday < '1929-01-15') ORDER BY birthday desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1965-02-21' AND id > 1) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (birthday > '1965-02-21') ORDER BY birthday asc, id asc LIMIT 1  (1.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------- NextableTest::WithFieldParam: test_integer_field_example_total_friends ----------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:57:58.951444"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:57:58.951444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:57:58.953582"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:57:58.953582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:57:58.955461"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:57:58.955461"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 6 AND id > 1) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (total_friends > 6) ORDER BY total_friends asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 7 AND id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends > 7) ORDER BY total_friends asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 8 AND id < 2) ORDER BY id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (total_friends < 8) ORDER BY total_friends desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 7 AND id < 3) ORDER BY id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (total_friends < 7) ORDER BY total_friends desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 6 AND id < 1) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends < 6) ORDER BY total_friends desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 8 AND id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends > 8) ORDER BY total_friends asc, id asc LIMIT 1  (1.8ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ NextableTest::WithFieldParam: test_string_field_example_name ------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:57:58.965681"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:57:58.965681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:57:58.967307"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:57:58.967307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:57:58.968409"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:57:58.968409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'Huey Newton' AND id > 2) ORDER BY id asc LIMIT 1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'huey newton') ORDER BY lower(name) asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'Malcom Little' AND id > 1) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'malcom little') ORDER BY lower(name) asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'MLK Junior' AND id < 3) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'mlk junior') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'malcom little' AND id < 1) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'malcom little') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'huey newton' AND id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'huey newton') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'mlk junior' AND id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'mlk junior') ORDER BY lower(name) asc, id asc LIMIT 1  (1.6ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------- NextableTest::WithCycleTrue: test_cycle_by_date_field_example_birthday ----------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:57:58.978392"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:57:58.978392"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:57:58.980025"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:57:58.980025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:57:58.981496"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:57:58.981496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1929-01-15' AND id < 3) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday < '1929-01-15') ORDER BY birthday desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(birthday) desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1965-02-21' AND id > 1) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (birthday > '1965-02-21') ORDER BY birthday asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(birthday) asc LIMIT 1  (4.6ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------ NextableTest::WithCycleTrue: test_cycle_by_integer_field_example_total_friends ------------------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:57:58.990617"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:57:58.990617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:57:58.992104"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:57:58.992104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:57:58.993525"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:57:58.993525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 6 AND id < 1) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends < 6) ORDER BY total_friends desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(total_friends) desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 8 AND id > 2) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends > 8) ORDER BY total_friends asc, id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(total_friends) asc LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- NextableTest::WithCycleTrue: test_cycle_by_string_field_example_name --------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:57:58.998842"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:57:58.998842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:57:59.000740"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:57:59.000740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:57:59.002607"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:57:59.002607"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'MLK Junior' AND id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'mlk junior') ORDER BY lower(name) asc, id asc LIMIT 1 User Load (0.4ms) SELECT "users".* FROM "users" ORDER BY lower(name) asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name = 'Huey Newton' AND id < 2) ORDER BY id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'huey newton') ORDER BY lower(name) desc, id desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(name) desc LIMIT 1  (1.5ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------- NextableTest::WithCycleTrue: test_default_will_cycle_by_id ----------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:57:59.008439"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:57:59.008439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:57:59.010769"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:57:59.010769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:57:59.012160"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:57:59.012160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 1) ORDER BY id desc LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY lower(id) desc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 3) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(id) asc LIMIT 1  (2.9ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- NextableTest::Defaults: test_first_user_previous_record_returns_nil -------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:57:59.019464"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:57:59.019464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:57:59.020925"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:57:59.020925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:57:59.022137"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:57:59.022137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 1) ORDER BY id desc LIMIT 1  (3.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- NextableTest::Defaults: test_last_user_next_record_returns_nil --------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:57:59.028079"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:57:59.028079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:57:59.029615"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:57:59.029615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:57:59.031055"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:57:59.031055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 3) ORDER BY id asc LIMIT 1  (3.3ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- NextableTest::Defaults: test_next_record_fetches_user_with_ascending_id -----------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:57:59.037121"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:57:59.037121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:57:59.038364"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:57:59.038364"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:57:59.039771"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:57:59.039771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 1) ORDER BY id asc LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 2) ORDER BY id asc LIMIT 1  (1.6ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------- NextableTest::Defaults: test_previous_record_fetches_user_with_descending_id ----------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-22 20:57:59.044616"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-22 20:57:59.044616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-22 20:57:59.046212"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-22 20:57:59.046212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-22 20:57:59.047421"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-22 20:57:59.047421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (id < 2) ORDER BY id desc LIMIT 1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE (id < 3) ORDER BY id desc LIMIT 1  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (8.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction -------------------------------------------------------------- NextableTest::WithFieldParam: test_date_field_example_birthday --------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (9.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-23 00:55:53.622850"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-23 00:55:53.622850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-23 00:55:53.641687"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-23 00:55:53.641687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-23 00:55:53.643198"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-23 00:55:53.643198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1929-01-15' AND id > 3) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (birthday > '1929-01-15') ORDER BY birthday asc, "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1942-02-17' AND id > 2) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday > '1942-02-17') ORDER BY birthday asc, "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1965-02-21' AND id < 1) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday < '1965-02-21') ORDER BY birthday desc, "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1942-02-17' AND id < 2) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (birthday < '1942-02-17') ORDER BY birthday desc, "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1929-01-15' AND id < 3) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday < '1929-01-15') ORDER BY birthday desc, "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday IS NULL) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1965-02-21' AND id > 1) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday > '1965-02-21') ORDER BY birthday asc, "users"."id" ASC LIMIT 1  (39.6ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------- NextableTest::WithFieldParam: test_integer_field_example_total_friends ----------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-23 00:55:53.694240"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-23 00:55:53.694240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-23 00:55:53.696078"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-23 00:55:53.696078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-23 00:55:53.697619"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-23 00:55:53.697619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 6 AND id > 1) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends > 6) ORDER BY total_friends asc, "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 7 AND id > 3) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE (total_friends > 7) ORDER BY total_friends asc, "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 8 AND id < 2) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends < 8) ORDER BY total_friends desc, "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 7 AND id < 3) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (total_friends < 7) ORDER BY total_friends desc, "users"."id" DESC LIMIT 1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE (total_friends = 6 AND id < 1) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends < 6) ORDER BY total_friends desc, "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends IS NULL) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 8 AND id > 2) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends > 8) ORDER BY total_friends asc, "users"."id" ASC LIMIT 1  (1.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ NextableTest::WithFieldParam: test_string_field_example_name ------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-23 00:55:53.707750"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-23 00:55:53.707750"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-23 00:55:53.709298"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-23 00:55:53.709298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-23 00:55:53.710815"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-23 00:55:53.710815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) = 'huey newton' AND id > 2) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'huey newton') ORDER BY lower(name) asc, "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) = 'malcom little' AND id > 1) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'malcom little') ORDER BY lower(name) asc, "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) = 'mlk junior' AND id < 3) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'mlk junior') ORDER BY lower(name) desc, "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) = 'malcom little' AND id < 1) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'malcom little') ORDER BY lower(name) desc, "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) = 'huey newton' AND id < 2) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'huey newton') ORDER BY lower(name) desc, "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name IS NULL) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) = 'mlk junior' AND id > 3) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'mlk junior') ORDER BY lower(name) asc, "users"."id" ASC LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- NextableTest::Defaults: test_first_user_previous_record_returns_nil -------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-23 00:55:53.721751"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-23 00:55:53.721751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-23 00:55:53.723288"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-23 00:55:53.723288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-23 00:55:53.725149"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-23 00:55:53.725149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 1) ORDER BY "users"."id" DESC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- NextableTest::Defaults: test_last_user_next_record_returns_nil --------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-23 00:55:53.728502"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-23 00:55:53.728502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-23 00:55:53.730136"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-23 00:55:53.730136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-23 00:55:53.731291"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-23 00:55:53.731291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 3) ORDER BY "users"."id" ASC LIMIT 1  (1.2ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------- NextableTest::Defaults: test_next_record_fetches_user_with_ascending_id -----------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-23 00:55:53.734343"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-23 00:55:53.734343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-23 00:55:53.735641"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-23 00:55:53.735641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-23 00:55:53.736849"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-23 00:55:53.736849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 1) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 2) ORDER BY "users"."id" ASC LIMIT 1  (3.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------- NextableTest::Defaults: test_previous_record_fetches_user_with_descending_id ----------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-23 00:55:53.742712"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-23 00:55:53.742712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-23 00:55:53.744284"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-23 00:55:53.744284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-23 00:55:53.745413"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-23 00:55:53.745413"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 2) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 3) ORDER BY "users"."id" DESC LIMIT 1  (3.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------- NextableTest::WithFiltersParam: test_with_jun_2_1991_birthday -------------------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-23 00:55:53.752364"], ["name", "Gibbert"], ["total_friends", 1], ["updated_at", "2016-01-23 00:55:53.752364"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-23 00:55:53.753662"], ["name", "Fubart"], ["total_friends", 1], ["updated_at", "2016-01-23 00:55:53.753662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-23 00:55:53.754905"], ["name", "Ebert"], ["total_friends", 1], ["updated_at", "2016-01-23 00:55:53.754905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-23 00:55:53.755836"], ["name", "Dilbert"], ["total_friends", 2], ["updated_at", "2016-01-23 00:55:53.755836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-23 00:55:53.756651"], ["name", "Cubert"], ["total_friends", 2], ["updated_at", "2016-01-23 00:55:53.756651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-23 00:55:53.757643"], ["name", "Bertal"], ["total_friends", 3], ["updated_at", "2016-01-23 00:55:53.757643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-23 00:55:53.758602"], ["name", "Albert"], ["total_friends", 3], ["updated_at", "2016-01-23 00:55:53.758602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1991-06-02' AND (id > 2) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1991-06-02' AND (id > 5) ORDER BY "users"."id" ASC LIMIT 1  (3.3ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- NextableTest::WithFiltersParam: test_with_oct_26_1990_birthday --------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-23 00:55:53.835609"], ["name", "Gibbert"], ["total_friends", 1], ["updated_at", "2016-01-23 00:55:53.835609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-23 00:55:53.837009"], ["name", "Fubart"], ["total_friends", 1], ["updated_at", "2016-01-23 00:55:53.837009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-23 00:55:53.840010"], ["name", "Ebert"], ["total_friends", 1], ["updated_at", "2016-01-23 00:55:53.840010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1991-06-02"], ["created_at", "2016-01-23 00:55:53.844576"], ["name", "Dilbert"], ["total_friends", 2], ["updated_at", "2016-01-23 00:55:53.844576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-23 00:55:53.846953"], ["name", "Cubert"], ["total_friends", 2], ["updated_at", "2016-01-23 00:55:53.846953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-23 00:55:53.848803"], ["name", "Bertal"], ["total_friends", 3], ["updated_at", "2016-01-23 00:55:53.848803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1990-10-26"], ["created_at", "2016-01-23 00:55:53.849818"], ["name", "Albert"], ["total_friends", 3], ["updated_at", "2016-01-23 00:55:53.849818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id > 2) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id > 5) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id < 6) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id < 5) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id < 5) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (id > 7) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' ORDER BY "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (lower(name) = 'cubert' AND id < 5) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (lower(name) < 'cubert') ORDER BY lower(name) desc, "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (lower(name) = 'albert' AND id > 7) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."birthday" = '1990-10-26' AND (lower(name) > 'albert') ORDER BY lower(name) asc, "users"."id" ASC LIMIT 1  (23.6ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------- NextableTest::WithCycleTrue: test_cycle_by_date_field_example_birthday ----------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-23 00:55:53.881276"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-23 00:55:53.881276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-23 00:55:53.882943"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-23 00:55:53.882943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-23 00:55:53.884331"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-23 00:55:53.884331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1929-01-15' AND id < 3) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday < '1929-01-15') ORDER BY birthday desc, "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday IS NULL) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY birthday desc, "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday = '1965-02-21' AND id > 1) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (birthday > '1965-02-21') ORDER BY birthday asc, "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY birthday asc, "users"."id" ASC LIMIT 1  (3.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------ NextableTest::WithCycleTrue: test_cycle_by_integer_field_example_total_friends ------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-23 00:55:53.892115"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-23 00:55:53.892115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-23 00:55:53.893923"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-23 00:55:53.893923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-23 00:55:53.895302"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-23 00:55:53.895302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 6 AND id < 1) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (total_friends < 6) ORDER BY total_friends desc, "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends IS NULL) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY total_friends desc, "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (total_friends = 8 AND id > 2) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (total_friends > 8) ORDER BY total_friends asc, "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY total_friends asc, "users"."id" ASC LIMIT 1  (3.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- NextableTest::WithCycleTrue: test_cycle_by_string_field_example_name --------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-23 00:55:53.902919"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-23 00:55:53.902919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-23 00:55:53.904347"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-23 00:55:53.904347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-23 00:55:53.905895"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-23 00:55:53.905895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) = 'mlk junior' AND id > 3) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) > 'mlk junior') ORDER BY lower(name) asc, "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(name) asc, "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) = 'huey newton' AND id < 2) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (lower(name) < 'huey newton') ORDER BY lower(name) desc, "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name IS NULL) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY lower(name) desc, "users"."id" DESC LIMIT 1  (3.3ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------- NextableTest::WithCycleTrue: test_default_will_cycle_by_id ----------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1965-02-21"], ["created_at", "2016-01-23 00:55:53.913380"], ["name", "Malcom Little"], ["total_friends", 6], ["updated_at", "2016-01-23 00:55:53.913380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1942-02-17"], ["created_at", "2016-01-23 00:55:53.914878"], ["name", "Huey Newton"], ["total_friends", 8], ["updated_at", "2016-01-23 00:55:53.914878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("birthday", "created_at", "name", "total_friends", "updated_at") VALUES (?, ?, ?, ?, ?) [["birthday", "1929-01-15"], ["created_at", "2016-01-23 00:55:53.916024"], ["name", "MLK Junior"], ["total_friends", 7], ["updated_at", "2016-01-23 00:55:53.916024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id < 1) ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id > 3) ORDER BY "users"."id" ASC LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1  (1.6ms) rollback transaction