query_report 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/query_report/comparator.rb +11 -10
- data/lib/query_report/filter.rb +1 -1
- data/lib/query_report/version.rb +1 -1
- data/test/dummy/log/development.log +755 -0
- metadata +1 -1
@@ -39,16 +39,17 @@ module QueryReport
|
|
39
39
|
|
40
40
|
#convert param value which is a string to object like date and boolean
|
41
41
|
def objectified_param_value
|
42
|
-
@
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
42
|
+
@objectified_param_value ||= case @filter.type
|
43
|
+
when :date
|
44
|
+
format = I18n.t("date.formats.#{QueryReport.config.date_format}")
|
45
|
+
param_value.kind_of?(String) ? (Date.strptime(param_value, format) rescue param_value) : param_value
|
46
|
+
when :datetime
|
47
|
+
param_value.kind_of?(String) ? Time.zone.parse(param_value) : param_value
|
48
|
+
when :boolean
|
49
|
+
param_value.to_boolean
|
50
|
+
else
|
51
|
+
param_value
|
52
|
+
end
|
52
53
|
end
|
53
54
|
end
|
54
55
|
end
|
data/lib/query_report/filter.rb
CHANGED
data/lib/query_report/version.rb
CHANGED
@@ -45421,3 +45421,758 @@ Connecting to database specified by database.yml
|
|
45421
45421
|
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00]]
|
45422
45422
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45423
45423
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
45424
|
+
Connecting to database specified by database.yml
|
45425
|
+
[1m[36m (1.3ms)[0m [1mselect sqlite_version(*)[0m
|
45426
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
45427
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
45428
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
45429
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
45430
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
45431
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
45432
|
+
[1m[35mUser Load (1.3ms)[0m SELECT "users".* FROM "users"
|
45433
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45434
|
+
[1m[35mSQL (23.7ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:29:42 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:29:42 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:29:42 UTC +00:00]]
|
45435
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45436
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45437
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:29:42 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:29:42 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:29:42 UTC +00:00]]
|
45438
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45439
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45440
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:29:42 UTC +00:00], ["dob", Tue, 09 Oct 1979 14:29:42 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:29:42 UTC +00:00]]
|
45441
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45442
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45443
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45444
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45445
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
45446
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45447
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45448
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
45449
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45450
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45451
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
45452
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45453
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45454
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:29:42 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:29:42 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:29:42 UTC +00:00]]
|
45455
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45456
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45457
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:29:42 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:29:42 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:29:42 UTC +00:00]]
|
45458
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45459
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45460
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:29:42 UTC +00:00], ["dob", Tue, 09 Oct 1979 14:29:42 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:29:42 UTC +00:00]]
|
45461
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45462
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
45463
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
45464
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45465
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45466
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45467
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
45468
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45469
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45470
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
45471
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45472
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45473
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
45474
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45475
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45476
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:29:44 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00]]
|
45477
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45478
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45479
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:29:44 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00]]
|
45480
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45481
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45482
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00], ["dob", Tue, 09 Oct 1979 14:29:44 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00]]
|
45483
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45484
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45485
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45486
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00]]
|
45487
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45488
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45489
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 10]]
|
45490
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45491
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1[0m
|
45492
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45493
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45494
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
|
45495
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45496
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45497
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
45498
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45499
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45500
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
45501
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45502
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45503
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
45504
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45505
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45506
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:29:44 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00]]
|
45507
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45508
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45509
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:29:44 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00]]
|
45510
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45511
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45512
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00]]
|
45513
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45514
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
45515
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45516
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45517
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
45518
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45519
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45520
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
45521
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45522
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45523
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
45524
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45525
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45526
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:29:44 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00]]
|
45527
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45528
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45529
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:29:44 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00]]
|
45530
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45531
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45532
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00]]
|
45533
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45534
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45535
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45536
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45537
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
45538
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45539
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45540
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
45541
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45542
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45543
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
45544
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45545
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45546
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:29:44 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00]]
|
45547
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45548
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45549
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:29:44 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00]]
|
45550
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45551
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45552
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00]]
|
45553
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45554
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE (("users"."dob" >= '1992-10-09 14:29:44.000000' AND "users"."dob" <= '2013-11-09 14:29:44.000000')) LIMIT 25 OFFSET 0
|
45555
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45556
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45557
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
45558
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45559
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45560
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
45561
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45562
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45563
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
45564
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45565
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45566
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:29:44 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00]]
|
45567
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45568
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45569
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:29:44 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00]]
|
45570
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45571
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45572
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:29:44 UTC +00:00]]
|
45573
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45574
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
45575
|
+
Connecting to database specified by database.yml
|
45576
|
+
[1m[36m (1.3ms)[0m [1mselect sqlite_version(*)[0m
|
45577
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
45578
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
45579
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
45580
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
45581
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
45582
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
45583
|
+
[1m[35mUser Load (1.0ms)[0m SELECT "users".* FROM "users"
|
45584
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45585
|
+
[1m[35mSQL (2.8ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:35:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45586
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
45587
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45588
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:35:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45589
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45590
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45591
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45592
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45593
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
45594
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45595
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45596
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
45597
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45598
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45599
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
45600
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45601
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45602
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
45603
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45604
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45605
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:35:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45606
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45607
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45608
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:35:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45609
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45610
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45611
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45612
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45613
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE (("users"."dob" >= '1992-10-09 14:35:05.000000' AND "users"."dob" <= '2013-11-09 14:35:05.000000')) LIMIT 25 OFFSET 0
|
45614
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45615
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45616
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
45617
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45618
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45619
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
45620
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45621
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45622
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
45623
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45624
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45625
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:35:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45626
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45627
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45628
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:35:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45629
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45630
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45631
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45632
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45633
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45634
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45635
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45636
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
45637
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45638
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45639
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
45640
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45641
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45642
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
45643
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45644
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45645
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:35:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45646
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45647
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45648
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:35:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45649
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45650
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45651
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45652
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45653
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
45654
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45655
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45656
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45657
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45658
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 13]]
|
45659
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45660
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1[0m
|
45661
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45662
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45663
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
|
45664
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45665
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45666
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
45667
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45668
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45669
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
45670
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45671
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45672
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
45673
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45674
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45675
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:35:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45676
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45677
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45678
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:35:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45679
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45680
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45681
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", Tue, 09 Oct 1979 14:35:05 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45682
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45683
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45684
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45685
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45686
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
45687
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45688
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45689
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
45690
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45691
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45692
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
45693
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45694
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45695
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:35:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45696
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45697
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45698
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:35:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45699
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45700
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45701
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00], ["dob", Tue, 09 Oct 1979 14:35:05 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:35:05 UTC +00:00]]
|
45702
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45703
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
45704
|
+
[1m[36m (0.0ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
45705
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45706
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45707
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45708
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
45709
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45710
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45711
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
45712
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45713
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45714
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
45715
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45716
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45717
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:35:07 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:35:07 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:35:07 UTC +00:00]]
|
45718
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45719
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45720
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:35:07 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:35:07 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:35:07 UTC +00:00]]
|
45721
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45722
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45723
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:35:07 UTC +00:00], ["dob", Tue, 09 Oct 1979 14:35:07 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:35:07 UTC +00:00]]
|
45724
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45725
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45726
|
+
Connecting to database specified by database.yml
|
45727
|
+
[1m[36m (1.9ms)[0m [1mselect sqlite_version(*)[0m
|
45728
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
45729
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
45730
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
45731
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
45732
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
45733
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
45734
|
+
[1m[35mUser Load (1.9ms)[0m SELECT "users".* FROM "users"
|
45735
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45736
|
+
[1m[35mSQL (3.6ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:56:27 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45737
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
45738
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45739
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:56:27 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45740
|
+
[1m[35m (0.1ms)[0m commit transaction
|
45741
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45742
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45743
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45744
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
45745
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45746
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45747
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
45748
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45749
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45750
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
45751
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45752
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45753
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
45754
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45755
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45756
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:56:27 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45757
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45758
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45759
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:56:27 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45760
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45761
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45762
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45763
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45764
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45765
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45766
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45767
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
45768
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45769
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45770
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
45771
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45772
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45773
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
45774
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45775
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45776
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:56:27 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45777
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
45778
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45779
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:56:27 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45780
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45781
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45782
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45783
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45784
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE (("users"."dob" >= '1992-10-09 14:56:27.000000' AND "users"."dob" <= '2013-11-09 14:56:27.000000')) LIMIT 25 OFFSET 0
|
45785
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45786
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45787
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
45788
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45789
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45790
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
45791
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45792
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45793
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
45794
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45795
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45796
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:56:27 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45797
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45798
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45799
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:56:27 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45800
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45801
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45802
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45803
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45804
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
45805
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45806
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45807
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45808
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45809
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 13]]
|
45810
|
+
[1m[35m (0.1ms)[0m commit transaction
|
45811
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1[0m
|
45812
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45813
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45814
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
|
45815
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45816
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45817
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
45818
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45819
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45820
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
45821
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45822
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45823
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
45824
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45825
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45826
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:56:27 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45827
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45828
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45829
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:56:27 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45830
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45831
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45832
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", Tue, 09 Oct 1979 14:56:27 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45833
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45834
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45835
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45836
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45837
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
45838
|
+
[1m[35m (0.1ms)[0m commit transaction
|
45839
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45840
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
45841
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45842
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45843
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
45844
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45845
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45846
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:56:27 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45847
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45848
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45849
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:56:27 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45850
|
+
[1m[35m (0.1ms)[0m commit transaction
|
45851
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45852
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00], ["dob", Tue, 09 Oct 1979 14:56:27 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:56:27 UTC +00:00]]
|
45853
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
45854
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
45855
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
45856
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45857
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45858
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45859
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
45860
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45861
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45862
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
45863
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45864
|
+
[1m[35m (53.9ms)[0m begin transaction
|
45865
|
+
[1m[36mSQL (0.6ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
45866
|
+
[1m[35m (0.1ms)[0m commit transaction
|
45867
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45868
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 14:56:29 UTC +00:00], ["dob", Thu, 09 Oct 2003 14:56:29 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 14:56:29 UTC +00:00]]
|
45869
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45870
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45871
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 14:56:29 UTC +00:00], ["dob", Sat, 09 Oct 1993 14:56:29 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 14:56:29 UTC +00:00]]
|
45872
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45873
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45874
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 14:56:29 UTC +00:00], ["dob", Tue, 09 Oct 1979 14:56:29 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 14:56:29 UTC +00:00]]
|
45875
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45876
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45877
|
+
Connecting to database specified by database.yml
|
45878
|
+
[1m[36m (1.3ms)[0m [1mselect sqlite_version(*)[0m
|
45879
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
45880
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
45881
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
45882
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
45883
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
45884
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
45885
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45886
|
+
[1m[36mSQL (4.6ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 30], ["created_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00]]
|
45887
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45888
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45889
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
45890
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45891
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
45892
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45893
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45894
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
45895
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45896
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45897
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00], ["dob", Thu, 09 Oct 2003 17:02:10 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00]]
|
45898
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45899
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45900
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00], ["dob", Sat, 09 Oct 1993 17:02:10 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00]]
|
45901
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45902
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45903
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00], ["dob", Tue, 09 Oct 1979 17:02:10 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00]]
|
45904
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45905
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45906
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45907
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45908
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
45909
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45910
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45911
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
45912
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45913
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45914
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
45915
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45916
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45917
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00], ["dob", Thu, 09 Oct 2003 17:02:10 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00]]
|
45918
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45919
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45920
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00], ["dob", Sat, 09 Oct 1993 17:02:10 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00]]
|
45921
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45922
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45923
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00], ["dob", Tue, 09 Oct 1979 17:02:10 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00]]
|
45924
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45925
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45926
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45927
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45928
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
45929
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45930
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45931
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
45932
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45933
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45934
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
45935
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45936
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45937
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00], ["dob", Thu, 09 Oct 2003 17:02:10 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00]]
|
45938
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45939
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45940
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00], ["dob", Sat, 09 Oct 1993 17:02:10 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00]]
|
45941
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45942
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45943
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00], ["dob", Tue, 09 Oct 1979 17:02:10 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 17:02:10 UTC +00:00]]
|
45944
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45945
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
45946
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
45947
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45948
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45949
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45950
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
45951
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45952
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45953
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
45954
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45955
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45956
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
45957
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45958
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45959
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00], ["dob", Thu, 09 Oct 2003 17:02:12 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00]]
|
45960
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45961
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45962
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00], ["dob", Sat, 09 Oct 1993 17:02:12 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00]]
|
45963
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45964
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45965
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00]]
|
45966
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45967
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
45968
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45969
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45970
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
45971
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45972
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45973
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
45974
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45975
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45976
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
45977
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45978
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45979
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00], ["dob", Thu, 09 Oct 2003 17:02:12 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00]]
|
45980
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45981
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45982
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00], ["dob", Sat, 09 Oct 1993 17:02:12 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00]]
|
45983
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45984
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45985
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00]]
|
45986
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45987
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE (("users"."dob" >= '1992-10-09 17:02:12.000000' AND "users"."dob" <= '2013-11-09 17:02:12.000000')) LIMIT 25 OFFSET 0
|
45988
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45989
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45990
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
45991
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45992
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45993
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
45994
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45995
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45996
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
45997
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45998
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45999
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00], ["dob", Thu, 09 Oct 2003 17:02:12 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00]]
|
46000
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46001
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46002
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00], ["dob", Sat, 09 Oct 1993 17:02:12 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00]]
|
46003
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46004
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46005
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00]]
|
46006
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46007
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
46008
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
46009
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46010
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
46011
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46012
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46013
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
46014
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46015
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46016
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
46017
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46018
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46019
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00], ["dob", Thu, 09 Oct 2003 17:02:12 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00]]
|
46020
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46021
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46022
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00], ["dob", Sat, 09 Oct 1993 17:02:12 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00]]
|
46023
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46024
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46025
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 17:02:12 UTC +00:00]]
|
46026
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46027
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
46028
|
+
Connecting to database specified by database.yml
|
46029
|
+
[1m[36m (1.4ms)[0m [1mselect sqlite_version(*)[0m
|
46030
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
46031
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
46032
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
46033
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
46034
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
46035
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
46036
|
+
[1m[35mUser Load (1.0ms)[0m SELECT "users".* FROM "users"
|
46037
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46038
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", Thu, 09 Oct 2003 17:02:49 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46039
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46040
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46041
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", Sat, 09 Oct 1993 17:02:49 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46042
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46043
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46044
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46045
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46046
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
46047
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
46048
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46049
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
46050
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46051
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46052
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
46053
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46054
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46055
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
46056
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46057
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46058
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", Thu, 09 Oct 2003 17:02:49 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46059
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46060
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46061
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", Sat, 09 Oct 1993 17:02:49 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46062
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46063
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46064
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46065
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46066
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
46067
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
46068
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46069
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
46070
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46071
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46072
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
46073
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46074
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46075
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
46076
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46077
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46078
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", Thu, 09 Oct 2003 17:02:49 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46079
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46080
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46081
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", Sat, 09 Oct 1993 17:02:49 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46082
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46083
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46084
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46085
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46086
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE (("users"."dob" >= '1992-10-09 17:02:49.000000' AND "users"."dob" <= '2013-11-09 17:02:49.000000')) LIMIT 25 OFFSET 0
|
46087
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
46088
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46089
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
46090
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46091
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46092
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
46093
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46094
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46095
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
46096
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46097
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46098
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", Thu, 09 Oct 2003 17:02:49 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46099
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46100
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46101
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", Sat, 09 Oct 1993 17:02:49 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46102
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46103
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46104
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46105
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46106
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
46107
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46108
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46109
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46110
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46111
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 13]]
|
46112
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46113
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1[0m
|
46114
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
46115
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46116
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
|
46117
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46118
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46119
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
46120
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46121
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46122
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
46123
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46124
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46125
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
46126
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46127
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46128
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", Thu, 09 Oct 2003 17:02:49 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46129
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46130
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46131
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", Sat, 09 Oct 1993 17:02:49 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46132
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46133
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46134
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", Tue, 09 Oct 1979 17:02:49 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46135
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46136
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
46137
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
46138
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46139
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
46140
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46141
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46142
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
46143
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46144
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46145
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
46146
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46147
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46148
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", Thu, 09 Oct 2003 17:02:49 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46149
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46150
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46151
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", Sat, 09 Oct 1993 17:02:49 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46152
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46153
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46154
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00], ["dob", Tue, 09 Oct 1979 17:02:49 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 17:02:49 UTC +00:00]]
|
46155
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46156
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
46157
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
46158
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
46159
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
46160
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46161
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
46162
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46163
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46164
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
46165
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46166
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46167
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
46168
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46169
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46170
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 17:02:50 UTC +00:00], ["dob", Thu, 09 Oct 2003 17:02:50 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 17:02:50 UTC +00:00]]
|
46171
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46172
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46173
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 17:02:50 UTC +00:00], ["dob", Sat, 09 Oct 1993 17:02:50 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 17:02:50 UTC +00:00]]
|
46174
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46175
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46176
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 17:02:50 UTC +00:00], ["dob", Tue, 09 Oct 1979 17:02:50 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 17:02:50 UTC +00:00]]
|
46177
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46178
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|