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 +4 -4
- data/lib/paginative/models/model_extension.rb +9 -1
- data/lib/paginative/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +298 -0
- data/spec/models/paginative/test_model_spec.rb +31 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecb0b9ca46a563684056bf3e4894de5c00fbba05
|
4
|
+
data.tar.gz: d6a56e3343fdf5b05e3b5c3e7232fc01d9799f83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/paginative/version.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -31320,3 +31320,301 @@ SQLite3::SQLException: no such column: testmodel: SELECT "test_models".* FROM "
|
|
31320
31320
|
[1m[36mTestModel Load (0.2ms)[0m [1mSELECT "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[0m
|
31321
31321
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
31322
31322
|
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
31323
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
31324
|
+
[1m[35m (2.0ms)[0m DELETE FROM "paginative_test_models";
|
31325
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
31326
|
+
[1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'paginative_test_models';
|
31327
|
+
[1m[36m (0.7ms)[0m [1mDELETE FROM "test_models";[0m
|
31328
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
31329
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'test_models';[0m
|
31330
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31331
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31332
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31333
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31334
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mTestModel Load (0.6ms)[0m 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
|
+
[1m[36mTestModel Load (0.2ms)[0m [1mSELECT "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[0m
|
31338
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
31339
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
31340
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31341
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31342
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31343
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31344
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36mTestModel Load (0.2ms)[0m [1mSELECT "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[0m
|
31346
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
31347
|
+
[1m[36m (3.0ms)[0m [1mrollback transaction[0m
|
31348
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31349
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
31350
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
31351
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31352
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mTestModel Load (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31384
|
+
[1m[35m (2.0ms)[0m rollback transaction
|
31385
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31386
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31387
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31388
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31389
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mTestModel Load (0.2ms)[0m [1mSELECT "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[0m
|
31420
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
31421
|
+
[1m[36m (1.4ms)[0m [1mrollback transaction[0m
|
31422
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31423
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31424
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31425
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31426
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mTestModel Load (0.3ms)[0m SELECT "test_models".* FROM "test_models" WHERE (lower(name) > 'bm') ORDER BY "test_models"."name" ASC LIMIT 1 OFFSET 0
|
31429
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31430
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
31431
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31432
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31433
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31434
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31435
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mTestModel Load (0.4ms)[0m [1mSELECT "test_models".* FROM "test_models" WHERE (lower(name) > '') ORDER BY "test_models"."name" ASC LIMIT 25 OFFSET 0[0m
|
31466
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
31467
|
+
[1m[36m (1.8ms)[0m [1mrollback transaction[0m
|
31468
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31469
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31470
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31471
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31472
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mTestModel Load (0.3ms)[0m SELECT "test_models".* FROM "test_models" WHERE (lower(name) > '') ORDER BY "test_models"."name" ASC LIMIT 25 OFFSET 0
|
31503
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31504
|
+
[1m[35m (2.1ms)[0m rollback transaction
|
31505
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31506
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31507
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31508
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31509
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
31511
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
31512
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31513
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31514
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31515
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31516
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31548
|
+
[1m[35m (3.5ms)[0m rollback transaction
|
31549
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31550
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31551
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31552
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31553
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mSELECT 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[0m
|
31564
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
31565
|
+
[1m[36m (2.0ms)[0m [1mrollback transaction[0m
|
31566
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31567
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31568
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31569
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31570
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "test_models" WHERE (id > 0) LIMIT 25) subquery_for_count
|
31601
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31602
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
31603
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31604
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31605
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31606
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31607
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "id", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "id", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "id", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "id", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "test_models" ("address", "created_at", "id", "latitude", "longitude", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "test_models" WHERE (id > 5) LIMIT 25) subquery_for_count[0m
|
31618
|
+
[1m[35mTestModel Load (0.1ms)[0m SELECT "test_models".* FROM "test_models" WHERE (id > 5) ORDER BY "test_models"."id" ASC LIMIT 1
|
31619
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31620
|
+
[1m[35m (0.4ms)[0m 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.
|
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-
|
11
|
+
date: 2014-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|