paginative 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31123bbad2fc7a23782146537c937e1b2e13522a
4
- data.tar.gz: 95635b8a54bf23ca9b0f745edcc1598801c04703
3
+ metadata.gz: ecb0b9ca46a563684056bf3e4894de5c00fbba05
4
+ data.tar.gz: d6a56e3343fdf5b05e3b5c3e7232fc01d9799f83
5
5
  SHA512:
6
- metadata.gz: 751f92b171ea5dc71760c5b6c6831cdbdbbdb42b54306d4b33ebf1ddd22d8aad630df243ade82473a1999f1ef7cff259c1f091d07d806be952188fb1e9a6d409
7
- data.tar.gz: d08a48101052010963fb753aff7108c6686a44163e8a52c094205b1956279e658f362343221c2f1ee45936b4cf38608a7ac07369495b1dae8f54202260425ee0
6
+ metadata.gz: 8ee45c920638be8fe427c620f30037668ffe9631b211c49c646e51e523b366380af52e5edcf653d4dedea280b9c96514bb3508175c49beed31632244a497041f
7
+ data.tar.gz: b89b42ae8179d1de50a4d91ec6fbaa21c175182d837c4fdaf46dcb8d0f431774df2c44d5f5f669374d0d2a2eedba23d2b33c96370f9f5e5020b842b64ca84e51
@@ -11,7 +11,15 @@ module Paginative
11
11
  end
12
12
 
13
13
  def self.with_name_from(name="", limit=25)
14
- self.where("lower(name) > ?", name.downcase).offset(0).limit(limit)
14
+ self.order(name: :asc).where("lower(name) > ?", name.downcase).offset(0).limit(limit)
15
+ end
16
+
17
+ def self.with_id_from(id=0, limit=25)
18
+ self.where("id > ?", id).limit(limit)
19
+ end
20
+
21
+ def self.with_field_from(field="", value="", limit=25)
22
+ self.order("#{field} ASC").where("#{field} > '#{value}'").limit(limit)
15
23
  end
16
24
  # RUBY
17
25
  end
@@ -1,3 +1,3 @@
1
1
  module Paginative
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
Binary file
@@ -31320,3 +31320,301 @@ SQLite3::SQLException: no such column: testmodel: SELECT "test_models".* FROM "
31320
31320
  TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE ((111.19492664455873 * ABS(test_models.latitude - -37.0) * 0.7071067811865475) + (96.29763124613503 * ABS(test_models.longitude - 144.0) * 0.7071067811865475) > 100) ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 0
31321
31321
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31322
31322
   (0.3ms) rollback transaction
31323
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
31324
+  (2.0ms) DELETE FROM "paginative_test_models";
31325
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
31326
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'paginative_test_models';
31327
+  (0.7ms) DELETE FROM "test_models";
31328
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
31329
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'test_models';
31330
+  (0.1ms) begin transaction
31331
+  (0.0ms) SAVEPOINT active_record_1
31332
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31333
+  (0.0ms) SAVEPOINT active_record_1
31334
+ SQL (0.3ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.562164"], ["latitude", -37.0], ["longitude", 144.0], ["name", "b"], ["updated_at", "2014-04-23 04:18:56.562164"]]
31335
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.584671"], ["latitude", 0.0], ["longitude", 0.0], ["name", "c"], ["updated_at", "2014-04-23 04:18:56.584671"]]
31336
+ TestModel Load (0.6ms) SELECT "test_models".* FROM "test_models" WHERE ((111.19492664455873 * ABS(test_models.latitude - -37.0) * 0.7071067811865475) + (96.29763124613503 * ABS(test_models.longitude - 144.0) * 0.7071067811865475) > 100) LIMIT 25 OFFSET 0
31337
+ TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE ((111.19492664455873 * ABS(test_models.latitude - -37.0) * 0.7071067811865475) + (96.29763124613503 * ABS(test_models.longitude - 144.0) * 0.7071067811865475) > 100) ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 0
31338
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31339
+  (0.5ms) rollback transaction
31340
+  (0.1ms) begin transaction
31341
+  (0.1ms) SAVEPOINT active_record_1
31342
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31343
+  (0.0ms) SAVEPOINT active_record_1
31344
+ SQL (1.0ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.615476"], ["latitude", -37.01], ["longitude", 144.0], ["name", "d"], ["updated_at", "2014-04-23 04:18:56.615476"]]
31345
+ TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE ((111.19492664455873 * ABS(test_models.latitude - -37.0) * 0.7071067811865475) + (96.29763124613503 * ABS(test_models.longitude - 144.0) * 0.7071067811865475) > 0) ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 0
31346
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31347
+  (3.0ms) rollback transaction
31348
+  (0.1ms) begin transaction
31349
+  (0.2ms) SAVEPOINT active_record_1
31350
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31351
+  (0.1ms) SAVEPOINT active_record_1
31352
+ SQL (0.4ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.637297"], ["latitude", -37.01], ["longitude", 144.0], ["name", "e"], ["updated_at", "2014-04-23 04:18:56.637297"]]
31353
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.658097"], ["latitude", -37.01], ["longitude", 144.0], ["name", "f"], ["updated_at", "2014-04-23 04:18:56.658097"]]
31354
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.670240"], ["latitude", -37.01], ["longitude", 144.0], ["name", "g"], ["updated_at", "2014-04-23 04:18:56.670240"]]
31355
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.679376"], ["latitude", -37.01], ["longitude", 144.0], ["name", "h"], ["updated_at", "2014-04-23 04:18:56.679376"]]
31356
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.688479"], ["latitude", -37.01], ["longitude", 144.0], ["name", "i"], ["updated_at", "2014-04-23 04:18:56.688479"]]
31357
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.696918"], ["latitude", -37.01], ["longitude", 144.0], ["name", "j"], ["updated_at", "2014-04-23 04:18:56.696918"]]
31358
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.716599"], ["latitude", -37.01], ["longitude", 144.0], ["name", "k"], ["updated_at", "2014-04-23 04:18:56.716599"]]
31359
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.725109"], ["latitude", -37.01], ["longitude", 144.0], ["name", "l"], ["updated_at", "2014-04-23 04:18:56.725109"]]
31360
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.738226"], ["latitude", -37.01], ["longitude", 144.0], ["name", "m"], ["updated_at", "2014-04-23 04:18:56.738226"]]
31361
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.750071"], ["latitude", -37.01], ["longitude", 144.0], ["name", "n"], ["updated_at", "2014-04-23 04:18:56.750071"]]
31362
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.758625"], ["latitude", -37.01], ["longitude", 144.0], ["name", "o"], ["updated_at", "2014-04-23 04:18:56.758625"]]
31363
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.766213"], ["latitude", -37.01], ["longitude", 144.0], ["name", "p"], ["updated_at", "2014-04-23 04:18:56.766213"]]
31364
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.783293"], ["latitude", -37.01], ["longitude", 144.0], ["name", "q"], ["updated_at", "2014-04-23 04:18:56.783293"]]
31365
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.798660"], ["latitude", -37.01], ["longitude", 144.0], ["name", "r"], ["updated_at", "2014-04-23 04:18:56.798660"]]
31366
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.811350"], ["latitude", -37.01], ["longitude", 144.0], ["name", "s"], ["updated_at", "2014-04-23 04:18:56.811350"]]
31367
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.820266"], ["latitude", -37.01], ["longitude", 144.0], ["name", "t"], ["updated_at", "2014-04-23 04:18:56.820266"]]
31368
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.838424"], ["latitude", -37.01], ["longitude", 144.0], ["name", "u"], ["updated_at", "2014-04-23 04:18:56.838424"]]
31369
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.846276"], ["latitude", -37.01], ["longitude", 144.0], ["name", "v"], ["updated_at", "2014-04-23 04:18:56.846276"]]
31370
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.854084"], ["latitude", -37.01], ["longitude", 144.0], ["name", "w"], ["updated_at", "2014-04-23 04:18:56.854084"]]
31371
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.865675"], ["latitude", -37.01], ["longitude", 144.0], ["name", "x"], ["updated_at", "2014-04-23 04:18:56.865675"]]
31372
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.877818"], ["latitude", -37.01], ["longitude", 144.0], ["name", "y"], ["updated_at", "2014-04-23 04:18:56.877818"]]
31373
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.886240"], ["latitude", -37.01], ["longitude", 144.0], ["name", "z"], ["updated_at", "2014-04-23 04:18:56.886240"]]
31374
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.894461"], ["latitude", -37.01], ["longitude", 144.0], ["name", "aa"], ["updated_at", "2014-04-23 04:18:56.894461"]]
31375
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.903281"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ab"], ["updated_at", "2014-04-23 04:18:56.903281"]]
31376
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.922106"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ac"], ["updated_at", "2014-04-23 04:18:56.922106"]]
31377
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.930774"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ad"], ["updated_at", "2014-04-23 04:18:56.930774"]]
31378
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.942943"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ae"], ["updated_at", "2014-04-23 04:18:56.942943"]]
31379
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.981226"], ["latitude", -37.01], ["longitude", 144.0], ["name", "af"], ["updated_at", "2014-04-23 04:18:56.981226"]]
31380
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:56.997374"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ag"], ["updated_at", "2014-04-23 04:18:56.997374"]]
31381
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.014401"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ah"], ["updated_at", "2014-04-23 04:18:57.014401"]]
31382
+ TestModel Load (0.4ms) SELECT "test_models".* FROM "test_models" WHERE ((111.19492664455873 * ABS(test_models.latitude - -37.0) * 0.7071067811865475) + (96.29763124613503 * ABS(test_models.longitude - 144.0) * 0.7071067811865475) > 0) LIMIT 25 OFFSET 0
31383
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31384
+  (2.0ms) rollback transaction
31385
+  (0.1ms) begin transaction
31386
+  (0.1ms) SAVEPOINT active_record_1
31387
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31388
+  (0.1ms) SAVEPOINT active_record_1
31389
+ SQL (0.5ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.030675"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ai"], ["updated_at", "2014-04-23 04:18:57.030675"]]
31390
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.062101"], ["latitude", -37.01], ["longitude", 144.0], ["name", "aj"], ["updated_at", "2014-04-23 04:18:57.062101"]]
31391
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.080171"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ak"], ["updated_at", "2014-04-23 04:18:57.080171"]]
31392
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.095993"], ["latitude", -37.01], ["longitude", 144.0], ["name", "al"], ["updated_at", "2014-04-23 04:18:57.095993"]]
31393
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.146111"], ["latitude", -37.01], ["longitude", 144.0], ["name", "am"], ["updated_at", "2014-04-23 04:18:57.146111"]]
31394
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.170435"], ["latitude", -37.01], ["longitude", 144.0], ["name", "an"], ["updated_at", "2014-04-23 04:18:57.170435"]]
31395
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.182357"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ao"], ["updated_at", "2014-04-23 04:18:57.182357"]]
31396
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.193393"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ap"], ["updated_at", "2014-04-23 04:18:57.193393"]]
31397
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.204244"], ["latitude", -37.01], ["longitude", 144.0], ["name", "aq"], ["updated_at", "2014-04-23 04:18:57.204244"]]
31398
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.221512"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ar"], ["updated_at", "2014-04-23 04:18:57.221512"]]
31399
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.230379"], ["latitude", -37.01], ["longitude", 144.0], ["name", "as"], ["updated_at", "2014-04-23 04:18:57.230379"]]
31400
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.240109"], ["latitude", -37.01], ["longitude", 144.0], ["name", "at"], ["updated_at", "2014-04-23 04:18:57.240109"]]
31401
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.250901"], ["latitude", -37.01], ["longitude", 144.0], ["name", "au"], ["updated_at", "2014-04-23 04:18:57.250901"]]
31402
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.259092"], ["latitude", -37.01], ["longitude", 144.0], ["name", "av"], ["updated_at", "2014-04-23 04:18:57.259092"]]
31403
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.267186"], ["latitude", -37.01], ["longitude", 144.0], ["name", "aw"], ["updated_at", "2014-04-23 04:18:57.267186"]]
31404
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.274679"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ax"], ["updated_at", "2014-04-23 04:18:57.274679"]]
31405
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.299471"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ay"], ["updated_at", "2014-04-23 04:18:57.299471"]]
31406
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.313427"], ["latitude", -37.01], ["longitude", 144.0], ["name", "az"], ["updated_at", "2014-04-23 04:18:57.313427"]]
31407
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.330489"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ba"], ["updated_at", "2014-04-23 04:18:57.330489"]]
31408
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.342521"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bb"], ["updated_at", "2014-04-23 04:18:57.342521"]]
31409
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.354965"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bc"], ["updated_at", "2014-04-23 04:18:57.354965"]]
31410
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.364685"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bd"], ["updated_at", "2014-04-23 04:18:57.364685"]]
31411
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.376687"], ["latitude", -37.01], ["longitude", 144.0], ["name", "be"], ["updated_at", "2014-04-23 04:18:57.376687"]]
31412
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.386896"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bf"], ["updated_at", "2014-04-23 04:18:57.386896"]]
31413
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.394706"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bg"], ["updated_at", "2014-04-23 04:18:57.394706"]]
31414
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.412645"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bh"], ["updated_at", "2014-04-23 04:18:57.412645"]]
31415
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.430703"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bi"], ["updated_at", "2014-04-23 04:18:57.430703"]]
31416
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.440778"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bj"], ["updated_at", "2014-04-23 04:18:57.440778"]]
31417
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.447975"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bk"], ["updated_at", "2014-04-23 04:18:57.447975"]]
31418
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.459615"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bl"], ["updated_at", "2014-04-23 04:18:57.459615"]]
31419
+ TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE ((111.19492664455873 * ABS(test_models.latitude - -38.0) * 0.7071067811865475) + (96.29763124613503 * ABS(test_models.longitude - 144.0) * 0.7071067811865475) > 0) LIMIT 10 OFFSET 0
31420
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31421
+  (1.4ms) rollback transaction
31422
+  (0.1ms) begin transaction
31423
+  (0.1ms) SAVEPOINT active_record_1
31424
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31425
+  (0.0ms) SAVEPOINT active_record_1
31426
+ SQL (0.4ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.491137"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bm"], ["updated_at", "2014-04-23 04:18:57.491137"]]
31427
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.505673"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bn"], ["updated_at", "2014-04-23 04:18:57.505673"]]
31428
+ TestModel Load (0.3ms) SELECT "test_models".* FROM "test_models" WHERE (lower(name) > 'bm') ORDER BY "test_models"."name" ASC LIMIT 1 OFFSET 0
31429
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31430
+  (0.4ms) rollback transaction
31431
+  (0.1ms) begin transaction
31432
+  (0.0ms) SAVEPOINT active_record_1
31433
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31434
+  (0.0ms) SAVEPOINT active_record_1
31435
+ SQL (0.3ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.516193"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bo"], ["updated_at", "2014-04-23 04:18:57.516193"]]
31436
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.524168"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bp"], ["updated_at", "2014-04-23 04:18:57.524168"]]
31437
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.541755"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bq"], ["updated_at", "2014-04-23 04:18:57.541755"]]
31438
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.553141"], ["latitude", -37.01], ["longitude", 144.0], ["name", "br"], ["updated_at", "2014-04-23 04:18:57.553141"]]
31439
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.561679"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bs"], ["updated_at", "2014-04-23 04:18:57.561679"]]
31440
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.575313"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bt"], ["updated_at", "2014-04-23 04:18:57.575313"]]
31441
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.590373"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bu"], ["updated_at", "2014-04-23 04:18:57.590373"]]
31442
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.598515"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bv"], ["updated_at", "2014-04-23 04:18:57.598515"]]
31443
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.606673"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bw"], ["updated_at", "2014-04-23 04:18:57.606673"]]
31444
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.620371"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bx"], ["updated_at", "2014-04-23 04:18:57.620371"]]
31445
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.636633"], ["latitude", -37.01], ["longitude", 144.0], ["name", "by"], ["updated_at", "2014-04-23 04:18:57.636633"]]
31446
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.644954"], ["latitude", -37.01], ["longitude", 144.0], ["name", "bz"], ["updated_at", "2014-04-23 04:18:57.644954"]]
31447
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.654207"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ca"], ["updated_at", "2014-04-23 04:18:57.654207"]]
31448
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.665637"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cb"], ["updated_at", "2014-04-23 04:18:57.665637"]]
31449
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.674173"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cc"], ["updated_at", "2014-04-23 04:18:57.674173"]]
31450
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.686666"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cd"], ["updated_at", "2014-04-23 04:18:57.686666"]]
31451
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.698488"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ce"], ["updated_at", "2014-04-23 04:18:57.698488"]]
31452
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.724467"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cf"], ["updated_at", "2014-04-23 04:18:57.724467"]]
31453
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.734009"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cg"], ["updated_at", "2014-04-23 04:18:57.734009"]]
31454
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.751553"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ch"], ["updated_at", "2014-04-23 04:18:57.751553"]]
31455
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.761984"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ci"], ["updated_at", "2014-04-23 04:18:57.761984"]]
31456
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.769529"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cj"], ["updated_at", "2014-04-23 04:18:57.769529"]]
31457
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.793784"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ck"], ["updated_at", "2014-04-23 04:18:57.793784"]]
31458
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.808636"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cl"], ["updated_at", "2014-04-23 04:18:57.808636"]]
31459
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.818448"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cm"], ["updated_at", "2014-04-23 04:18:57.818448"]]
31460
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.841589"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cn"], ["updated_at", "2014-04-23 04:18:57.841589"]]
31461
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.851387"], ["latitude", -37.01], ["longitude", 144.0], ["name", "co"], ["updated_at", "2014-04-23 04:18:57.851387"]]
31462
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.865625"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cp"], ["updated_at", "2014-04-23 04:18:57.865625"]]
31463
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.881666"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cq"], ["updated_at", "2014-04-23 04:18:57.881666"]]
31464
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.891774"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cr"], ["updated_at", "2014-04-23 04:18:57.891774"]]
31465
+ TestModel Load (0.4ms) SELECT "test_models".* FROM "test_models" WHERE (lower(name) > '') ORDER BY "test_models"."name" ASC LIMIT 25 OFFSET 0
31466
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31467
+  (1.8ms) rollback transaction
31468
+  (0.1ms) begin transaction
31469
+  (0.0ms) SAVEPOINT active_record_1
31470
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31471
+  (0.0ms) SAVEPOINT active_record_1
31472
+ SQL (0.3ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.921601"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cs"], ["updated_at", "2014-04-23 04:18:57.921601"]]
31473
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.930878"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ct"], ["updated_at", "2014-04-23 04:18:57.930878"]]
31474
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.939717"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cu"], ["updated_at", "2014-04-23 04:18:57.939717"]]
31475
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.969890"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cv"], ["updated_at", "2014-04-23 04:18:57.969890"]]
31476
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.982134"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cw"], ["updated_at", "2014-04-23 04:18:57.982134"]]
31477
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:57.996559"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cx"], ["updated_at", "2014-04-23 04:18:57.996559"]]
31478
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.006365"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cy"], ["updated_at", "2014-04-23 04:18:58.006365"]]
31479
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.014912"], ["latitude", -37.01], ["longitude", 144.0], ["name", "cz"], ["updated_at", "2014-04-23 04:18:58.014912"]]
31480
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.069025"], ["latitude", -37.01], ["longitude", 144.0], ["name", "da"], ["updated_at", "2014-04-23 04:18:58.069025"]]
31481
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.085041"], ["latitude", -37.01], ["longitude", 144.0], ["name", "db"], ["updated_at", "2014-04-23 04:18:58.085041"]]
31482
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.098333"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dc"], ["updated_at", "2014-04-23 04:18:58.098333"]]
31483
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.107399"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dd"], ["updated_at", "2014-04-23 04:18:58.107399"]]
31484
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.136406"], ["latitude", -37.01], ["longitude", 144.0], ["name", "de"], ["updated_at", "2014-04-23 04:18:58.136406"]]
31485
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.146649"], ["latitude", -37.01], ["longitude", 144.0], ["name", "df"], ["updated_at", "2014-04-23 04:18:58.146649"]]
31486
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.172157"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dg"], ["updated_at", "2014-04-23 04:18:58.172157"]]
31487
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.182637"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dh"], ["updated_at", "2014-04-23 04:18:58.182637"]]
31488
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.191631"], ["latitude", -37.01], ["longitude", 144.0], ["name", "di"], ["updated_at", "2014-04-23 04:18:58.191631"]]
31489
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.201496"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dj"], ["updated_at", "2014-04-23 04:18:58.201496"]]
31490
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.215078"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dk"], ["updated_at", "2014-04-23 04:18:58.215078"]]
31491
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.225461"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dl"], ["updated_at", "2014-04-23 04:18:58.225461"]]
31492
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.234066"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dm"], ["updated_at", "2014-04-23 04:18:58.234066"]]
31493
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.257447"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dn"], ["updated_at", "2014-04-23 04:18:58.257447"]]
31494
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.265610"], ["latitude", -37.01], ["longitude", 144.0], ["name", "do"], ["updated_at", "2014-04-23 04:18:58.265610"]]
31495
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.274539"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dp"], ["updated_at", "2014-04-23 04:18:58.274539"]]
31496
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.298104"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dq"], ["updated_at", "2014-04-23 04:18:58.298104"]]
31497
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.315532"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dr"], ["updated_at", "2014-04-23 04:18:58.315532"]]
31498
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.326880"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ds"], ["updated_at", "2014-04-23 04:18:58.326880"]]
31499
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.342464"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dt"], ["updated_at", "2014-04-23 04:18:58.342464"]]
31500
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.351635"], ["latitude", -37.01], ["longitude", 144.0], ["name", "du"], ["updated_at", "2014-04-23 04:18:58.351635"]]
31501
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.359154"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dv"], ["updated_at", "2014-04-23 04:18:58.359154"]]
31502
+ TestModel Load (0.3ms) SELECT "test_models".* FROM "test_models" WHERE (lower(name) > '') ORDER BY "test_models"."name" ASC LIMIT 25 OFFSET 0
31503
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31504
+  (2.1ms) rollback transaction
31505
+  (0.1ms) begin transaction
31506
+  (0.1ms) SAVEPOINT active_record_1
31507
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31508
+  (0.0ms) SAVEPOINT active_record_1
31509
+ SQL (0.6ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.380200"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dw"], ["updated_at", "2014-04-23 04:18:58.380200"]]
31510
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31511
+  (0.8ms) rollback transaction
31512
+  (0.1ms) begin transaction
31513
+  (0.1ms) SAVEPOINT active_record_1
31514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31515
+  (0.0ms) SAVEPOINT active_record_1
31516
+ SQL (0.5ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.393660"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dx"], ["updated_at", "2014-04-23 04:18:58.393660"]]
31517
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.402971"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dy"], ["updated_at", "2014-04-23 04:18:58.402971"]]
31518
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.416491"], ["latitude", -37.01], ["longitude", 144.0], ["name", "dz"], ["updated_at", "2014-04-23 04:18:58.416491"]]
31519
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.425504"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ea"], ["updated_at", "2014-04-23 04:18:58.425504"]]
31520
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.434724"], ["latitude", -37.01], ["longitude", 144.0], ["name", "eb"], ["updated_at", "2014-04-23 04:18:58.434724"]]
31521
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.453757"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ec"], ["updated_at", "2014-04-23 04:18:58.453757"]]
31522
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.463898"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ed"], ["updated_at", "2014-04-23 04:18:58.463898"]]
31523
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.472742"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ee"], ["updated_at", "2014-04-23 04:18:58.472742"]]
31524
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.479979"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ef"], ["updated_at", "2014-04-23 04:18:58.479979"]]
31525
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.493333"], ["latitude", -37.01], ["longitude", 144.0], ["name", "eg"], ["updated_at", "2014-04-23 04:18:58.493333"]]
31526
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.506137"], ["latitude", -37.01], ["longitude", 144.0], ["name", "eh"], ["updated_at", "2014-04-23 04:18:58.506137"]]
31527
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.513305"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ei"], ["updated_at", "2014-04-23 04:18:58.513305"]]
31528
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.520695"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ej"], ["updated_at", "2014-04-23 04:18:58.520695"]]
31529
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.527987"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ek"], ["updated_at", "2014-04-23 04:18:58.527987"]]
31530
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.546757"], ["latitude", -37.01], ["longitude", 144.0], ["name", "el"], ["updated_at", "2014-04-23 04:18:58.546757"]]
31531
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.555829"], ["latitude", -37.01], ["longitude", 144.0], ["name", "em"], ["updated_at", "2014-04-23 04:18:58.555829"]]
31532
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.563793"], ["latitude", -37.01], ["longitude", 144.0], ["name", "en"], ["updated_at", "2014-04-23 04:18:58.563793"]]
31533
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.575500"], ["latitude", -37.01], ["longitude", 144.0], ["name", "eo"], ["updated_at", "2014-04-23 04:18:58.575500"]]
31534
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.589141"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ep"], ["updated_at", "2014-04-23 04:18:58.589141"]]
31535
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.598603"], ["latitude", -37.01], ["longitude", 144.0], ["name", "eq"], ["updated_at", "2014-04-23 04:18:58.598603"]]
31536
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.606610"], ["latitude", -37.01], ["longitude", 144.0], ["name", "er"], ["updated_at", "2014-04-23 04:18:58.606610"]]
31537
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.614900"], ["latitude", -37.01], ["longitude", 144.0], ["name", "es"], ["updated_at", "2014-04-23 04:18:58.614900"]]
31538
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.627255"], ["latitude", -37.01], ["longitude", 144.0], ["name", "et"], ["updated_at", "2014-04-23 04:18:58.627255"]]
31539
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.635789"], ["latitude", -37.01], ["longitude", 144.0], ["name", "eu"], ["updated_at", "2014-04-23 04:18:58.635789"]]
31540
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.654678"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ev"], ["updated_at", "2014-04-23 04:18:58.654678"]]
31541
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.665879"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ew"], ["updated_at", "2014-04-23 04:18:58.665879"]]
31542
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.674427"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ex"], ["updated_at", "2014-04-23 04:18:58.674427"]]
31543
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.683129"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ey"], ["updated_at", "2014-04-23 04:18:58.683129"]]
31544
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.690854"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ez"], ["updated_at", "2014-04-23 04:18:58.690854"]]
31545
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.698067"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fa"], ["updated_at", "2014-04-23 04:18:58.698067"]]
31546
+  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "test_models" WHERE (created_at > '2014-04-22 14:18:58 +1000') LIMIT 25) subquery_for_count
31547
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31548
+  (3.5ms) rollback transaction
31549
+  (0.1ms) begin transaction
31550
+  (0.1ms) SAVEPOINT active_record_1
31551
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31552
+  (0.1ms) SAVEPOINT active_record_1
31553
+ SQL (0.3ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.709033"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fb"], ["updated_at", "2014-04-23 04:18:58.720582"]]
31554
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-22 04:18:58.721676"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fc"], ["updated_at", "2014-04-23 04:18:58.737795"]]
31555
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-21 04:18:58.740272"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fd"], ["updated_at", "2014-04-23 04:18:58.750722"]]
31556
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-20 04:18:58.751452"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fe"], ["updated_at", "2014-04-23 04:18:58.758313"]]
31557
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-19 04:18:58.759143"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ff"], ["updated_at", "2014-04-23 04:18:58.765969"]]
31558
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-18 04:18:58.766675"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fg"], ["updated_at", "2014-04-23 04:18:58.780563"]]
31559
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-17 04:18:58.781569"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fh"], ["updated_at", "2014-04-23 04:18:58.794316"]]
31560
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-16 04:18:58.795133"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fi"], ["updated_at", "2014-04-23 04:18:58.804388"]]
31561
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-15 04:18:58.805417"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fj"], ["updated_at", "2014-04-23 04:18:58.813540"]]
31562
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-14 04:18:58.814359"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fk"], ["updated_at", "2014-04-23 04:18:58.833671"]]
31563
+  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "test_models" WHERE (created_at > '2014-04-18 14:18:58 +1000') LIMIT 25) subquery_for_count
31564
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31565
+  (2.0ms) rollback transaction
31566
+  (0.1ms) begin transaction
31567
+  (0.0ms) SAVEPOINT active_record_1
31568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31569
+  (0.1ms) SAVEPOINT active_record_1
31570
+ SQL (0.4ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.847393"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fl"], ["updated_at", "2014-04-23 04:18:58.847393"]]
31571
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.855274"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fm"], ["updated_at", "2014-04-23 04:18:58.855274"]]
31572
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.863143"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fn"], ["updated_at", "2014-04-23 04:18:58.863143"]]
31573
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.871507"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fo"], ["updated_at", "2014-04-23 04:18:58.871507"]]
31574
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.883878"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fp"], ["updated_at", "2014-04-23 04:18:58.883878"]]
31575
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.892711"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fq"], ["updated_at", "2014-04-23 04:18:58.892711"]]
31576
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.900406"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fr"], ["updated_at", "2014-04-23 04:18:58.900406"]]
31577
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.925915"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fs"], ["updated_at", "2014-04-23 04:18:58.925915"]]
31578
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.933886"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ft"], ["updated_at", "2014-04-23 04:18:58.933886"]]
31579
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.941321"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fu"], ["updated_at", "2014-04-23 04:18:58.941321"]]
31580
+ SQL (0.3ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.961418"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fv"], ["updated_at", "2014-04-23 04:18:58.961418"]]
31581
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.974355"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fw"], ["updated_at", "2014-04-23 04:18:58.974355"]]
31582
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.982869"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fx"], ["updated_at", "2014-04-23 04:18:58.982869"]]
31583
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:58.996387"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fy"], ["updated_at", "2014-04-23 04:18:58.996387"]]
31584
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.004247"], ["latitude", -37.01], ["longitude", 144.0], ["name", "fz"], ["updated_at", "2014-04-23 04:18:59.004247"]]
31585
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.012988"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ga"], ["updated_at", "2014-04-23 04:18:59.012988"]]
31586
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.020160"], ["latitude", -37.01], ["longitude", 144.0], ["name", "gb"], ["updated_at", "2014-04-23 04:18:59.020160"]]
31587
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.028063"], ["latitude", -37.01], ["longitude", 144.0], ["name", "gc"], ["updated_at", "2014-04-23 04:18:59.028063"]]
31588
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.042623"], ["latitude", -37.01], ["longitude", 144.0], ["name", "gd"], ["updated_at", "2014-04-23 04:18:59.042623"]]
31589
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.057177"], ["latitude", -37.01], ["longitude", 144.0], ["name", "ge"], ["updated_at", "2014-04-23 04:18:59.057177"]]
31590
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.064197"], ["latitude", -37.01], ["longitude", 144.0], ["name", "gf"], ["updated_at", "2014-04-23 04:18:59.064197"]]
31591
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.074705"], ["latitude", -37.01], ["longitude", 144.0], ["name", "gg"], ["updated_at", "2014-04-23 04:18:59.074705"]]
31592
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.092000"], ["latitude", -37.01], ["longitude", 144.0], ["name", "gh"], ["updated_at", "2014-04-23 04:18:59.092000"]]
31593
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.101158"], ["latitude", -37.01], ["longitude", 144.0], ["name", "gi"], ["updated_at", "2014-04-23 04:18:59.101158"]]
31594
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.126210"], ["latitude", -37.01], ["longitude", 144.0], ["name", "gj"], ["updated_at", "2014-04-23 04:18:59.126210"]]
31595
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.139363"], ["latitude", -37.01], ["longitude", 144.0], ["name", "gk"], ["updated_at", "2014-04-23 04:18:59.139363"]]
31596
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.147824"], ["latitude", -37.01], ["longitude", 144.0], ["name", "gl"], ["updated_at", "2014-04-23 04:18:59.147824"]]
31597
+ SQL (0.2ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.164751"], ["latitude", -37.01], ["longitude", 144.0], ["name", "gm"], ["updated_at", "2014-04-23 04:18:59.164751"]]
31598
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.175043"], ["latitude", -37.01], ["longitude", 144.0], ["name", "gn"], ["updated_at", "2014-04-23 04:18:59.175043"]]
31599
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.183090"], ["latitude", -37.01], ["longitude", 144.0], ["name", "go"], ["updated_at", "2014-04-23 04:18:59.183090"]]
31600
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "test_models" WHERE (id > 0) LIMIT 25) subquery_for_count
31601
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31602
+  (0.4ms) rollback transaction
31603
+  (0.1ms) begin transaction
31604
+  (0.0ms) SAVEPOINT active_record_1
31605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31606
+  (0.1ms) SAVEPOINT active_record_1
31607
+ SQL (0.4ms) INSERT INTO "test_models" ("address", "created_at", "id", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.193720"], ["id", 1], ["latitude", -37.01], ["longitude", 144.0], ["name", "gp"], ["updated_at", "2014-04-23 04:18:59.193720"]]
31608
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "id", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.206307"], ["id", 2], ["latitude", -37.01], ["longitude", 144.0], ["name", "gq"], ["updated_at", "2014-04-23 04:18:59.206307"]]
31609
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "id", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.216086"], ["id", 3], ["latitude", -37.01], ["longitude", 144.0], ["name", "gr"], ["updated_at", "2014-04-23 04:18:59.216086"]]
31610
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "id", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.224363"], ["id", 4], ["latitude", -37.01], ["longitude", 144.0], ["name", "gs"], ["updated_at", "2014-04-23 04:18:59.224363"]]
31611
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "id", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.231834"], ["id", 5], ["latitude", -37.01], ["longitude", 144.0], ["name", "gt"], ["updated_at", "2014-04-23 04:18:59.231834"]]
31612
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "id", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.248684"], ["id", 6], ["latitude", -37.01], ["longitude", 144.0], ["name", "gu"], ["updated_at", "2014-04-23 04:18:59.248684"]]
31613
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "id", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.267277"], ["id", 7], ["latitude", -37.01], ["longitude", 144.0], ["name", "gv"], ["updated_at", "2014-04-23 04:18:59.267277"]]
31614
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "id", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.275164"], ["id", 8], ["latitude", -37.01], ["longitude", 144.0], ["name", "gw"], ["updated_at", "2014-04-23 04:18:59.275164"]]
31615
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "id", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.298295"], ["id", 9], ["latitude", -37.01], ["longitude", 144.0], ["name", "gx"], ["updated_at", "2014-04-23 04:18:59.298295"]]
31616
+ SQL (0.1ms) INSERT INTO "test_models" ("address", "created_at", "id", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "LOT 1 Watersons Road, Tarrengower VIC 3463"], ["created_at", "2014-04-23 04:18:59.309283"], ["id", 10], ["latitude", -37.01], ["longitude", 144.0], ["name", "gy"], ["updated_at", "2014-04-23 04:18:59.309283"]]
31617
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "test_models" WHERE (id > 5) LIMIT 25) subquery_for_count
31618
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE (id > 5) ORDER BY "test_models"."id" ASC LIMIT 1
31619
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31620
+  (0.4ms) rollback transaction
@@ -2,6 +2,37 @@ require_relative '../../spec_helper'
2
2
 
3
3
  describe TestModel do
4
4
 
5
+ describe "by id" do
6
+
7
+ it "defaults to 25 results" do
8
+ models = FactoryGirl.create_list(:test_model, 30)
9
+ TestModel.with_id_from().count.should eq 25
10
+ end
11
+
12
+ it "returns results after given id" do
13
+ 10.times do |count|
14
+ FactoryGirl.create(:test_model, id: count + 1)
15
+ end
16
+ TestModel.with_id_from(5).count.should eq 5
17
+ TestModel.with_id_from(5).first.id.should eq 6
18
+ end
19
+ end
20
+
21
+ describe "by passed field" do
22
+ it "defaults to 25 results" do
23
+ models = FactoryGirl.create_list(:test_model, 30)
24
+ TestModel.with_field_from("created_at", (Time.now.yesterday)).count.should eq 25
25
+ end
26
+
27
+ it "returns results subsequent rows after given value on field" do
28
+ 10.times do |count|
29
+ FactoryGirl.create(:test_model, created_at: Time.now.ago(count.days))
30
+ end
31
+
32
+ TestModel.with_field_from("created_at", (Time.now.ago(5.days))).count.should eq 5
33
+ end
34
+ end
35
+
5
36
  context "by name" do
6
37
 
7
38
  it "is valid" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paginative
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Norman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-16 00:00:00.000000000 Z
11
+ date: 2014-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails