query_report 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. data/app/helpers/query_report_filter_helper.rb +0 -8
  2. data/app/helpers/query_report_link_helper.rb +9 -0
  3. data/app/views/query_report/_chart.html.erb +10 -0
  4. data/app/views/query_report/_charts.html.erb +6 -10
  5. data/app/views/query_report/_links.html.erb +2 -0
  6. data/app/views/query_report/_records.html.erb +21 -0
  7. data/app/views/query_report/_search.html.erb +7 -5
  8. data/app/views/query_report/list.html.erb +3 -32
  9. data/lib/query_report/filter.rb +44 -26
  10. data/lib/query_report/helper.rb +6 -6
  11. data/lib/query_report/version.rb +1 -1
  12. data/test/dummy/app/controllers/invoices_controller.rb +23 -18
  13. data/test/dummy/app/models/invoice.rb +2 -1
  14. data/test/dummy/app/models/user.rb +6 -1
  15. data/test/dummy/db/development.sqlite3 +0 -0
  16. data/test/dummy/db/migrate/20130622120853_create_users.rb +2 -3
  17. data/test/dummy/db/migrate/20130630132513_create_invoices.rb +3 -0
  18. data/test/dummy/db/schema.rb +7 -5
  19. data/test/dummy/db/seed.rb +14 -3
  20. data/test/dummy/log/development.log +3848 -0
  21. data/test/dummy/tmp/miniprofiler/mp_timers_1phunlrkl040xbl9ni38 +0 -0
  22. data/test/dummy/tmp/miniprofiler/mp_timers_2jj5q0umhfjgdsr3be6r +0 -0
  23. data/test/dummy/tmp/miniprofiler/mp_timers_4nme0opawv0cuju7ycln +0 -0
  24. data/test/dummy/tmp/miniprofiler/mp_timers_4x4zy2jyybfnrfctzoll +0 -0
  25. data/test/dummy/tmp/miniprofiler/mp_timers_501n5dolb96ahn8fsdeb +0 -0
  26. data/test/dummy/tmp/miniprofiler/mp_timers_50279rze1q2oyskpd2bx +0 -0
  27. data/test/dummy/tmp/miniprofiler/mp_timers_5cx1jmk7clhq7gdqu8fj +0 -0
  28. data/test/dummy/tmp/miniprofiler/mp_timers_625nhhhlou6kji64k1v8 +0 -0
  29. data/test/dummy/tmp/miniprofiler/mp_timers_8papkqyltk3r9vdbiwlx +0 -0
  30. data/test/dummy/tmp/miniprofiler/mp_timers_as4xud3puw1vxjzm8ma3 +0 -0
  31. data/test/dummy/tmp/miniprofiler/mp_timers_cuw96wvyfzku6np7dv6u +0 -0
  32. data/test/dummy/tmp/miniprofiler/mp_timers_eml2za25qr6vmokw5tda +0 -0
  33. data/test/dummy/tmp/miniprofiler/mp_timers_f1cpnb605srbgp7u5n6l +0 -0
  34. data/test/dummy/tmp/miniprofiler/mp_timers_kcb88g8t6jcdbzy4sf40 +0 -0
  35. data/test/dummy/tmp/miniprofiler/mp_timers_oziigmt85gb8ro89h2uo +0 -0
  36. data/test/dummy/tmp/miniprofiler/mp_timers_rkitlcrj5rur9vtb25yr +0 -0
  37. data/test/dummy/tmp/miniprofiler/mp_timers_s24xgsm7sihnsifjqne0 +0 -0
  38. data/test/dummy/tmp/miniprofiler/mp_timers_v4vq4inppiedkn1mxsut +0 -0
  39. data/test/dummy/tmp/miniprofiler/mp_timers_wb62iw0f860zfkjkt42d +0 -0
  40. data/test/dummy/tmp/miniprofiler/mp_timers_yb4i2uuaxhoz5hst26bj +0 -0
  41. metadata +46 -76
  42. data/test/dummy/db/test.sqlite3 +0 -0
  43. data/test/dummy/tmp/miniprofiler/mp_timers_435onnqlkhcky6yip9mj +0 -0
  44. data/test/dummy/tmp/miniprofiler/mp_timers_5a5gcp8rj2g7cjlrh11r +0 -0
  45. data/test/dummy/tmp/miniprofiler/mp_timers_5awpjfhldzcfjkeiia3p +0 -0
  46. data/test/dummy/tmp/miniprofiler/mp_timers_5n9tm06nu8wtqem8jd9s +0 -0
  47. data/test/dummy/tmp/miniprofiler/mp_timers_83yh2jf8w7ouqnuqevws +0 -0
  48. data/test/dummy/tmp/miniprofiler/mp_timers_9scoumsixeymou0wyqwf +0 -0
  49. data/test/dummy/tmp/miniprofiler/mp_timers_9xq47956uczidwr4xqs2 +0 -0
  50. data/test/dummy/tmp/miniprofiler/mp_timers_a4mj9799k6k4r6jruzj7 +0 -0
  51. data/test/dummy/tmp/miniprofiler/mp_timers_a7ev5lal7xp2xzjj2n9p +0 -0
  52. data/test/dummy/tmp/miniprofiler/mp_timers_azffwngwstpj3o7g7zaj +0 -0
  53. data/test/dummy/tmp/miniprofiler/mp_timers_bsifeckwtz6lhx8rqwgz +0 -0
  54. data/test/dummy/tmp/miniprofiler/mp_timers_c27pz5f69skbkwfrnlr5 +0 -0
  55. data/test/dummy/tmp/miniprofiler/mp_timers_c5lzifpf785aic4t3cm8 +0 -0
  56. data/test/dummy/tmp/miniprofiler/mp_timers_dbth1ye234719bbg3xjq +0 -0
  57. data/test/dummy/tmp/miniprofiler/mp_timers_ech68w7azvs6whb6s88w +0 -0
  58. data/test/dummy/tmp/miniprofiler/mp_timers_etmdhvrbbmdadc7oyw8q +0 -0
  59. data/test/dummy/tmp/miniprofiler/mp_timers_gdb6sz9j5g8pyrobpse2 +0 -0
  60. data/test/dummy/tmp/miniprofiler/mp_timers_gnj8jwxqjl0ocjfopzmt +0 -0
  61. data/test/dummy/tmp/miniprofiler/mp_timers_hzjksutah5t2nkoe5gye +0 -0
  62. data/test/dummy/tmp/miniprofiler/mp_timers_ijm30kq0c4jrpb5coyiz +0 -0
  63. data/test/dummy/tmp/miniprofiler/mp_timers_ixj6jdcp3o0pc4vzdjoo +0 -0
  64. data/test/dummy/tmp/miniprofiler/mp_timers_l2w9vljbeofwmhmxn9lv +0 -0
  65. data/test/dummy/tmp/miniprofiler/mp_timers_m0kxxiow6jlfcjulu02t +0 -0
  66. data/test/dummy/tmp/miniprofiler/mp_timers_m2ow1xy7c6tw0f4fj2co +0 -0
  67. data/test/dummy/tmp/miniprofiler/mp_timers_meafgmjq07s2xlkm4ney +0 -0
  68. data/test/dummy/tmp/miniprofiler/mp_timers_mitzsa7y0lvka04il6an +0 -0
  69. data/test/dummy/tmp/miniprofiler/mp_timers_mxejnh24sg011tpzlq7l +0 -0
  70. data/test/dummy/tmp/miniprofiler/mp_timers_nlvpu6hg03b8cue75kkc +0 -0
  71. data/test/dummy/tmp/miniprofiler/mp_timers_ns57exo8aheow6jngknj +0 -0
  72. data/test/dummy/tmp/miniprofiler/mp_timers_pq8a5s9f7o747x14bip8 +0 -0
  73. data/test/dummy/tmp/miniprofiler/mp_timers_pvxfsf8tdy3tk7twydyc +0 -0
  74. data/test/dummy/tmp/miniprofiler/mp_timers_t5zt24mkmoq4kpcvvlrp +0 -0
  75. data/test/dummy/tmp/miniprofiler/mp_timers_tesee62zyykaxw8dbmq1 +0 -0
  76. data/test/dummy/tmp/miniprofiler/mp_timers_ujpdek4jfp8flbqp7fi3 +0 -0
  77. data/test/dummy/tmp/miniprofiler/mp_timers_wbiyljqrnox89js4m0at +0 -0
  78. data/test/dummy/tmp/miniprofiler/mp_timers_ywg973w6dqfz9nuj5qio +0 -0
@@ -31506,3 +31506,3851 @@ Processing by InvoicesController#index as HTML
31506
31506
   (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))
31507
31507
  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (46.6ms)
31508
31508
  Completed 200 OK in 61ms (Views: 50.4ms | ActiveRecord: 0.6ms)
31509
+ Connecting to database specified by database.yml
31510
+
31511
+
31512
+ Started GET "/invoices" for 127.0.0.1 at 2013-09-03 09:37:20 +0600
31513
+ Processing by InvoicesController#index as HTML
31514
+  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31515
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31516
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31517
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31518
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31519
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31520
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.4ms)
31521
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.3ms)
31522
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (2.2ms)
31523
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (3.9ms)
31524
+ Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
31525
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (74.7ms)
31526
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31527
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (126.9ms)
31528
+ Completed 200 OK in 496ms (Views: 306.3ms | ActiveRecord: 37.5ms)
31529
+
31530
+
31531
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600
31532
+ Served asset /application.css - 200 OK (7ms)
31533
+
31534
+
31535
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600
31536
+ Served asset /invoices.css - 200 OK (17ms)
31537
+
31538
+
31539
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600
31540
+ Served asset /scaffold.css - 200 OK (2ms)
31541
+
31542
+
31543
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600
31544
+ Served asset /jquery.js - 200 OK (10ms)
31545
+
31546
+
31547
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600
31548
+ Served asset /invoices.js - 200 OK (1ms)
31549
+
31550
+
31551
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600
31552
+ Served asset /jquery_ujs.js - 200 OK (2ms)
31553
+
31554
+
31555
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600
31556
+ Served asset /users.css - 200 OK (2ms)
31557
+
31558
+
31559
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600
31560
+ Served asset /users.js - 200 OK (3ms)
31561
+
31562
+
31563
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600
31564
+ Served asset /application.js - 200 OK (8ms)
31565
+ Connecting to database specified by database.yml
31566
+  (3.3ms) select sqlite_version(*)
31567
+  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
31568
+  (0.3ms) CREATE 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) 
31569
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
31570
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
31571
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
31572
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
31573
+  (0.1ms) begin transaction
31574
+ SQL (44.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 03 Sep 2013 03:38:43 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 03 Sep 2013 03:38:43 UTC +00:00]]
31575
+  (0.1ms) commit transaction
31576
+  (0.1ms) begin transaction
31577
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
31578
+  (0.1ms) commit transaction
31579
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
31580
+ User Load (0.2ms) SELECT "users".* FROM "users" 
31581
+  (0.1ms) begin transaction
31582
+ SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
31583
+  (0.1ms) commit transaction
31584
+  (0.1ms) begin transaction
31585
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:38:43 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:38:43 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:38:43 UTC +00:00]]
31586
+  (0.0ms) commit transaction
31587
+  (0.0ms) begin transaction
31588
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:38:43 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:38:43 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:38:43 UTC +00:00]]
31589
+  (0.0ms) commit transaction
31590
+  (0.0ms) begin transaction
31591
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:38:43 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:38:43 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:38:43 UTC +00:00]]
31592
+  (0.1ms) commit transaction
31593
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
31594
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
31595
+ User Load (0.2ms) SELECT "users".* FROM "users"
31596
+ User Load (0.3ms) SELECT "users".* FROM "users" 
31597
+  (0.1ms) begin transaction
31598
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
31599
+  (0.1ms) commit transaction
31600
+  (0.1ms) begin transaction
31601
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
31602
+  (0.1ms) commit transaction
31603
+  (0.1ms) begin transaction
31604
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
31605
+  (0.1ms) commit transaction
31606
+  (0.1ms) begin transaction
31607
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:38:47 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31608
+  (0.1ms) commit transaction
31609
+  (0.1ms) begin transaction
31610
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:38:47 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31611
+  (0.1ms) commit transaction
31612
+  (0.1ms) begin transaction
31613
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:38:47 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31614
+  (0.1ms) commit transaction
31615
+ User Load (0.2ms) SELECT "users".* FROM "users"
31616
+ User Load (0.3ms) SELECT "users".* FROM "users" 
31617
+  (0.1ms) begin transaction
31618
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
31619
+  (0.1ms) commit transaction
31620
+  (0.1ms) begin transaction
31621
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
31622
+  (0.1ms) commit transaction
31623
+  (0.1ms) begin transaction
31624
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
31625
+  (0.1ms) commit transaction
31626
+  (0.1ms) begin transaction
31627
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:38:47 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31628
+  (0.1ms) commit transaction
31629
+  (0.1ms) begin transaction
31630
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:38:47 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31631
+  (0.1ms) commit transaction
31632
+  (0.1ms) begin transaction
31633
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:38:47 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31634
+  (0.1ms) commit transaction
31635
+ User Load (0.2ms) SELECT "users".* FROM "users"
31636
+ User Load (0.3ms) SELECT "users".* FROM "users" 
31637
+  (0.1ms) begin transaction
31638
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
31639
+  (0.1ms) commit transaction
31640
+  (0.1ms) begin transaction
31641
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
31642
+  (0.1ms) commit transaction
31643
+  (0.1ms) begin transaction
31644
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
31645
+  (0.1ms) commit transaction
31646
+  (0.1ms) begin transaction
31647
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:38:47 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31648
+  (0.0ms) commit transaction
31649
+  (0.0ms) begin transaction
31650
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:38:47 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31651
+  (0.0ms) commit transaction
31652
+  (0.0ms) begin transaction
31653
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:38:47 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31654
+  (0.1ms) commit transaction
31655
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
31656
+ User Load (0.2ms) SELECT "users".* FROM "users" 
31657
+  (0.1ms) begin transaction
31658
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
31659
+  (0.1ms) commit transaction
31660
+  (0.1ms) begin transaction
31661
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
31662
+  (0.1ms) commit transaction
31663
+  (0.1ms) begin transaction
31664
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
31665
+  (0.1ms) commit transaction
31666
+  (0.1ms) begin transaction
31667
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:38:47 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31668
+  (0.1ms) commit transaction
31669
+  (0.1ms) begin transaction
31670
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:38:47 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31671
+  (0.1ms) commit transaction
31672
+  (0.1ms) begin transaction
31673
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:38:47 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31674
+  (0.1ms) commit transaction
31675
+ User Load (0.2ms) SELECT "users".* FROM "users"
31676
+ User Load (0.2ms) SELECT "users".* FROM "users" 
31677
+  (0.1ms) begin transaction
31678
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
31679
+  (0.1ms) commit transaction
31680
+  (0.1ms) begin transaction
31681
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
31682
+  (0.1ms) commit transaction
31683
+  (0.1ms) begin transaction
31684
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
31685
+  (0.1ms) commit transaction
31686
+  (0.1ms) begin transaction
31687
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:38:47 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31688
+  (0.0ms) commit transaction
31689
+  (0.0ms) begin transaction
31690
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:38:47 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31691
+  (0.0ms) commit transaction
31692
+  (0.0ms) begin transaction
31693
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:38:47 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31694
+  (0.0ms) commit transaction
31695
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
31696
+ User Load (0.2ms) SELECT "users".* FROM "users" 
31697
+  (0.1ms) begin transaction
31698
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
31699
+  (0.1ms) commit transaction
31700
+  (0.1ms) begin transaction
31701
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
31702
+  (0.1ms) commit transaction
31703
+  (0.1ms) begin transaction
31704
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
31705
+  (0.1ms) commit transaction
31706
+  (0.1ms) begin transaction
31707
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:38:47 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31708
+  (0.1ms) commit transaction
31709
+  (0.1ms) begin transaction
31710
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:38:47 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31711
+  (0.1ms) commit transaction
31712
+  (0.1ms) begin transaction
31713
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:38:47 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]
31714
+  (0.1ms) commit transaction
31715
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
31716
+ Connecting to database specified by database.yml
31717
+
31718
+
31719
+ Started GET "/invoices" for 127.0.0.1 at 2013-09-03 09:39:42 +0600
31720
+ Processing by InvoicesController#index as HTML
31721
+  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31722
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31723
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31724
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31725
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31726
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31727
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.4ms)
31728
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.3ms)
31729
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (2.1ms)
31730
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (3.9ms)
31731
+ Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
31732
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (75.0ms)
31733
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31734
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (132.8ms)
31735
+ Completed 200 OK in 394ms (Views: 204.6ms | ActiveRecord: 37.7ms)
31736
+
31737
+
31738
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600
31739
+ Served asset /application.css - 200 OK (32ms)
31740
+
31741
+
31742
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600
31743
+ Served asset /users.css - 200 OK (2ms)
31744
+
31745
+
31746
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600
31747
+ Served asset /jquery.js - 200 OK (9ms)
31748
+
31749
+
31750
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600
31751
+ Served asset /scaffold.css - 200 OK (3ms)
31752
+
31753
+
31754
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600
31755
+ Served asset /jquery_ujs.js - 200 OK (3ms)
31756
+
31757
+
31758
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600
31759
+ Served asset /invoices.css - 200 OK (2ms)
31760
+
31761
+
31762
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600
31763
+ Served asset /invoices.js - 200 OK (3ms)
31764
+
31765
+
31766
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600
31767
+ Served asset /users.js - 200 OK (2ms)
31768
+
31769
+
31770
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600
31771
+ Served asset /application.js - 200 OK (10ms)
31772
+
31773
+
31774
+ Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=another&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-09-03 09:39:47 +0600
31775
+ Processing by InvoicesController#index as HTML
31776
+ Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"another", "created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>""}, "commit"=>"Search"}
31777
+  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31778
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31779
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31780
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31781
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31782
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31783
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms)
31784
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.6ms)
31785
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.4ms)
31786
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.4ms)
31787
+ Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
31788
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.4ms)
31789
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31790
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (34.4ms)
31791
+ Completed 200 OK in 72ms (Views: 44.4ms | ActiveRecord: 1.4ms)
31792
+
31793
+
31794
+ Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-09-03 09:39:51 +0600
31795
+ Processing by InvoicesController#index as HTML
31796
+ Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>""}, "commit"=>"Search"}
31797
+  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31798
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31799
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31800
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31801
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31802
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31803
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms)
31804
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (3.0ms)
31805
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms)
31806
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.4ms)
31807
+ Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
31808
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (29.8ms)
31809
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31810
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (67.1ms)
31811
+ Completed 200 OK in 141ms (Views: 116.1ms | ActiveRecord: 1.5ms)
31812
+
31813
+
31814
+ Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-09-03 09:39:55 +0600
31815
+ Processing by InvoicesController#index as HTML
31816
+ Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>"false"}, "commit"=>"Search"}
31817
+  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
31818
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
31819
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
31820
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
31821
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
31822
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
31823
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms)
31824
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.5ms)
31825
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms)
31826
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms)
31827
+ Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
31828
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (13.6ms)
31829
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
31830
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (31.5ms)
31831
+ Completed 200 OK in 63ms (Views: 40.5ms | ActiveRecord: 1.3ms)
31832
+ Connecting to database specified by database.yml
31833
+  (3.1ms) select sqlite_version(*)
31834
+  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
31835
+  (0.3ms) CREATE 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) 
31836
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
31837
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
31838
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
31839
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
31840
+  (0.1ms) begin transaction
31841
+ SQL (10.0ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 03 Sep 2013 03:44:51 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 03 Sep 2013 03:44:51 UTC +00:00]]
31842
+  (0.1ms) commit transaction
31843
+  (0.1ms) begin transaction
31844
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
31845
+  (0.1ms) commit transaction
31846
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
31847
+ User Load (0.2ms) SELECT "users".* FROM "users" 
31848
+  (0.1ms) begin transaction
31849
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
31850
+  (0.1ms) commit transaction
31851
+  (0.1ms) begin transaction
31852
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:44:51 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:44:51 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:44:51 UTC +00:00]]
31853
+  (0.1ms) commit transaction
31854
+  (0.1ms) begin transaction
31855
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:44:51 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:44:51 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:44:51 UTC +00:00]]
31856
+  (0.1ms) commit transaction
31857
+  (0.1ms) begin transaction
31858
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:44:51 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:44:51 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:44:51 UTC +00:00]]
31859
+  (0.1ms) commit transaction
31860
+ User Load (0.2ms) SELECT "users".* FROM "users"
31861
+ User Load (0.2ms) SELECT "users".* FROM "users" 
31862
+  (0.1ms) begin transaction
31863
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
31864
+  (0.1ms) commit transaction
31865
+  (0.1ms) begin transaction
31866
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
31867
+  (0.1ms) commit transaction
31868
+  (0.1ms) begin transaction
31869
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
31870
+  (0.1ms) commit transaction
31871
+  (0.1ms) begin transaction
31872
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:44:52 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:44:52 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:44:52 UTC +00:00]]
31873
+  (0.1ms) commit transaction
31874
+  (0.1ms) begin transaction
31875
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:44:52 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:44:52 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:44:52 UTC +00:00]]
31876
+  (0.1ms) commit transaction
31877
+  (0.1ms) begin transaction
31878
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:44:52 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:44:52 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:44:52 UTC +00:00]]
31879
+  (0.0ms) commit transaction
31880
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
31881
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
31882
+ User Load (0.2ms) SELECT "users".* FROM "users"
31883
+ User Load (0.2ms) SELECT "users".* FROM "users" 
31884
+  (0.0ms) begin transaction
31885
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
31886
+  (0.0ms) commit transaction
31887
+  (0.0ms) begin transaction
31888
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
31889
+  (0.0ms) commit transaction
31890
+  (0.0ms) begin transaction
31891
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
31892
+  (0.0ms) commit transaction
31893
+  (0.0ms) begin transaction
31894
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:44:55 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]
31895
+  (0.0ms) commit transaction
31896
+  (0.1ms) begin transaction
31897
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:44:55 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]
31898
+  (0.1ms) commit transaction
31899
+  (0.1ms) begin transaction
31900
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:44:55 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]
31901
+  (0.1ms) commit transaction
31902
+ User Load (0.3ms) SELECT "users".* FROM "users"
31903
+ User Load (0.3ms) SELECT "users".* FROM "users" 
31904
+  (0.1ms) begin transaction
31905
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
31906
+  (0.1ms) commit transaction
31907
+  (0.1ms) begin transaction
31908
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
31909
+  (0.1ms) commit transaction
31910
+  (0.1ms) begin transaction
31911
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
31912
+  (0.1ms) commit transaction
31913
+  (0.1ms) begin transaction
31914
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:44:55 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]
31915
+  (0.1ms) commit transaction
31916
+  (0.1ms) begin transaction
31917
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:44:55 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]
31918
+  (0.1ms) commit transaction
31919
+  (0.1ms) begin transaction
31920
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:44:55 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]
31921
+  (0.1ms) commit transaction
31922
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
31923
+ User Load (0.2ms) SELECT "users".* FROM "users" 
31924
+  (0.1ms) begin transaction
31925
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
31926
+  (0.1ms) commit transaction
31927
+  (0.1ms) begin transaction
31928
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
31929
+  (0.1ms) commit transaction
31930
+  (0.0ms) begin transaction
31931
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
31932
+  (0.0ms) commit transaction
31933
+  (0.1ms) begin transaction
31934
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:44:55 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]
31935
+  (0.1ms) commit transaction
31936
+  (0.1ms) begin transaction
31937
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:44:55 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]
31938
+  (0.1ms) commit transaction
31939
+  (0.1ms) begin transaction
31940
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:44:55 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]
31941
+  (0.1ms) commit transaction
31942
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
31943
+ User Load (0.2ms) SELECT "users".* FROM "users" 
31944
+  (0.1ms) begin transaction
31945
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
31946
+  (0.1ms) commit transaction
31947
+  (0.1ms) begin transaction
31948
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
31949
+  (0.1ms) commit transaction
31950
+  (0.1ms) begin transaction
31951
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
31952
+  (0.1ms) commit transaction
31953
+  (0.0ms) begin transaction
31954
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:44:55 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]
31955
+  (0.0ms) commit transaction
31956
+  (0.1ms) begin transaction
31957
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:44:55 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]
31958
+  (0.0ms) commit transaction
31959
+  (0.1ms) begin transaction
31960
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:44:55 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]
31961
+  (0.1ms) commit transaction
31962
+ User Load (0.2ms) SELECT "users".* FROM "users"
31963
+ User Load (0.2ms) SELECT "users".* FROM "users" 
31964
+  (0.1ms) begin transaction
31965
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
31966
+  (0.1ms) commit transaction
31967
+  (0.1ms) begin transaction
31968
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
31969
+  (0.1ms) commit transaction
31970
+  (0.1ms) begin transaction
31971
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
31972
+  (0.1ms) commit transaction
31973
+  (0.1ms) begin transaction
31974
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:44:55 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]
31975
+  (0.1ms) commit transaction
31976
+  (0.1ms) begin transaction
31977
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:44:55 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]
31978
+  (0.1ms) commit transaction
31979
+  (0.0ms) begin transaction
31980
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:44:55 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]
31981
+  (0.1ms) commit transaction
31982
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
31983
+ Connecting to database specified by database.yml
31984
+
31985
+
31986
+ Started GET "/" for 127.0.0.1 at 2013-09-03 09:45:12 +0600
31987
+ Processing by InvoicesController#index as HTML
31988
+  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31989
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31990
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31991
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31992
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31993
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
31994
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.3ms)
31995
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.3ms)
31996
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (2.2ms)
31997
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (4.0ms)
31998
+ Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
31999
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (48.9ms)
32000
+  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32001
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (90.0ms)
32002
+ Completed 200 OK in 336ms (Views: 145.1ms | ActiveRecord: 6.2ms)
32003
+
32004
+
32005
+ Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-09-03 09:45:16 +0600
32006
+ Processing by InvoicesController#index as HTML
32007
+ Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>"false"}, "commit"=>"Search"}
32008
+  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
32009
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
32010
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
32011
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
32012
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
32013
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
32014
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms)
32015
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.5ms)
32016
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms)
32017
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms)
32018
+ Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
32019
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.1ms)
32020
+  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
32021
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (33.6ms)
32022
+ Completed 200 OK in 105ms (Views: 80.9ms | ActiveRecord: 1.3ms)
32023
+
32024
+
32025
+ Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-09-03 09:45:19 +0600
32026
+ Processing by InvoicesController#index as HTML
32027
+ Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>""}, "commit"=>"Search"}
32028
+  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32029
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32030
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32031
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32032
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32033
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32034
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms)
32035
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.5ms)
32036
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms)
32037
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms)
32038
+ Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32039
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (25.6ms)
32040
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32041
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (59.4ms)
32042
+ Completed 200 OK in 90ms (Views: 68.4ms | ActiveRecord: 1.4ms)
32043
+
32044
+
32045
+ Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=another&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-09-03 09:45:22 +0600
32046
+ Processing by InvoicesController#index as HTML
32047
+ Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"another", "created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>""}, "commit"=>"Search"}
32048
+  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32049
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32050
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32051
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32052
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32053
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32054
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms)
32055
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.6ms)
32056
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms)
32057
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms)
32058
+ Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32059
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.0ms)
32060
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32061
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (33.8ms)
32062
+ Completed 200 OK in 67ms (Views: 43.8ms | ActiveRecord: 1.3ms)
32063
+
32064
+
32065
+ Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-09-03 09:45:26 +0600
32066
+ Processing by InvoicesController#index as HTML
32067
+ Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>""}, "commit"=>"Search"}
32068
+  (2.9ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32069
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32070
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32071
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32072
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32073
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32074
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms)
32075
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.5ms)
32076
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms)
32077
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms)
32078
+ Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32079
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (26.1ms)
32080
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32081
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (60.1ms)
32082
+ Completed 200 OK in 134ms (Views: 69.2ms | ActiveRecord: 4.0ms)
32083
+
32084
+
32085
+ Started GET "/?commit=Search&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=&q%5Bs%5D=title+asc&q%5Btitle_cont%5D=&utf8=%E2%9C%93" for 127.0.0.1 at 2013-09-03 09:45:30 +0600
32086
+ Processing by InvoicesController#index as HTML
32087
+ Parameters: {"commit"=>"Search", "q"=>{"created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>"", "s"=>"title asc", "title_cont"=>""}, "utf8"=>"✓"}
32088
+  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32089
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32090
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32091
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32092
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32093
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32094
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms)
32095
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.6ms)
32096
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms)
32097
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms)
32098
+ Invoice Load (1.0ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) ORDER BY "invoices"."title" ASC LIMIT 25 OFFSET 0
32099
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (26.2ms)
32100
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32101
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (60.2ms)
32102
+ Completed 200 OK in 91ms (Views: 68.6ms | ActiveRecord: 1.9ms)
32103
+
32104
+
32105
+ Started GET "/" for 127.0.0.1 at 2013-09-03 09:47:37 +0600
32106
+ Processing by InvoicesController#index as HTML
32107
+  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32108
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32109
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32110
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32111
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32112
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32113
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.4ms)
32114
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.5ms)
32115
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms)
32116
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms)
32117
+ Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32118
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (37.8ms)
32119
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32120
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (67.6ms)
32121
+ Completed 200 OK in 101ms (Views: 76.6ms | ActiveRecord: 2.2ms)
32122
+
32123
+
32124
+ Started GET "/" for 127.0.0.1 at 2013-09-03 09:49:48 +0600
32125
+ Processing by InvoicesController#index as HTML
32126
+  (2.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32127
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32128
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32129
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32130
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32131
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32132
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.6ms)
32133
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.6ms)
32134
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms)
32135
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.4ms)
32136
+ Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32137
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (25.6ms)
32138
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32139
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (57.1ms)
32140
+ Completed 200 OK in 128ms (Views: 66.2ms | ActiveRecord: 3.4ms)
32141
+
32142
+
32143
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600
32144
+ Served asset /application.css - 200 OK (20ms)
32145
+
32146
+
32147
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600
32148
+ Served asset /invoices.css - 200 OK (3ms)
32149
+
32150
+
32151
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600
32152
+ Served asset /scaffold.css - 200 OK (2ms)
32153
+
32154
+
32155
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600
32156
+ Served asset /users.css - 200 OK (2ms)
32157
+
32158
+
32159
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600
32160
+ Served asset /jquery.js - 200 OK (8ms)
32161
+
32162
+
32163
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600
32164
+ Served asset /jquery_ujs.js - 200 OK (4ms)
32165
+
32166
+
32167
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600
32168
+ Served asset /invoices.js - 200 OK (2ms)
32169
+
32170
+
32171
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600
32172
+ Served asset /users.js - 200 OK (2ms)
32173
+
32174
+
32175
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600
32176
+ Served asset /application.js - 200 OK (9ms)
32177
+ Connecting to database specified by database.yml
32178
+  (3.1ms) select sqlite_version(*)
32179
+  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
32180
+  (0.3ms) CREATE 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) 
32181
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
32182
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
32183
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
32184
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
32185
+  (0.1ms) begin transaction
32186
+ SQL (8.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]
32187
+  (0.1ms) commit transaction
32188
+  (0.1ms) begin transaction
32189
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
32190
+  (0.1ms) commit transaction
32191
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
32192
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32193
+  (0.1ms) begin transaction
32194
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
32195
+  (0.1ms) commit transaction
32196
+  (0.1ms) begin transaction
32197
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:59:50 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]
32198
+  (0.1ms) commit transaction
32199
+  (0.1ms) begin transaction
32200
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:59:50 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]
32201
+  (0.1ms) commit transaction
32202
+  (0.1ms) begin transaction
32203
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:59:50 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]
32204
+  (0.1ms) commit transaction
32205
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
32206
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32207
+  (0.1ms) begin transaction
32208
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
32209
+  (0.1ms) commit transaction
32210
+  (0.1ms) begin transaction
32211
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
32212
+  (0.1ms) commit transaction
32213
+  (0.1ms) begin transaction
32214
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
32215
+  (0.1ms) commit transaction
32216
+  (0.1ms) begin transaction
32217
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:59:50 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]
32218
+  (0.1ms) commit transaction
32219
+  (0.0ms) begin transaction
32220
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:59:50 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]
32221
+  (0.0ms) commit transaction
32222
+  (0.0ms) begin transaction
32223
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:59:50 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]
32224
+  (0.1ms) commit transaction
32225
+ User Load (0.2ms) SELECT "users".* FROM "users"
32226
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32227
+  (0.1ms) begin transaction
32228
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
32229
+  (0.1ms) commit transaction
32230
+  (0.1ms) begin transaction
32231
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
32232
+  (0.1ms) commit transaction
32233
+  (0.1ms) begin transaction
32234
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
32235
+  (0.1ms) commit transaction
32236
+  (0.1ms) begin transaction
32237
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:59:50 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]
32238
+  (0.1ms) commit transaction
32239
+  (0.1ms) begin transaction
32240
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:59:50 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]
32241
+  (0.1ms) commit transaction
32242
+  (0.1ms) begin transaction
32243
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:59:50 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]
32244
+  (0.0ms) commit transaction
32245
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32246
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32247
+  (0.0ms) begin transaction
32248
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
32249
+  (0.0ms) commit transaction
32250
+  (0.0ms) begin transaction
32251
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
32252
+  (0.0ms) commit transaction
32253
+  (0.0ms) begin transaction
32254
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
32255
+  (0.0ms) commit transaction
32256
+  (0.1ms) begin transaction
32257
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:59:51 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]
32258
+  (0.1ms) commit transaction
32259
+  (0.1ms) begin transaction
32260
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:59:51 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]
32261
+  (0.1ms) commit transaction
32262
+  (0.1ms) begin transaction
32263
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:59:51 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]
32264
+  (0.1ms) commit transaction
32265
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32266
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32267
+  (0.1ms) begin transaction
32268
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
32269
+  (0.1ms) commit transaction
32270
+  (0.1ms) begin transaction
32271
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
32272
+  (0.1ms) commit transaction
32273
+  (0.1ms) begin transaction
32274
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
32275
+  (0.1ms) commit transaction
32276
+  (0.1ms) begin transaction
32277
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:59:51 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]
32278
+  (0.1ms) commit transaction
32279
+  (0.0ms) begin transaction
32280
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:59:51 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]
32281
+  (0.0ms) commit transaction
32282
+  (0.0ms) begin transaction
32283
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:59:51 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]
32284
+  (0.1ms) commit transaction
32285
+ User Load (0.2ms) SELECT "users".* FROM "users"
32286
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32287
+  (0.1ms) begin transaction
32288
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
32289
+  (0.1ms) commit transaction
32290
+  (0.1ms) begin transaction
32291
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
32292
+  (0.1ms) commit transaction
32293
+  (0.1ms) begin transaction
32294
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
32295
+  (0.1ms) commit transaction
32296
+  (0.1ms) begin transaction
32297
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:59:51 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]
32298
+  (0.1ms) commit transaction
32299
+  (0.1ms) begin transaction
32300
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:59:51 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]
32301
+  (0.1ms) commit transaction
32302
+  (0.1ms) begin transaction
32303
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:59:51 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]
32304
+  (0.1ms) commit transaction
32305
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
32306
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
32307
+ User Load (0.2ms) SELECT "users".* FROM "users"
32308
+ User Load (0.3ms) SELECT "users".* FROM "users" 
32309
+  (0.1ms) begin transaction
32310
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
32311
+  (0.1ms) commit transaction
32312
+  (0.1ms) begin transaction
32313
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
32314
+  (0.1ms) commit transaction
32315
+  (0.1ms) begin transaction
32316
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
32317
+  (0.1ms) commit transaction
32318
+  (0.1ms) begin transaction
32319
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:59:54 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:59:54 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:59:54 UTC +00:00]]
32320
+  (0.1ms) commit transaction
32321
+  (0.1ms) begin transaction
32322
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:59:54 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:59:54 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:59:54 UTC +00:00]]
32323
+  (0.1ms) commit transaction
32324
+  (0.1ms) begin transaction
32325
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:59:54 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:59:54 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:59:54 UTC +00:00]]
32326
+  (0.1ms) commit transaction
32327
+ User Load (0.2ms) SELECT "users".* FROM "users"
32328
+ Connecting to database specified by database.yml
32329
+  (3.1ms) select sqlite_version(*)
32330
+  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
32331
+  (0.3ms) CREATE 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) 
32332
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
32333
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
32334
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
32335
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
32336
+  (0.1ms) begin transaction
32337
+ SQL (9.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]
32338
+  (0.1ms) commit transaction
32339
+  (0.1ms) begin transaction
32340
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
32341
+  (0.1ms) commit transaction
32342
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
32343
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32344
+  (0.1ms) begin transaction
32345
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
32346
+  (0.1ms) commit transaction
32347
+  (0.1ms) begin transaction
32348
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:00:42 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]
32349
+  (0.1ms) commit transaction
32350
+  (0.1ms) begin transaction
32351
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:00:42 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]
32352
+  (0.1ms) commit transaction
32353
+  (0.1ms) begin transaction
32354
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:00:42 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]
32355
+  (0.1ms) commit transaction
32356
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
32357
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32358
+  (0.1ms) begin transaction
32359
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
32360
+  (0.1ms) commit transaction
32361
+  (0.1ms) begin transaction
32362
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
32363
+  (0.1ms) commit transaction
32364
+  (0.1ms) begin transaction
32365
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
32366
+  (0.1ms) commit transaction
32367
+  (0.1ms) begin transaction
32368
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:00:42 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]
32369
+  (0.1ms) commit transaction
32370
+  (0.1ms) begin transaction
32371
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:00:42 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]
32372
+  (0.0ms) commit transaction
32373
+  (0.0ms) begin transaction
32374
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:00:42 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]
32375
+  (0.0ms) commit transaction
32376
+ User Load (0.2ms) SELECT "users".* FROM "users"
32377
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32378
+  (0.1ms) begin transaction
32379
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
32380
+  (0.1ms) commit transaction
32381
+  (0.1ms) begin transaction
32382
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
32383
+  (0.1ms) commit transaction
32384
+  (0.1ms) begin transaction
32385
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
32386
+  (0.1ms) commit transaction
32387
+  (0.1ms) begin transaction
32388
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:00:42 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]
32389
+  (0.1ms) commit transaction
32390
+  (0.1ms) begin transaction
32391
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:00:42 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]
32392
+  (0.1ms) commit transaction
32393
+  (0.1ms) begin transaction
32394
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:00:42 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]
32395
+  (0.1ms) commit transaction
32396
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32397
+ User Load (0.1ms) SELECT "users".* FROM "users" 
32398
+  (0.0ms) begin transaction
32399
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
32400
+  (0.0ms) commit transaction
32401
+  (0.0ms) begin transaction
32402
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
32403
+  (0.1ms) commit transaction
32404
+  (0.1ms) begin transaction
32405
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
32406
+  (0.0ms) commit transaction
32407
+  (0.0ms) begin transaction
32408
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:00:42 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]
32409
+  (0.0ms) commit transaction
32410
+  (0.0ms) begin transaction
32411
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:00:42 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]
32412
+  (0.1ms) commit transaction
32413
+  (0.1ms) begin transaction
32414
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:00:43 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]
32415
+  (0.1ms) commit transaction
32416
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32417
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32418
+  (0.1ms) begin transaction
32419
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
32420
+  (0.1ms) commit transaction
32421
+  (0.1ms) begin transaction
32422
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
32423
+  (0.1ms) commit transaction
32424
+  (0.1ms) begin transaction
32425
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
32426
+  (0.1ms) commit transaction
32427
+  (0.1ms) begin transaction
32428
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:00:43 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]
32429
+  (0.0ms) commit transaction
32430
+  (0.0ms) begin transaction
32431
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:00:43 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]
32432
+  (0.0ms) commit transaction
32433
+  (0.1ms) begin transaction
32434
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:00:43 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]
32435
+  (0.0ms) commit transaction
32436
+ User Load (0.2ms) SELECT "users".* FROM "users"
32437
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32438
+  (0.1ms) begin transaction
32439
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
32440
+  (0.1ms) commit transaction
32441
+  (0.1ms) begin transaction
32442
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
32443
+  (0.1ms) commit transaction
32444
+  (0.1ms) begin transaction
32445
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
32446
+  (0.1ms) commit transaction
32447
+  (0.1ms) begin transaction
32448
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:00:43 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]
32449
+  (0.1ms) commit transaction
32450
+  (0.1ms) begin transaction
32451
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:00:43 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]
32452
+  (0.1ms) commit transaction
32453
+  (0.1ms) begin transaction
32454
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:00:43 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]
32455
+  (0.1ms) commit transaction
32456
+ User Load (0.2ms) SELECT "users".* FROM "users"
32457
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32458
+  (0.1ms) begin transaction
32459
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
32460
+  (0.1ms) commit transaction
32461
+  (0.1ms) begin transaction
32462
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
32463
+  (0.1ms) commit transaction
32464
+  (0.1ms) begin transaction
32465
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
32466
+  (0.1ms) commit transaction
32467
+  (0.1ms) begin transaction
32468
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:00:43 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]
32469
+  (0.1ms) commit transaction
32470
+  (0.1ms) begin transaction
32471
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:00:43 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]
32472
+  (0.1ms) commit transaction
32473
+  (0.1ms) begin transaction
32474
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:00:43 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]
32475
+  (0.1ms) commit transaction
32476
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
32477
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
32478
+ User Load (0.2ms) SELECT "users".* FROM "users"
32479
+ Connecting to database specified by database.yml
32480
+ Connecting to database specified by database.yml
32481
+ Connecting to database specified by database.yml
32482
+  (3.1ms) select sqlite_version(*)
32483
+  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
32484
+  (0.3ms) CREATE 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) 
32485
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
32486
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
32487
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
32488
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
32489
+  (0.1ms) begin transaction
32490
+ SQL (42.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 03 Sep 2013 04:04:40 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 03 Sep 2013 04:04:40 UTC +00:00]]
32491
+  (0.1ms) commit transaction
32492
+  (0.1ms) begin transaction
32493
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
32494
+  (0.1ms) commit transaction
32495
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
32496
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32497
+  (0.1ms) begin transaction
32498
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
32499
+  (0.1ms) commit transaction
32500
+  (0.0ms) begin transaction
32501
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:04:41 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:04:41 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:04:41 UTC +00:00]]
32502
+  (0.0ms) commit transaction
32503
+  (0.0ms) begin transaction
32504
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:04:41 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:04:41 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:04:41 UTC +00:00]]
32505
+  (0.1ms) commit transaction
32506
+  (0.0ms) begin transaction
32507
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:04:41 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:04:41 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:04:41 UTC +00:00]]
32508
+  (0.1ms) commit transaction
32509
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
32510
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
32511
+ User Load (0.2ms) SELECT "users".* FROM "users"
32512
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32513
+  (0.1ms) begin transaction
32514
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
32515
+  (0.1ms) commit transaction
32516
+  (0.1ms) begin transaction
32517
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
32518
+  (0.1ms) commit transaction
32519
+  (0.1ms) begin transaction
32520
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
32521
+  (0.1ms) commit transaction
32522
+  (0.1ms) begin transaction
32523
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:04:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32524
+  (0.1ms) commit transaction
32525
+  (0.1ms) begin transaction
32526
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:04:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32527
+  (0.1ms) commit transaction
32528
+  (0.1ms) begin transaction
32529
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:04:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32530
+  (0.1ms) commit transaction
32531
+ User Load (0.2ms) SELECT "users".* FROM "users"
32532
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32533
+  (0.1ms) begin transaction
32534
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
32535
+  (0.1ms) commit transaction
32536
+  (0.1ms) begin transaction
32537
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
32538
+  (0.1ms) commit transaction
32539
+  (0.1ms) begin transaction
32540
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
32541
+  (0.1ms) commit transaction
32542
+  (0.1ms) begin transaction
32543
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:04:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32544
+  (0.1ms) commit transaction
32545
+  (0.1ms) begin transaction
32546
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:04:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32547
+  (0.1ms) commit transaction
32548
+  (0.1ms) begin transaction
32549
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:04:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32550
+  (0.1ms) commit transaction
32551
+ User Load (0.2ms) SELECT "users".* FROM "users"
32552
+ User Load (0.3ms) SELECT "users".* FROM "users" 
32553
+  (0.1ms) begin transaction
32554
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
32555
+  (0.0ms) commit transaction
32556
+  (0.0ms) begin transaction
32557
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
32558
+  (0.0ms) commit transaction
32559
+  (0.0ms) begin transaction
32560
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
32561
+  (0.0ms) commit transaction
32562
+  (0.0ms) begin transaction
32563
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:04:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32564
+  (0.0ms) commit transaction
32565
+  (0.0ms) begin transaction
32566
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:04:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32567
+  (0.1ms) commit transaction
32568
+  (0.1ms) begin transaction
32569
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:04:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32570
+  (0.1ms) commit transaction
32571
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
32572
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32573
+  (0.1ms) begin transaction
32574
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
32575
+  (0.1ms) commit transaction
32576
+  (0.1ms) begin transaction
32577
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
32578
+  (0.1ms) commit transaction
32579
+  (0.1ms) begin transaction
32580
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
32581
+  (0.1ms) commit transaction
32582
+  (0.1ms) begin transaction
32583
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:04:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32584
+  (0.1ms) commit transaction
32585
+  (0.0ms) begin transaction
32586
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:04:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32587
+  (0.1ms) commit transaction
32588
+  (0.1ms) begin transaction
32589
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:04:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32590
+  (0.1ms) commit transaction
32591
+ User Load (0.2ms) SELECT "users".* FROM "users"
32592
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32593
+  (0.1ms) begin transaction
32594
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
32595
+  (0.1ms) commit transaction
32596
+  (0.1ms) begin transaction
32597
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
32598
+  (0.1ms) commit transaction
32599
+  (0.1ms) begin transaction
32600
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
32601
+  (0.1ms) commit transaction
32602
+  (0.1ms) begin transaction
32603
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:04:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32604
+  (0.0ms) commit transaction
32605
+  (0.0ms) begin transaction
32606
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:04:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32607
+  (0.0ms) commit transaction
32608
+  (0.0ms) begin transaction
32609
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:04:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32610
+  (0.1ms) commit transaction
32611
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32612
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32613
+  (0.1ms) begin transaction
32614
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
32615
+  (0.1ms) commit transaction
32616
+  (0.1ms) begin transaction
32617
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
32618
+  (0.1ms) commit transaction
32619
+  (0.1ms) begin transaction
32620
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
32621
+  (0.1ms) commit transaction
32622
+  (0.1ms) begin transaction
32623
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:04:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32624
+  (0.1ms) commit transaction
32625
+  (0.1ms) begin transaction
32626
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:04:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32627
+  (0.1ms) commit transaction
32628
+  (0.0ms) begin transaction
32629
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:04:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]
32630
+  (0.0ms) commit transaction
32631
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32632
+ Connecting to database specified by database.yml
32633
+
32634
+
32635
+ Started GET "/" for 127.0.0.1 at 2013-09-03 10:04:57 +0600
32636
+ Processing by InvoicesController#index as HTML
32637
+  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32638
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32639
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32640
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32641
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32642
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32643
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.3ms)
32644
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.3ms)
32645
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (2.1ms)
32646
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (3.9ms)
32647
+ Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32648
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (42.1ms)
32649
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32650
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (127.9ms)
32651
+ Completed 200 OK in 377ms (Views: 195.5ms | ActiveRecord: 6.2ms)
32652
+
32653
+
32654
+ Started GET "/" for 127.0.0.1 at 2013-09-03 10:05:01 +0600
32655
+ Processing by InvoicesController#index as HTML
32656
+  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32657
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32658
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32659
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32660
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32661
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32662
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms)
32663
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.5ms)
32664
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms)
32665
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms)
32666
+ Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32667
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (25.3ms)
32668
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32669
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (55.4ms)
32670
+ Completed 200 OK in 121ms (Views: 103.1ms | ActiveRecord: 1.5ms)
32671
+ Connecting to database specified by database.yml
32672
+  (3.2ms) select sqlite_version(*)
32673
+  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
32674
+  (0.3ms) CREATE 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) 
32675
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
32676
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
32677
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
32678
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
32679
+ User Load (2.2ms) SELECT "users".* FROM "users"
32680
+  (0.1ms) begin transaction
32681
+ SQL (38.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:06:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32682
+  (0.1ms) commit transaction
32683
+  (0.1ms) begin transaction
32684
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:06:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32685
+  (0.1ms) commit transaction
32686
+  (0.1ms) begin transaction
32687
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:06:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32688
+  (0.1ms) commit transaction
32689
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32690
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32691
+  (0.1ms) begin transaction
32692
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
32693
+  (0.1ms) commit transaction
32694
+  (0.1ms) begin transaction
32695
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
32696
+  (0.1ms) commit transaction
32697
+  (0.1ms) begin transaction
32698
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
32699
+  (0.1ms) commit transaction
32700
+  (0.1ms) begin transaction
32701
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:06:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32702
+  (0.1ms) commit transaction
32703
+  (0.1ms) begin transaction
32704
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:06:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32705
+  (0.1ms) commit transaction
32706
+  (0.1ms) begin transaction
32707
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:06:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32708
+  (0.1ms) commit transaction
32709
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32710
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32711
+  (0.1ms) begin transaction
32712
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
32713
+  (0.1ms) commit transaction
32714
+  (0.1ms) begin transaction
32715
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
32716
+  (0.0ms) commit transaction
32717
+  (0.0ms) begin transaction
32718
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
32719
+  (0.0ms) commit transaction
32720
+  (0.0ms) begin transaction
32721
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:06:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32722
+  (0.0ms) commit transaction
32723
+  (0.1ms) begin transaction
32724
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:06:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32725
+  (0.1ms) commit transaction
32726
+  (0.1ms) begin transaction
32727
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:06:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32728
+  (0.1ms) commit transaction
32729
+ User Load (0.1ms) SELECT "users".* FROM "users"
32730
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32731
+  (0.1ms) begin transaction
32732
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
32733
+  (0.1ms) commit transaction
32734
+  (0.1ms) begin transaction
32735
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
32736
+  (0.1ms) commit transaction
32737
+  (0.1ms) begin transaction
32738
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
32739
+  (0.1ms) commit transaction
32740
+  (0.1ms) begin transaction
32741
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:06:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32742
+  (0.1ms) commit transaction
32743
+  (0.1ms) begin transaction
32744
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:06:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32745
+  (0.1ms) commit transaction
32746
+  (0.1ms) begin transaction
32747
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:06:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32748
+  (0.1ms) commit transaction
32749
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
32750
+  (0.1ms) begin transaction
32751
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32752
+  (0.1ms) commit transaction
32753
+  (0.1ms) begin transaction
32754
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 13]]
32755
+  (0.1ms) commit transaction
32756
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1
32757
+ User Load (0.2ms) SELECT "users".* FROM "users"
32758
+  (0.1ms) begin transaction
32759
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
32760
+  (0.1ms) commit transaction
32761
+  (0.1ms) begin transaction
32762
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
32763
+  (0.1ms) commit transaction
32764
+  (0.1ms) begin transaction
32765
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
32766
+  (0.1ms) commit transaction
32767
+  (0.0ms) begin transaction
32768
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
32769
+  (0.1ms) commit transaction
32770
+  (0.1ms) begin transaction
32771
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:06:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32772
+  (0.1ms) commit transaction
32773
+  (0.1ms) begin transaction
32774
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:06:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32775
+  (0.1ms) commit transaction
32776
+  (0.1ms) begin transaction
32777
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:06:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32778
+  (0.1ms) commit transaction
32779
+ User Load (0.2ms) SELECT "users".* FROM "users"
32780
+ User Load (0.2ms) SELECT "users".* FROM "users" 
32781
+  (0.1ms) begin transaction
32782
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
32783
+  (0.1ms) commit transaction
32784
+  (0.1ms) begin transaction
32785
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
32786
+  (0.1ms) commit transaction
32787
+  (0.1ms) begin transaction
32788
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
32789
+  (0.1ms) commit transaction
32790
+  (0.1ms) begin transaction
32791
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:06:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32792
+  (0.1ms) commit transaction
32793
+  (0.1ms) begin transaction
32794
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:06:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32795
+  (0.1ms) commit transaction
32796
+  (0.1ms) begin transaction
32797
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:06:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]
32798
+  (0.1ms) commit transaction
32799
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
32800
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
32801
+ User Load (0.2ms) SELECT "users".* FROM "users"
32802
+ User Load (0.3ms) SELECT "users".* FROM "users" 
32803
+  (0.1ms) begin transaction
32804
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
32805
+  (0.1ms) commit transaction
32806
+  (0.1ms) begin transaction
32807
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
32808
+  (0.1ms) commit transaction
32809
+  (0.1ms) begin transaction
32810
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
32811
+  (0.1ms) commit transaction
32812
+  (0.1ms) begin transaction
32813
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:06:23 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:06:23 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:06:23 UTC +00:00]]
32814
+  (0.1ms) commit transaction
32815
+  (0.1ms) begin transaction
32816
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:06:23 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:06:23 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:06:23 UTC +00:00]]
32817
+  (0.1ms) commit transaction
32818
+  (0.1ms) begin transaction
32819
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:06:23 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:06:23 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:06:23 UTC +00:00]]
32820
+  (0.1ms) commit transaction
32821
+ User Load (0.2ms) SELECT "users".* FROM "users"
32822
+ Connecting to database specified by database.yml
32823
+
32824
+
32825
+ Started GET "/" for 127.0.0.1 at 2013-09-03 10:07:28 +0600
32826
+ Processing by InvoicesController#index as HTML
32827
+  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32828
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32829
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32830
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32831
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32832
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32833
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.6ms)
32834
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.4ms)
32835
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (2.2ms)
32836
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (4.0ms)
32837
+ Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32838
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (41.7ms)
32839
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32840
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (126.6ms)
32841
+ Completed 200 OK in 387ms (Views: 199.8ms | ActiveRecord: 5.3ms)
32842
+
32843
+
32844
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600
32845
+ Served asset /application.css - 200 OK (25ms)
32846
+
32847
+
32848
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600
32849
+ Served asset /jquery.js - 200 OK (8ms)
32850
+
32851
+
32852
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600
32853
+ Served asset /invoices.css - 200 OK (2ms)
32854
+
32855
+
32856
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600
32857
+ Served asset /scaffold.css - 200 OK (3ms)
32858
+
32859
+
32860
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600
32861
+ Served asset /users.css - 200 OK (2ms)
32862
+
32863
+
32864
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600
32865
+ Served asset /jquery_ujs.js - 200 OK (2ms)
32866
+
32867
+
32868
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600
32869
+ Served asset /invoices.js - 200 OK (2ms)
32870
+
32871
+
32872
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600
32873
+ Served asset /application.js - 200 OK (9ms)
32874
+
32875
+
32876
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600
32877
+ Served asset /users.js - 200 OK (3ms)
32878
+
32879
+
32880
+ Started GET "/" for 127.0.0.1 at 2013-09-03 10:08:12 +0600
32881
+ Processing by InvoicesController#index as HTML
32882
+  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32883
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32884
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32885
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32886
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32887
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32888
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.8ms)
32889
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.6ms)
32890
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms)
32891
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.4ms)
32892
+ Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32893
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (27.1ms)
32894
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32895
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (59.9ms)
32896
+ Completed 200 OK in 87ms (Views: 69.5ms | ActiveRecord: 1.5ms)
32897
+
32898
+
32899
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600
32900
+ Served asset /application.css - 304 Not Modified (8ms)
32901
+
32902
+
32903
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600
32904
+ Served asset /scaffold.css - 304 Not Modified (0ms)
32905
+
32906
+
32907
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600
32908
+ Served asset /invoices.css - 304 Not Modified (0ms)
32909
+
32910
+
32911
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600
32912
+ Served asset /jquery.js - 304 Not Modified (5ms)
32913
+
32914
+
32915
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600
32916
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
32917
+
32918
+
32919
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600
32920
+ Served asset /users.css - 304 Not Modified (0ms)
32921
+
32922
+
32923
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600
32924
+ Served asset /invoices.js - 304 Not Modified (0ms)
32925
+
32926
+
32927
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600
32928
+ Served asset /application.js - 304 Not Modified (2ms)
32929
+
32930
+
32931
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600
32932
+ Served asset /users.js - 304 Not Modified (0ms)
32933
+ Connecting to database specified by database.yml
32934
+
32935
+
32936
+ Started GET "/" for 127.0.0.1 at 2013-09-03 10:08:48 +0600
32937
+ Processing by InvoicesController#index as HTML
32938
+  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32939
+  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32940
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32941
+ CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32942
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32943
+ CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32944
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (9.4ms)
32945
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.5ms)
32946
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.7ms)
32947
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (3.8ms)
32948
+ Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
32949
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (40.8ms)
32950
+  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
32951
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (131.8ms)
32952
+ Completed 200 OK in 385ms (Views: 198.2ms | ActiveRecord: 6.5ms)
32953
+
32954
+
32955
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:08:48 +0600
32956
+ Served asset /application.css - 304 Not Modified (11ms)
32957
+
32958
+
32959
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:48 +0600
32960
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
32961
+
32962
+
32963
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:08:48 +0600
32964
+ Served asset /users.css - 304 Not Modified (3ms)
32965
+
32966
+
32967
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:08:49 +0600
32968
+ Served asset /invoices.css - 304 Not Modified (1ms)
32969
+
32970
+
32971
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:49 +0600
32972
+ Served asset /jquery.js - 304 Not Modified (4ms)
32973
+
32974
+
32975
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:08:49 +0600
32976
+ Served asset /scaffold.css - 304 Not Modified (1ms)
32977
+
32978
+
32979
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:49 +0600
32980
+ Served asset /invoices.js - 304 Not Modified (1ms)
32981
+
32982
+
32983
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:49 +0600
32984
+ Served asset /users.js - 304 Not Modified (1ms)
32985
+
32986
+
32987
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:49 +0600
32988
+ Served asset /application.js - 304 Not Modified (5ms)
32989
+ Connecting to database specified by database.yml
32990
+
32991
+
32992
+ Started GET "/" for 127.0.0.1 at 2013-09-03 10:23:19 +0600
32993
+ Processing by InvoicesController#index as HTML
32994
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (26.0ms)
32995
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.9ms)
32996
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms)
32997
+ Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
32998
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (5.6ms)
32999
+  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
33000
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (41.9ms)
33001
+ Completed 200 OK in 153ms (Views: 92.4ms | ActiveRecord: 2.3ms)
33002
+
33003
+
33004
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600
33005
+ Served asset /application.css - 304 Not Modified (11ms)
33006
+
33007
+
33008
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600
33009
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
33010
+
33011
+
33012
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600
33013
+ Served asset /scaffold.css - 304 Not Modified (1ms)
33014
+
33015
+
33016
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600
33017
+ Served asset /invoices.css - 304 Not Modified (0ms)
33018
+
33019
+
33020
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600
33021
+ Served asset /jquery.js - 304 Not Modified (5ms)
33022
+
33023
+
33024
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600
33025
+ Served asset /users.css - 304 Not Modified (1ms)
33026
+
33027
+
33028
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600
33029
+ Served asset /invoices.js - 304 Not Modified (0ms)
33030
+
33031
+
33032
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600
33033
+ Served asset /application.js - 304 Not Modified (4ms)
33034
+
33035
+
33036
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600
33037
+ Served asset /users.js - 304 Not Modified (1ms)
33038
+
33039
+
33040
+ Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-09-03 10:23:31 +0600
33041
+ Processing by InvoicesController#index as HTML
33042
+ Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>"false"}, "commit"=>"Search"}
33043
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (27.4ms)
33044
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.0ms)
33045
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms)
33046
+ Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
33047
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (11.6ms)
33048
+  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
33049
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (44.7ms)
33050
+ Completed 200 OK in 49ms (Views: 48.2ms | ActiveRecord: 0.3ms)
33051
+
33052
+
33053
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600
33054
+ Served asset /application.css - 304 Not Modified (2ms)
33055
+
33056
+
33057
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600
33058
+ Served asset /invoices.css - 304 Not Modified (0ms)
33059
+
33060
+
33061
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600
33062
+ Served asset /scaffold.css - 304 Not Modified (2ms)
33063
+
33064
+
33065
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600
33066
+ Served asset /users.css - 304 Not Modified (0ms)
33067
+
33068
+
33069
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600
33070
+ Served asset /jquery.js - 304 Not Modified (0ms)
33071
+
33072
+
33073
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600
33074
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
33075
+
33076
+
33077
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600
33078
+ Served asset /invoices.js - 304 Not Modified (0ms)
33079
+
33080
+
33081
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600
33082
+ Served asset /users.js - 304 Not Modified (0ms)
33083
+
33084
+
33085
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600
33086
+ Served asset /application.js - 304 Not Modified (0ms)
33087
+
33088
+
33089
+ Started GET "/" for 127.0.0.1 at 2013-09-03 10:24:21 +0600
33090
+ Processing by InvoicesController#index as HTML
33091
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (26.3ms)
33092
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.6ms)
33093
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.0ms)
33094
+ Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
33095
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.6ms)
33096
+  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
33097
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (54.3ms)
33098
+ Completed 200 OK in 61ms (Views: 58.2ms | ActiveRecord: 0.8ms)
33099
+
33100
+
33101
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600
33102
+ Served asset /application.css - 304 Not Modified (3ms)
33103
+
33104
+
33105
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600
33106
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
33107
+
33108
+
33109
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600
33110
+ Served asset /users.css - 304 Not Modified (0ms)
33111
+
33112
+
33113
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600
33114
+ Served asset /scaffold.css - 304 Not Modified (0ms)
33115
+
33116
+
33117
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600
33118
+ Served asset /invoices.css - 304 Not Modified (0ms)
33119
+
33120
+
33121
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600
33122
+ Served asset /jquery.js - 304 Not Modified (0ms)
33123
+
33124
+
33125
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600
33126
+ Served asset /invoices.js - 304 Not Modified (0ms)
33127
+
33128
+
33129
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600
33130
+ Served asset /users.js - 304 Not Modified (0ms)
33131
+
33132
+
33133
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600
33134
+ Served asset /application.js - 304 Not Modified (0ms)
33135
+ Connecting to database specified by database.yml
33136
+  (1.5ms) select sqlite_version(*)
33137
+  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
33138
+  (0.1ms) CREATE 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) 
33139
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
33140
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
33141
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
33142
+  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
33143
+ User Load (1.0ms) SELECT "users".* FROM "users"
33144
+  (0.0ms) begin transaction
33145
+ SQL (22.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:24:58 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00]]
33146
+  (0.0ms) commit transaction
33147
+  (0.0ms) begin transaction
33148
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:24:58 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00]]
33149
+  (0.0ms) commit transaction
33150
+  (0.0ms) begin transaction
33151
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:24:58 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00]]
33152
+  (0.0ms) commit transaction
33153
+ User Load (0.1ms) SELECT "users".* FROM "users"
33154
+ User Load (0.2ms) SELECT "users".* FROM "users" 
33155
+  (0.0ms) begin transaction
33156
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
33157
+  (0.0ms) commit transaction
33158
+  (0.0ms) begin transaction
33159
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
33160
+  (0.0ms) commit transaction
33161
+  (0.0ms) begin transaction
33162
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
33163
+  (0.0ms) commit transaction
33164
+  (0.0ms) begin transaction
33165
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:24:58 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00]]
33166
+  (0.0ms) commit transaction
33167
+  (0.0ms) begin transaction
33168
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:24:58 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00]]
33169
+  (0.0ms) commit transaction
33170
+  (0.0ms) begin transaction
33171
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:24:58 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00]]
33172
+  (0.0ms) commit transaction
33173
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"
33174
+  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
33175
+ User Load (0.1ms) SELECT "users".* FROM "users"
33176
+ User Load (0.1ms) SELECT "users".* FROM "users" 
33177
+  (0.0ms) begin transaction
33178
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
33179
+  (0.0ms) commit transaction
33180
+  (0.0ms) begin transaction
33181
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
33182
+  (0.0ms) commit transaction
33183
+  (0.0ms) begin transaction
33184
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
33185
+  (0.0ms) commit transaction
33186
+  (0.0ms) begin transaction
33187
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:24:59 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]
33188
+  (0.0ms) commit transaction
33189
+  (0.0ms) begin transaction
33190
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:24:59 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]
33191
+  (0.0ms) commit transaction
33192
+  (0.0ms) begin transaction
33193
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:24:59 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]
33194
+  (0.0ms) commit transaction
33195
+ User Load (0.1ms) SELECT "users".* FROM "users"
33196
+  (0.1ms) begin transaction
33197
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]
33198
+  (0.1ms) commit transaction
33199
+  (0.0ms) begin transaction
33200
+ SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 10]]
33201
+  (0.0ms) commit transaction
33202
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1
33203
+ User Load (0.1ms) SELECT "users".* FROM "users"
33204
+  (0.0ms) begin transaction
33205
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
33206
+  (0.0ms) commit transaction
33207
+  (0.0ms) begin transaction
33208
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
33209
+  (0.0ms) commit transaction
33210
+  (0.0ms) begin transaction
33211
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
33212
+  (0.0ms) commit transaction
33213
+  (0.0ms) begin transaction
33214
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
33215
+  (0.0ms) commit transaction
33216
+  (0.0ms) begin transaction
33217
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:24:59 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]
33218
+  (0.0ms) commit transaction
33219
+  (0.0ms) begin transaction
33220
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:24:59 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]
33221
+  (0.0ms) commit transaction
33222
+  (0.0ms) begin transaction
33223
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:24:59 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]
33224
+  (0.0ms) commit transaction
33225
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
33226
+ User Load (0.1ms) SELECT "users".* FROM "users" 
33227
+  (0.0ms) begin transaction
33228
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
33229
+  (0.0ms) commit transaction
33230
+  (0.0ms) begin transaction
33231
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
33232
+  (0.0ms) commit transaction
33233
+  (0.0ms) begin transaction
33234
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
33235
+  (0.0ms) commit transaction
33236
+  (0.0ms) begin transaction
33237
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:24:59 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]
33238
+  (0.0ms) commit transaction
33239
+  (0.0ms) begin transaction
33240
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:24:59 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]
33241
+  (0.1ms) commit transaction
33242
+  (0.0ms) begin transaction
33243
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:24:59 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]
33244
+  (0.0ms) commit transaction
33245
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
33246
+ User Load (0.1ms) SELECT "users".* FROM "users" 
33247
+  (0.0ms) begin transaction
33248
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
33249
+  (0.0ms) commit transaction
33250
+  (0.0ms) begin transaction
33251
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
33252
+  (0.0ms) commit transaction
33253
+  (0.0ms) begin transaction
33254
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
33255
+  (0.0ms) commit transaction
33256
+  (0.0ms) begin transaction
33257
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:24:59 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]
33258
+  (0.0ms) commit transaction
33259
+  (0.0ms) begin transaction
33260
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:24:59 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]
33261
+  (0.0ms) commit transaction
33262
+  (0.0ms) begin transaction
33263
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:24:59 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]
33264
+  (0.0ms) commit transaction
33265
+ User Load (0.1ms) SELECT "users".* FROM "users"
33266
+ User Load (0.1ms) SELECT "users".* FROM "users" 
33267
+  (0.0ms) begin transaction
33268
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
33269
+  (0.0ms) commit transaction
33270
+  (0.0ms) begin transaction
33271
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
33272
+  (0.0ms) commit transaction
33273
+  (0.0ms) begin transaction
33274
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
33275
+  (0.0ms) commit transaction
33276
+  (0.0ms) begin transaction
33277
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:24:59 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]
33278
+  (0.0ms) commit transaction
33279
+  (0.0ms) begin transaction
33280
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:24:59 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]
33281
+  (0.0ms) commit transaction
33282
+  (0.0ms) begin transaction
33283
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:24:59 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]
33284
+  (0.0ms) commit transaction
33285
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
33286
+
33287
+
33288
+ Started GET "/" for 127.0.0.1 at 2013-09-03 10:33:50 +0600
33289
+ Processing by InvoicesController#index as HTML
33290
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.5ms)
33291
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.6ms)
33292
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.0ms)
33293
+ Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
33294
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (14.6ms)
33295
+  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
33296
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (29.2ms)
33297
+ Completed 200 OK in 35ms (Views: 32.9ms | ActiveRecord: 0.7ms)
33298
+
33299
+
33300
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600
33301
+ Served asset /application.css - 304 Not Modified (1ms)
33302
+
33303
+
33304
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600
33305
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
33306
+
33307
+
33308
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600
33309
+ Served asset /invoices.css - 304 Not Modified (0ms)
33310
+
33311
+
33312
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600
33313
+ Served asset /scaffold.css - 304 Not Modified (0ms)
33314
+
33315
+
33316
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600
33317
+ Served asset /users.css - 304 Not Modified (0ms)
33318
+
33319
+
33320
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600
33321
+ Served asset /jquery.js - 304 Not Modified (3ms)
33322
+
33323
+
33324
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600
33325
+ Served asset /invoices.js - 304 Not Modified (0ms)
33326
+
33327
+
33328
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600
33329
+ Served asset /users.js - 304 Not Modified (0ms)
33330
+
33331
+
33332
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600
33333
+ Served asset /application.js - 304 Not Modified (0ms)
33334
+ Connecting to database specified by database.yml
33335
+
33336
+
33337
+ Started GET "/" for 127.0.0.1 at 2013-09-03 10:34:20 +0600
33338
+ Processing by InvoicesController#index as HTML
33339
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (25.4ms)
33340
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.1ms)
33341
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms)
33342
+ Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
33343
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (19.2ms)
33344
+  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
33345
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (79.3ms)
33346
+ Completed 200 OK in 167ms (Views: 109.9ms | ActiveRecord: 2.4ms)
33347
+
33348
+
33349
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600
33350
+ Served asset /application.css - 304 Not Modified (4ms)
33351
+
33352
+
33353
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600
33354
+ Served asset /scaffold.css - 304 Not Modified (1ms)
33355
+
33356
+
33357
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600
33358
+ Served asset /invoices.css - 304 Not Modified (1ms)
33359
+
33360
+
33361
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600
33362
+ Served asset /jquery.js - 304 Not Modified (3ms)
33363
+
33364
+
33365
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600
33366
+ Served asset /users.css - 304 Not Modified (1ms)
33367
+
33368
+
33369
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600
33370
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
33371
+
33372
+
33373
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600
33374
+ Served asset /invoices.js - 304 Not Modified (1ms)
33375
+
33376
+
33377
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600
33378
+ Served asset /users.js - 304 Not Modified (1ms)
33379
+
33380
+
33381
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600
33382
+ Served asset /application.js - 304 Not Modified (4ms)
33383
+
33384
+
33385
+ Started GET "/" for 127.0.0.1 at 2013-09-03 10:35:16 +0600
33386
+ Processing by InvoicesController#index as HTML
33387
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.8ms)
33388
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.6ms)
33389
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms)
33390
+ Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
33391
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.9ms)
33392
+  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
33393
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (30.9ms)
33394
+ Completed 500 Internal Server Error in 37ms
33395
+
33396
+ NoMethodError (undefined method `default' for #<Array:0x007fa6348a4df0>):
33397
+ app/controllers/invoices_controller.rb:40:in `index'
33398
+
33399
+
33400
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
33401
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
33402
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.0ms)
33403
+
33404
+
33405
+ Started GET "/" for 127.0.0.1 at 2013-09-03 10:35:28 +0600
33406
+ Processing by InvoicesController#index as HTML
33407
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.1ms)
33408
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.6ms)
33409
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms)
33410
+ Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0
33411
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (14.9ms)
33412
+  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))
33413
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (28.8ms)
33414
+ Completed 200 OK in 35ms (Views: 32.1ms | ActiveRecord: 0.7ms)
33415
+
33416
+
33417
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600
33418
+ Served asset /application.css - 304 Not Modified (5ms)
33419
+
33420
+
33421
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600
33422
+ Served asset /users.css - 304 Not Modified (0ms)
33423
+
33424
+
33425
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600
33426
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
33427
+
33428
+
33429
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600
33430
+ Served asset /invoices.css - 304 Not Modified (0ms)
33431
+
33432
+
33433
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600
33434
+ Served asset /jquery.js - 304 Not Modified (24ms)
33435
+
33436
+
33437
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600
33438
+ Served asset /scaffold.css - 304 Not Modified (0ms)
33439
+
33440
+
33441
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600
33442
+ Served asset /invoices.js - 304 Not Modified (0ms)
33443
+
33444
+
33445
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600
33446
+ Served asset /users.js - 304 Not Modified (0ms)
33447
+
33448
+
33449
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600
33450
+ Served asset /application.js - 304 Not Modified (0ms)
33451
+ Connecting to database specified by database.yml
33452
+ Connecting to database specified by database.yml
33453
+ Connecting to database specified by database.yml
33454
+ Connecting to database specified by database.yml
33455
+ Connecting to database specified by database.yml
33456
+ Connecting to database specified by database.yml
33457
+ Connecting to database specified by database.yml
33458
+ Connecting to database specified by database.yml
33459
+  (3.2ms) select sqlite_version(*)
33460
+  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
33461
+  (0.2ms) CREATE 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) 
33462
+  (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
33463
+  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
33464
+  (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
33465
+  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
33466
+ User Load (11.6ms) SELECT "users".* FROM "users"
33467
+  (0.1ms) begin transaction
33468
+ SQL (32.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:32:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]
33469
+  (0.1ms) commit transaction
33470
+  (0.0ms) begin transaction
33471
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:32:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]
33472
+  (0.0ms) commit transaction
33473
+  (0.0ms) begin transaction
33474
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:32:05 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]
33475
+  (0.0ms) commit transaction
33476
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
33477
+ User Load (0.1ms) SELECT "users".* FROM "users" 
33478
+  (0.0ms) begin transaction
33479
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
33480
+  (0.0ms) commit transaction
33481
+  (0.0ms) begin transaction
33482
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
33483
+  (0.0ms) commit transaction
33484
+  (0.0ms) begin transaction
33485
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
33486
+  (0.0ms) commit transaction
33487
+  (0.0ms) begin transaction
33488
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:32:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]
33489
+  (0.0ms) commit transaction
33490
+  (0.0ms) begin transaction
33491
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:32:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]
33492
+  (0.0ms) commit transaction
33493
+  (0.0ms) begin transaction
33494
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:32:05 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]
33495
+  (0.0ms) commit transaction
33496
+ User Load (0.1ms) SELECT "users".* FROM "users"
33497
+ User Load (0.1ms) SELECT "users".* FROM "users" 
33498
+  (0.0ms) begin transaction
33499
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
33500
+  (0.0ms) commit transaction
33501
+  (0.0ms) begin transaction
33502
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
33503
+  (0.0ms) commit transaction
33504
+  (0.0ms) begin transaction
33505
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
33506
+  (0.0ms) commit transaction
33507
+  (0.0ms) begin transaction
33508
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:32:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]
33509
+  (0.0ms) commit transaction
33510
+  (0.0ms) begin transaction
33511
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:32:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]
33512
+  (0.0ms) commit transaction
33513
+  (0.0ms) begin transaction
33514
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:32:05 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]
33515
+  (0.0ms) commit transaction
33516
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-04 00:00:00.000000' AND "users"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0
33517
+ User Load (0.1ms) SELECT "users".* FROM "users" 
33518
+  (0.0ms) begin transaction
33519
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
33520
+  (0.0ms) commit transaction
33521
+  (0.0ms) begin transaction
33522
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
33523
+  (0.0ms) commit transaction
33524
+  (0.0ms) begin transaction
33525
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
33526
+  (0.0ms) commit transaction
33527
+  (0.0ms) begin transaction
33528
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:32:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]
33529
+  (0.0ms) commit transaction
33530
+  (0.0ms) begin transaction
33531
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:32:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]
33532
+  (0.0ms) commit transaction
33533
+  (0.0ms) begin transaction
33534
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:32:05 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]
33535
+  (0.0ms) commit transaction
33536
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
33537
+  (0.1ms) begin transaction
33538
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]
33539
+  (0.0ms) commit transaction
33540
+  (0.0ms) begin transaction
33541
+ SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 13]]
33542
+  (0.0ms) commit transaction
33543
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1
33544
+ User Load (0.1ms) SELECT "users".* FROM "users"
33545
+  (0.0ms) begin transaction
33546
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
33547
+  (0.0ms) commit transaction
33548
+  (0.0ms) begin transaction
33549
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
33550
+  (0.0ms) commit transaction
33551
+  (0.0ms) begin transaction
33552
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
33553
+  (0.0ms) commit transaction
33554
+  (0.0ms) begin transaction
33555
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
33556
+  (0.0ms) commit transaction
33557
+  (0.0ms) begin transaction
33558
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:32:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]
33559
+  (0.0ms) commit transaction
33560
+  (0.0ms) begin transaction
33561
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:32:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]
33562
+  (0.0ms) commit transaction
33563
+  (0.0ms) begin transaction
33564
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:32:05 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]
33565
+  (0.0ms) commit transaction
33566
+ User Load (0.1ms) SELECT "users".* FROM "users"
33567
+ User Load (0.1ms) SELECT "users".* FROM "users" 
33568
+  (0.0ms) begin transaction
33569
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
33570
+  (0.0ms) commit transaction
33571
+  (0.0ms) begin transaction
33572
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
33573
+  (0.0ms) commit transaction
33574
+  (0.0ms) begin transaction
33575
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
33576
+  (0.0ms) commit transaction
33577
+  (0.0ms) begin transaction
33578
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:32:06 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:32:06 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:32:06 UTC +00:00]]
33579
+  (0.0ms) commit transaction
33580
+  (0.0ms) begin transaction
33581
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:32:06 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:32:06 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:32:06 UTC +00:00]]
33582
+  (0.0ms) commit transaction
33583
+  (0.0ms) begin transaction
33584
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:32:06 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:32:06 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:32:06 UTC +00:00]]
33585
+  (0.0ms) commit transaction
33586
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"
33587
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
33588
+ User Load (0.1ms) SELECT "users".* FROM "users"
33589
+ User Load (0.2ms) SELECT "users".* FROM "users" 
33590
+  (0.1ms) begin transaction
33591
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
33592
+  (0.0ms) commit transaction
33593
+  (0.0ms) begin transaction
33594
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
33595
+  (0.0ms) commit transaction
33596
+  (0.0ms) begin transaction
33597
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
33598
+  (0.0ms) commit transaction
33599
+  (0.1ms) begin transaction
33600
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:32:08 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:32:08 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:32:08 UTC +00:00]]
33601
+  (0.0ms) commit transaction
33602
+  (0.0ms) begin transaction
33603
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:32:08 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:32:08 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:32:08 UTC +00:00]]
33604
+  (0.0ms) commit transaction
33605
+  (0.0ms) begin transaction
33606
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:32:08 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:32:08 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:32:08 UTC +00:00]]
33607
+  (0.0ms) commit transaction
33608
+ User Load (0.1ms) SELECT "users".* FROM "users"
33609
+ Connecting to database specified by database.yml
33610
+
33611
+
33612
+ Started GET "/invoices" for 127.0.0.1 at 2013-09-04 09:40:01 +0600
33613
+ Processing by InvoicesController#index as HTML
33614
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (40.8ms)
33615
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (3.3ms)
33616
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.9ms)
33617
+ Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
33618
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (14.0ms)
33619
+  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f'))
33620
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (165.5ms)
33621
+ Completed 200 OK in 505ms (Views: 344.5ms | ActiveRecord: 36.4ms)
33622
+
33623
+
33624
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600
33625
+ Served asset /application.css - 304 Not Modified (14ms)
33626
+
33627
+
33628
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600
33629
+ Served asset /invoices.js - 304 Not Modified (1ms)
33630
+
33631
+
33632
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600
33633
+ Served asset /users.css - 304 Not Modified (1ms)
33634
+
33635
+
33636
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600
33637
+ Served asset /users.js - 304 Not Modified (1ms)
33638
+
33639
+
33640
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600
33641
+ Served asset /scaffold.css - 304 Not Modified (2ms)
33642
+
33643
+
33644
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600
33645
+ Served asset /invoices.css - 304 Not Modified (1ms)
33646
+
33647
+
33648
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600
33649
+ Served asset /application.js - 304 Not Modified (6ms)
33650
+
33651
+
33652
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600
33653
+ Served asset /jquery.js - 200 OK (2ms)
33654
+
33655
+
33656
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600
33657
+ Served asset /jquery_ujs.js - 200 OK (1ms)
33658
+
33659
+
33660
+ Started GET "/invoices" for 127.0.0.1 at 2013-09-04 09:40:27 +0600
33661
+ Processing by InvoicesController#index as HTML
33662
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.7ms)
33663
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.8ms)
33664
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms)
33665
+ Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
33666
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.7ms)
33667
+  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f'))
33668
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (30.4ms)
33669
+ Completed 200 OK in 39ms (Views: 35.6ms | ActiveRecord: 0.9ms)
33670
+
33671
+
33672
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600
33673
+ Served asset /application.css - 304 Not Modified (17ms)
33674
+
33675
+
33676
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600
33677
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
33678
+
33679
+
33680
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600
33681
+ Served asset /users.css - 304 Not Modified (0ms)
33682
+
33683
+
33684
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600
33685
+ Served asset /jquery.js - 304 Not Modified (9ms)
33686
+
33687
+
33688
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600
33689
+ Served asset /scaffold.css - 304 Not Modified (0ms)
33690
+
33691
+
33692
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600
33693
+ Served asset /invoices.css - 304 Not Modified (0ms)
33694
+
33695
+
33696
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600
33697
+ Served asset /invoices.js - 304 Not Modified (0ms)
33698
+
33699
+
33700
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600
33701
+ Served asset /users.js - 304 Not Modified (0ms)
33702
+
33703
+
33704
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600
33705
+ Served asset /application.js - 304 Not Modified (2ms)
33706
+
33707
+
33708
+ Started GET "/invoices" for 127.0.0.1 at 2013-09-04 09:41:23 +0600
33709
+ Processing by InvoicesController#index as HTML
33710
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (14.9ms)
33711
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.6ms)
33712
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms)
33713
+ Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0
33714
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (28.6ms)
33715
+  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000'))
33716
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (56.9ms)
33717
+ Completed 200 OK in 72ms (Views: 66.5ms | ActiveRecord: 1.6ms)
33718
+
33719
+
33720
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600
33721
+ Served asset /application.css - 200 OK (11ms)
33722
+
33723
+
33724
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600
33725
+ Served asset /scaffold.css - 200 OK (0ms)
33726
+
33727
+
33728
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600
33729
+ Served asset /jquery.js - 200 OK (0ms)
33730
+
33731
+
33732
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600
33733
+ Served asset /users.css - 200 OK (0ms)
33734
+
33735
+
33736
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600
33737
+ Served asset /invoices.css - 200 OK (0ms)
33738
+
33739
+
33740
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600
33741
+ Served asset /jquery_ujs.js - 200 OK (2ms)
33742
+
33743
+
33744
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600
33745
+ Served asset /invoices.js - 200 OK (0ms)
33746
+
33747
+
33748
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600
33749
+ Served asset /users.js - 200 OK (0ms)
33750
+
33751
+
33752
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600
33753
+ Served asset /application.js - 200 OK (1ms)
33754
+
33755
+
33756
+ Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=test&q%5Bcreated_at_gteq%5D=2013-04-04&q%5Bcreated_at_lteq%5D=2013-10-04&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-09-04 09:41:28 +0600
33757
+ Processing by InvoicesController#index as HTML
33758
+ Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"test", "created_at_gteq"=>"2013-04-04", "created_at_lteq"=>"2013-10-04", "paid_eq"=>""}, "commit"=>"Search"}
33759
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (9.5ms)
33760
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.4ms)
33761
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms)
33762
+ Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0
33763
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (8.2ms)
33764
+  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000'))
33765
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (25.2ms)
33766
+ Completed 200 OK in 32ms (Views: 30.2ms | ActiveRecord: 0.4ms)
33767
+
33768
+
33769
+ Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-04-04&q%5Bcreated_at_lteq%5D=2013-10-04&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-09-04 09:41:32 +0600
33770
+ Processing by InvoicesController#index as HTML
33771
+ Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-04-04", "created_at_lteq"=>"2013-10-04", "paid_eq"=>""}, "commit"=>"Search"}
33772
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (8.6ms)
33773
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.4ms)
33774
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms)
33775
+ Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0
33776
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.3ms)
33777
+  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000'))
33778
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (61.9ms)
33779
+ Completed 200 OK in 68ms (Views: 67.0ms | ActiveRecord: 0.5ms)
33780
+
33781
+
33782
+ Started GET "/" for 127.0.0.1 at 2013-09-04 09:41:48 +0600
33783
+ Processing by InvoicesController#index as HTML
33784
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (6.7ms)
33785
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.8ms)
33786
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms)
33787
+ Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0
33788
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (19.5ms)
33789
+  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000'))
33790
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (39.3ms)
33791
+ Completed 200 OK in 47ms (Views: 44.0ms | ActiveRecord: 0.9ms)
33792
+ Connecting to database specified by database.yml
33793
+ Connecting to database specified by database.yml
33794
+
33795
+
33796
+ Started GET "/" for 127.0.0.1 at 2013-09-04 09:45:14 +0600
33797
+ Processing by InvoicesController#index as HTML
33798
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (16.1ms)
33799
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.6ms)
33800
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.8ms)
33801
+ Invoice Load (0.6ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0
33802
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (85.3ms)
33803
+  (0.5ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000'))
33804
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (202.8ms)
33805
+ Completed 200 OK in 330ms (Views: 234.6ms | ActiveRecord: 23.0ms)
33806
+
33807
+
33808
+ Started GET "/" for 127.0.0.1 at 2013-09-04 09:45:28 +0600
33809
+ Processing by InvoicesController#index as HTML
33810
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (12.1ms)
33811
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.9ms)
33812
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms)
33813
+ Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
33814
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (20.0ms)
33815
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f'))
33816
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (45.2ms)
33817
+ Completed 200 OK in 56ms (Views: 50.8ms | ActiveRecord: 1.5ms)
33818
+
33819
+
33820
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600
33821
+ Served asset /application.css - 200 OK (12ms)
33822
+
33823
+
33824
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600
33825
+ Served asset /scaffold.css - 200 OK (1ms)
33826
+
33827
+
33828
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600
33829
+ Served asset /users.css - 200 OK (3ms)
33830
+
33831
+
33832
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600
33833
+ Served asset /invoices.css - 200 OK (1ms)
33834
+
33835
+
33836
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600
33837
+ Served asset /jquery.js - 200 OK (9ms)
33838
+
33839
+
33840
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600
33841
+ Served asset /jquery_ujs.js - 200 OK (1ms)
33842
+
33843
+
33844
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600
33845
+ Served asset /invoices.js - 200 OK (1ms)
33846
+
33847
+
33848
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600
33849
+ Served asset /application.js - 200 OK (5ms)
33850
+
33851
+
33852
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600
33853
+ Served asset /users.js - 200 OK (1ms)
33854
+ Connecting to database specified by database.yml
33855
+  (34.1ms) select sqlite_version(*)
33856
+  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
33857
+  (0.3ms) CREATE 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) 
33858
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
33859
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
33860
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
33861
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
33862
+ User Load (2.2ms) SELECT "users".* FROM "users"
33863
+  (0.1ms) begin transaction
33864
+ SQL (6.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:46:55 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33865
+  (0.1ms) commit transaction
33866
+  (0.1ms) begin transaction
33867
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:46:55 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33868
+  (0.1ms) commit transaction
33869
+  (0.1ms) begin transaction
33870
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:46:55 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33871
+  (0.1ms) commit transaction
33872
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
33873
+ User Load (0.2ms) SELECT "users".* FROM "users" 
33874
+  (0.1ms) begin transaction
33875
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
33876
+  (0.1ms) commit transaction
33877
+  (0.1ms) begin transaction
33878
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
33879
+  (0.1ms) commit transaction
33880
+  (0.1ms) begin transaction
33881
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
33882
+  (0.1ms) commit transaction
33883
+  (0.1ms) begin transaction
33884
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:46:55 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33885
+  (0.1ms) commit transaction
33886
+  (0.1ms) begin transaction
33887
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:46:55 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33888
+  (0.1ms) commit transaction
33889
+  (0.1ms) begin transaction
33890
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:46:55 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33891
+  (0.1ms) commit transaction
33892
+ User Load (0.2ms) SELECT "users".* FROM "users"
33893
+ User Load (0.2ms) SELECT "users".* FROM "users" 
33894
+  (0.1ms) begin transaction
33895
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
33896
+  (0.1ms) commit transaction
33897
+  (0.1ms) begin transaction
33898
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
33899
+  (0.1ms) commit transaction
33900
+  (0.1ms) begin transaction
33901
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
33902
+  (0.1ms) commit transaction
33903
+  (0.1ms) begin transaction
33904
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:46:55 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33905
+  (0.1ms) commit transaction
33906
+  (0.1ms) begin transaction
33907
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:46:55 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33908
+  (0.1ms) commit transaction
33909
+  (0.1ms) begin transaction
33910
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:46:55 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33911
+  (0.0ms) commit transaction
33912
+ User Load (0.2ms) SELECT "users".* FROM "users"
33913
+  (0.0ms) begin transaction
33914
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
33915
+  (0.1ms) commit transaction
33916
+  (0.1ms) begin transaction
33917
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
33918
+  (0.1ms) commit transaction
33919
+  (0.1ms) begin transaction
33920
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
33921
+  (0.1ms) commit transaction
33922
+  (0.1ms) begin transaction
33923
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:46:55 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33924
+  (0.1ms) commit transaction
33925
+  (0.1ms) begin transaction
33926
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:46:55 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33927
+  (0.1ms) commit transaction
33928
+  (0.1ms) begin transaction
33929
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:46:55 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33930
+  (0.1ms) commit transaction
33931
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
33932
+ User Load (0.2ms) SELECT "users".* FROM "users"
33933
+  (0.1ms) begin transaction
33934
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
33935
+  (0.1ms) commit transaction
33936
+  (0.1ms) begin transaction
33937
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
33938
+  (0.1ms) commit transaction
33939
+  (0.1ms) begin transaction
33940
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
33941
+  (0.1ms) commit transaction
33942
+  (0.1ms) begin transaction
33943
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:46:55 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33944
+  (0.1ms) commit transaction
33945
+  (0.1ms) begin transaction
33946
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:46:55 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33947
+  (0.1ms) commit transaction
33948
+  (0.1ms) begin transaction
33949
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:46:55 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33950
+  (0.1ms) commit transaction
33951
+ User Load (0.2ms) SELECT "users".* FROM "users" 
33952
+ User Load (0.1ms) SELECT "users".* FROM "users"
33953
+  (0.1ms) begin transaction
33954
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
33955
+  (0.0ms) commit transaction
33956
+  (0.0ms) begin transaction
33957
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
33958
+  (0.1ms) commit transaction
33959
+  (0.0ms) begin transaction
33960
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
33961
+  (0.0ms) commit transaction
33962
+  (0.1ms) begin transaction
33963
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:46:55 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33964
+  (0.0ms) commit transaction
33965
+  (0.0ms) begin transaction
33966
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:46:55 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33967
+  (0.0ms) commit transaction
33968
+  (0.0ms) begin transaction
33969
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:46:55 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]
33970
+  (0.0ms) commit transaction
33971
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
33972
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"
33973
+ User Load (0.1ms) SELECT "users".* FROM "users" 
33974
+ User Load (0.3ms) SELECT "users".* FROM "users"
33975
+  (0.1ms) begin transaction
33976
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
33977
+  (0.1ms) commit transaction
33978
+  (0.1ms) begin transaction
33979
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
33980
+  (0.1ms) commit transaction
33981
+  (0.1ms) begin transaction
33982
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
33983
+  (0.1ms) commit transaction
33984
+  (0.1ms) begin transaction
33985
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:46:57 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:46:57 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:46:57 UTC +00:00]]
33986
+  (0.1ms) commit transaction
33987
+  (0.1ms) begin transaction
33988
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:46:57 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:46:57 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:46:57 UTC +00:00]]
33989
+  (0.1ms) commit transaction
33990
+  (0.1ms) begin transaction
33991
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:46:57 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:46:57 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:46:57 UTC +00:00]]
33992
+  (0.1ms) commit transaction
33993
+ User Load (0.2ms) SELECT "users".* FROM "users" 
33994
+  (0.0ms) begin transaction
33995
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 03:46:58 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 03:46:58 UTC +00:00]]
33996
+  (0.0ms) commit transaction
33997
+  (0.0ms) begin transaction
33998
+ SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]
33999
+  (0.0ms) commit transaction
34000
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1
34001
+ Connecting to database specified by database.yml
34002
+  (34.3ms) select sqlite_version(*)
34003
+  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
34004
+  (0.3ms) CREATE 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) 
34005
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
34006
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
34007
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
34008
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
34009
+  (0.1ms) begin transaction
34010
+ SQL (44.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34011
+  (0.1ms) commit transaction
34012
+  (0.1ms) begin transaction
34013
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
34014
+  (0.1ms) commit transaction
34015
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
34016
+ User Load (0.2ms) SELECT "users".* FROM "users" 
34017
+  (0.1ms) begin transaction
34018
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
34019
+  (0.1ms) commit transaction
34020
+  (0.0ms) begin transaction
34021
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:25 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34022
+  (0.0ms) commit transaction
34023
+  (0.1ms) begin transaction
34024
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:25 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34025
+  (0.0ms) commit transaction
34026
+  (0.0ms) begin transaction
34027
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:25 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34028
+  (0.1ms) commit transaction
34029
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
34030
+ User Load (0.2ms) SELECT "users".* FROM "users" 
34031
+  (0.1ms) begin transaction
34032
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
34033
+  (0.1ms) commit transaction
34034
+  (0.1ms) begin transaction
34035
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
34036
+  (0.1ms) commit transaction
34037
+  (0.1ms) begin transaction
34038
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
34039
+  (0.1ms) commit transaction
34040
+  (0.1ms) begin transaction
34041
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:25 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34042
+  (0.1ms) commit transaction
34043
+  (0.1ms) begin transaction
34044
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:25 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34045
+  (0.1ms) commit transaction
34046
+  (0.1ms) begin transaction
34047
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:25 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34048
+  (0.1ms) commit transaction
34049
+ User Load (0.1ms) SELECT "users".* FROM "users"
34050
+  (0.0ms) begin transaction
34051
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
34052
+  (0.0ms) commit transaction
34053
+  (0.0ms) begin transaction
34054
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
34055
+  (0.1ms) commit transaction
34056
+  (0.1ms) begin transaction
34057
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
34058
+  (0.1ms) commit transaction
34059
+  (0.0ms) begin transaction
34060
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:25 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34061
+  (0.0ms) commit transaction
34062
+  (0.0ms) begin transaction
34063
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:25 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34064
+  (0.0ms) commit transaction
34065
+  (0.0ms) begin transaction
34066
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:25 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34067
+  (0.0ms) commit transaction
34068
+ User Load (0.1ms) SELECT "users".* FROM "users" 
34069
+ User Load (0.1ms) SELECT "users".* FROM "users"
34070
+  (0.0ms) begin transaction
34071
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
34072
+  (0.0ms) commit transaction
34073
+  (0.0ms) begin transaction
34074
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
34075
+  (0.0ms) commit transaction
34076
+  (0.0ms) begin transaction
34077
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
34078
+  (0.0ms) commit transaction
34079
+  (0.0ms) begin transaction
34080
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:25 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34081
+  (0.0ms) commit transaction
34082
+  (0.0ms) begin transaction
34083
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:25 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34084
+  (0.0ms) commit transaction
34085
+  (0.0ms) begin transaction
34086
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:25 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34087
+  (0.0ms) commit transaction
34088
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
34089
+ User Load (0.1ms) SELECT "users".* FROM "users"
34090
+  (0.0ms) begin transaction
34091
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
34092
+  (0.0ms) commit transaction
34093
+  (0.0ms) begin transaction
34094
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
34095
+  (0.0ms) commit transaction
34096
+  (0.0ms) begin transaction
34097
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
34098
+  (0.0ms) commit transaction
34099
+  (0.0ms) begin transaction
34100
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:25 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34101
+  (0.0ms) commit transaction
34102
+  (0.0ms) begin transaction
34103
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:25 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34104
+  (0.0ms) commit transaction
34105
+  (0.0ms) begin transaction
34106
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:25 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34107
+  (0.0ms) commit transaction
34108
+ User Load (0.1ms) SELECT "users".* FROM "users" 
34109
+ User Load (0.1ms) SELECT "users".* FROM "users"
34110
+  (0.0ms) begin transaction
34111
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
34112
+  (0.0ms) commit transaction
34113
+  (0.0ms) begin transaction
34114
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
34115
+  (0.0ms) commit transaction
34116
+  (0.0ms) begin transaction
34117
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
34118
+  (0.0ms) commit transaction
34119
+  (0.0ms) begin transaction
34120
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:25 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34121
+  (0.0ms) commit transaction
34122
+  (0.0ms) begin transaction
34123
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:25 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34124
+  (0.0ms) commit transaction
34125
+  (0.0ms) begin transaction
34126
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:25 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]
34127
+  (0.0ms) commit transaction
34128
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
34129
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"
34130
+ User Load (0.1ms) SELECT "users".* FROM "users" 
34131
+ User Load (0.1ms) SELECT "users".* FROM "users"
34132
+  (0.0ms) begin transaction
34133
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
34134
+  (0.0ms) commit transaction
34135
+  (0.0ms) begin transaction
34136
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
34137
+  (0.0ms) commit transaction
34138
+  (0.0ms) begin transaction
34139
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
34140
+  (0.0ms) commit transaction
34141
+  (0.0ms) begin transaction
34142
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:27 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:27 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:27 UTC +00:00]]
34143
+  (0.0ms) commit transaction
34144
+  (0.0ms) begin transaction
34145
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:27 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:27 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:27 UTC +00:00]]
34146
+  (0.0ms) commit transaction
34147
+  (0.0ms) begin transaction
34148
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:27 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:27 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:27 UTC +00:00]]
34149
+  (0.0ms) commit transaction
34150
+ User Load (0.1ms) SELECT "users".* FROM "users" 
34151
+ Connecting to database specified by database.yml
34152
+  (1.6ms) select sqlite_version(*)
34153
+  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
34154
+  (0.1ms) CREATE 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) 
34155
+  (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
34156
+  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
34157
+  (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
34158
+  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
34159
+ User Load (2.2ms) SELECT "users".* FROM "users"
34160
+  (0.1ms) begin transaction
34161
+ SQL (38.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:37 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34162
+  (0.1ms) commit transaction
34163
+  (0.1ms) begin transaction
34164
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:37 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34165
+  (0.1ms) commit transaction
34166
+  (0.1ms) begin transaction
34167
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:37 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34168
+  (0.1ms) commit transaction
34169
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
34170
+ User Load (0.2ms) SELECT "users".* FROM "users" 
34171
+  (0.1ms) begin transaction
34172
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
34173
+  (0.1ms) commit transaction
34174
+  (0.1ms) begin transaction
34175
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
34176
+  (0.1ms) commit transaction
34177
+  (0.1ms) begin transaction
34178
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
34179
+  (0.1ms) commit transaction
34180
+  (0.1ms) begin transaction
34181
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:37 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34182
+  (0.1ms) commit transaction
34183
+  (0.1ms) begin transaction
34184
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:37 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34185
+  (0.1ms) commit transaction
34186
+  (0.0ms) begin transaction
34187
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:37 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34188
+  (0.0ms) commit transaction
34189
+ User Load (0.1ms) SELECT "users".* FROM "users"
34190
+  (0.0ms) begin transaction
34191
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
34192
+  (0.0ms) commit transaction
34193
+  (0.0ms) begin transaction
34194
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
34195
+  (0.0ms) commit transaction
34196
+  (0.0ms) begin transaction
34197
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
34198
+  (0.0ms) commit transaction
34199
+  (0.0ms) begin transaction
34200
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:37 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34201
+  (0.0ms) commit transaction
34202
+  (0.0ms) begin transaction
34203
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:37 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34204
+  (0.0ms) commit transaction
34205
+  (0.0ms) begin transaction
34206
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:37 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34207
+  (0.0ms) commit transaction
34208
+ User Load (0.1ms) SELECT "users".* FROM "users" 
34209
+ User Load (0.1ms) SELECT "users".* FROM "users"
34210
+  (0.0ms) begin transaction
34211
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
34212
+  (0.0ms) commit transaction
34213
+  (0.0ms) begin transaction
34214
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
34215
+  (0.0ms) commit transaction
34216
+  (0.0ms) begin transaction
34217
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
34218
+  (0.0ms) commit transaction
34219
+  (0.0ms) begin transaction
34220
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:37 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34221
+  (0.0ms) commit transaction
34222
+  (0.0ms) begin transaction
34223
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:37 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34224
+  (0.0ms) commit transaction
34225
+  (0.0ms) begin transaction
34226
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:37 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34227
+  (0.0ms) commit transaction
34228
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
34229
+ User Load (0.1ms) SELECT "users".* FROM "users"
34230
+  (0.0ms) begin transaction
34231
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
34232
+  (0.0ms) commit transaction
34233
+  (0.0ms) begin transaction
34234
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
34235
+  (0.0ms) commit transaction
34236
+  (0.0ms) begin transaction
34237
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
34238
+  (0.0ms) commit transaction
34239
+  (0.0ms) begin transaction
34240
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:37 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34241
+  (0.0ms) commit transaction
34242
+  (0.0ms) begin transaction
34243
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:37 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34244
+  (0.0ms) commit transaction
34245
+  (0.0ms) begin transaction
34246
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:37 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34247
+  (0.0ms) commit transaction
34248
+ User Load (0.1ms) SELECT "users".* FROM "users" 
34249
+ User Load (0.1ms) SELECT "users".* FROM "users"
34250
+  (0.0ms) begin transaction
34251
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
34252
+  (0.0ms) commit transaction
34253
+  (0.0ms) begin transaction
34254
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
34255
+  (0.0ms) commit transaction
34256
+  (0.0ms) begin transaction
34257
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
34258
+  (0.0ms) commit transaction
34259
+  (0.0ms) begin transaction
34260
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:37 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34261
+  (0.0ms) commit transaction
34262
+  (0.0ms) begin transaction
34263
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:37 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34264
+  (0.0ms) commit transaction
34265
+  (0.0ms) begin transaction
34266
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:37 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]
34267
+  (0.0ms) commit transaction
34268
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
34269
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"
34270
+ User Load (0.1ms) SELECT "users".* FROM "users" 
34271
+ User Load (0.3ms) SELECT "users".* FROM "users"
34272
+  (0.1ms) begin transaction
34273
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
34274
+  (0.1ms) commit transaction
34275
+  (0.1ms) begin transaction
34276
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
34277
+  (0.1ms) commit transaction
34278
+  (0.1ms) begin transaction
34279
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
34280
+  (0.1ms) commit transaction
34281
+  (0.1ms) begin transaction
34282
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:39 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:39 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:39 UTC +00:00]]
34283
+  (0.1ms) commit transaction
34284
+  (0.1ms) begin transaction
34285
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:39 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:39 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:39 UTC +00:00]]
34286
+  (0.1ms) commit transaction
34287
+  (0.1ms) begin transaction
34288
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:39 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:39 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:39 UTC +00:00]]
34289
+  (0.1ms) commit transaction
34290
+ User Load (0.2ms) SELECT "users".* FROM "users" 
34291
+  (0.1ms) begin transaction
34292
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 03:47:40 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 03:47:40 UTC +00:00]]
34293
+  (0.1ms) commit transaction
34294
+  (0.1ms) begin transaction
34295
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]
34296
+  (0.1ms) commit transaction
34297
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1
34298
+ Connecting to database specified by database.yml
34299
+  (1.6ms) select sqlite_version(*)
34300
+  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
34301
+  (0.1ms) CREATE 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) 
34302
+  (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
34303
+  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
34304
+  (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
34305
+  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
34306
+ User Load (1.2ms) SELECT "users".* FROM "users"
34307
+  (0.0ms) begin transaction
34308
+ SQL (25.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:48:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34309
+  (0.1ms) commit transaction
34310
+  (0.1ms) begin transaction
34311
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:48:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34312
+  (0.1ms) commit transaction
34313
+  (0.1ms) begin transaction
34314
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:48:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34315
+  (0.1ms) commit transaction
34316
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
34317
+ User Load (0.2ms) SELECT "users".* FROM "users" 
34318
+  (0.1ms) begin transaction
34319
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
34320
+  (0.1ms) commit transaction
34321
+  (0.1ms) begin transaction
34322
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
34323
+  (0.1ms) commit transaction
34324
+  (0.1ms) begin transaction
34325
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
34326
+  (0.1ms) commit transaction
34327
+  (0.1ms) begin transaction
34328
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:48:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34329
+  (0.1ms) commit transaction
34330
+  (0.1ms) begin transaction
34331
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:48:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34332
+  (0.1ms) commit transaction
34333
+  (0.1ms) begin transaction
34334
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:48:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34335
+  (0.1ms) commit transaction
34336
+ User Load (0.2ms) SELECT "users".* FROM "users"
34337
+ User Load (0.2ms) SELECT "users".* FROM "users" 
34338
+  (0.1ms) begin transaction
34339
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
34340
+  (0.1ms) commit transaction
34341
+  (0.1ms) begin transaction
34342
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
34343
+  (0.1ms) commit transaction
34344
+  (0.0ms) begin transaction
34345
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
34346
+  (0.1ms) commit transaction
34347
+  (0.1ms) begin transaction
34348
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:48:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34349
+  (0.1ms) commit transaction
34350
+  (0.1ms) begin transaction
34351
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:48:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34352
+  (0.1ms) commit transaction
34353
+  (0.1ms) begin transaction
34354
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:48:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34355
+  (0.0ms) commit transaction
34356
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-04 00:00:00.000000' AND "users"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0
34357
+ User Load (0.2ms) SELECT "users".* FROM "users" 
34358
+  (0.1ms) begin transaction
34359
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
34360
+  (0.1ms) commit transaction
34361
+  (0.1ms) begin transaction
34362
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
34363
+  (0.1ms) commit transaction
34364
+  (0.1ms) begin transaction
34365
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
34366
+  (0.1ms) commit transaction
34367
+  (0.1ms) begin transaction
34368
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:48:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34369
+  (0.1ms) commit transaction
34370
+  (0.1ms) begin transaction
34371
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:48:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34372
+  (0.1ms) commit transaction
34373
+  (0.1ms) begin transaction
34374
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:48:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34375
+  (0.1ms) commit transaction
34376
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
34377
+ User Load (0.2ms) SELECT "users".* FROM "users" 
34378
+  (0.1ms) begin transaction
34379
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
34380
+  (0.1ms) commit transaction
34381
+  (0.1ms) begin transaction
34382
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
34383
+  (0.0ms) commit transaction
34384
+  (0.0ms) begin transaction
34385
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
34386
+  (0.0ms) commit transaction
34387
+  (0.1ms) begin transaction
34388
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:48:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34389
+  (0.1ms) commit transaction
34390
+  (0.1ms) begin transaction
34391
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:48:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34392
+  (0.1ms) commit transaction
34393
+  (0.1ms) begin transaction
34394
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:48:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34395
+  (0.1ms) commit transaction
34396
+ User Load (0.2ms) SELECT "users".* FROM "users"
34397
+ User Load (0.1ms) SELECT "users".* FROM "users" 
34398
+  (0.0ms) begin transaction
34399
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
34400
+  (0.0ms) commit transaction
34401
+  (0.0ms) begin transaction
34402
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
34403
+  (0.0ms) commit transaction
34404
+  (0.0ms) begin transaction
34405
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
34406
+  (0.0ms) commit transaction
34407
+  (0.0ms) begin transaction
34408
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:48:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34409
+  (0.0ms) commit transaction
34410
+  (0.0ms) begin transaction
34411
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:48:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34412
+  (0.0ms) commit transaction
34413
+  (0.0ms) begin transaction
34414
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:48:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]
34415
+  (0.0ms) commit transaction
34416
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"
34417
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
34418
+ User Load (0.1ms) SELECT "users".* FROM "users"
34419
+ User Load (0.1ms) SELECT "users".* FROM "users" 
34420
+  (0.0ms) begin transaction
34421
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
34422
+  (0.0ms) commit transaction
34423
+  (0.0ms) begin transaction
34424
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
34425
+  (0.0ms) commit transaction
34426
+  (0.0ms) begin transaction
34427
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
34428
+  (0.0ms) commit transaction
34429
+  (0.0ms) begin transaction
34430
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:48:56 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:48:56 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:48:56 UTC +00:00]]
34431
+  (0.0ms) commit transaction
34432
+  (0.0ms) begin transaction
34433
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:48:56 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:48:56 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:48:56 UTC +00:00]]
34434
+  (0.0ms) commit transaction
34435
+  (0.0ms) begin transaction
34436
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:48:56 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:48:56 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:48:56 UTC +00:00]]
34437
+  (0.0ms) commit transaction
34438
+ User Load (0.1ms) SELECT "users".* FROM "users"
34439
+  (0.0ms) begin transaction
34440
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 03:48:57 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 03:48:57 UTC +00:00]]
34441
+  (0.0ms) commit transaction
34442
+  (0.0ms) begin transaction
34443
+ SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]
34444
+  (0.0ms) commit transaction
34445
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1
34446
+ Connecting to database specified by database.yml
34447
+  (3.1ms) select sqlite_version(*)
34448
+  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
34449
+  (0.3ms) CREATE 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) 
34450
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
34451
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
34452
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
34453
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
34454
+ User Load (2.2ms) SELECT "users".* FROM "users"
34455
+  (0.1ms) begin transaction
34456
+ SQL (38.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:52:48 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:52:48 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:52:48 UTC +00:00]]
34457
+  (0.1ms) commit transaction
34458
+  (0.1ms) begin transaction
34459
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:52:48 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:52:48 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:52:48 UTC +00:00]]
34460
+  (0.1ms) commit transaction
34461
+  (0.1ms) begin transaction
34462
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:52:48 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:52:48 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:52:48 UTC +00:00]]
34463
+  (0.1ms) commit transaction
34464
+ User Load (0.2ms) SELECT "users".* FROM "users"
34465
+ User Load (0.2ms) SELECT "users".* FROM "users" 
34466
+  (0.1ms) begin transaction
34467
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
34468
+  (0.1ms) commit transaction
34469
+  (0.1ms) begin transaction
34470
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
34471
+  (0.1ms) commit transaction
34472
+  (0.1ms) begin transaction
34473
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
34474
+  (0.1ms) commit transaction
34475
+  (0.1ms) begin transaction
34476
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:52:49 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00]]
34477
+  (0.1ms) commit transaction
34478
+  (0.1ms) begin transaction
34479
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:52:49 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00]]
34480
+  (0.1ms) commit transaction
34481
+  (0.1ms) begin transaction
34482
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:52:49 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00]]
34483
+  (0.1ms) commit transaction
34484
+ User Load (0.2ms) SELECT "users".* FROM "users"
34485
+ User Load (0.3ms) SELECT "users".* FROM "users" 
34486
+  (0.1ms) begin transaction
34487
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
34488
+  (0.0ms) commit transaction
34489
+  (0.0ms) begin transaction
34490
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
34491
+  (0.0ms) commit transaction
34492
+  (0.0ms) begin transaction
34493
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
34494
+  (0.0ms) commit transaction
34495
+  (0.0ms) begin transaction
34496
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:52:49 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00]]
34497
+  (0.0ms) commit transaction
34498
+  (0.0ms) begin transaction
34499
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:52:49 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00]]
34500
+  (0.0ms) commit transaction
34501
+  (0.0ms) begin transaction
34502
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:52:49 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00]]
34503
+  (0.0ms) commit transaction
34504
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"
34505
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
34506
+ User Load (0.1ms) SELECT "users".* FROM "users"
34507
+ User Load (0.2ms) SELECT "users".* FROM "users" 
34508
+  (0.1ms) begin transaction
34509
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
34510
+  (0.1ms) commit transaction
34511
+  (0.1ms) begin transaction
34512
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
34513
+  (0.1ms) commit transaction
34514
+  (0.1ms) begin transaction
34515
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
34516
+  (0.1ms) commit transaction
34517
+  (0.1ms) begin transaction
34518
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:52:51 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]
34519
+  (0.1ms) commit transaction
34520
+  (0.1ms) begin transaction
34521
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:52:51 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]
34522
+  (0.1ms) commit transaction
34523
+  (0.1ms) begin transaction
34524
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:52:51 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]
34525
+  (0.1ms) commit transaction
34526
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
34527
+ User Load (0.2ms) SELECT "users".* FROM "users" 
34528
+  (0.1ms) begin transaction
34529
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
34530
+  (0.1ms) commit transaction
34531
+  (0.1ms) begin transaction
34532
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
34533
+  (0.1ms) commit transaction
34534
+  (0.1ms) begin transaction
34535
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
34536
+  (0.1ms) commit transaction
34537
+  (0.1ms) begin transaction
34538
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:52:51 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]
34539
+  (0.1ms) commit transaction
34540
+  (0.1ms) begin transaction
34541
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:52:51 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]
34542
+  (0.1ms) commit transaction
34543
+  (0.0ms) begin transaction
34544
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:52:51 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]
34545
+  (0.0ms) commit transaction
34546
+ User Load (0.2ms) SELECT "users".* FROM "users"
34547
+ User Load (0.2ms) SELECT "users".* FROM "users" 
34548
+  (0.1ms) begin transaction
34549
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
34550
+  (0.1ms) commit transaction
34551
+  (0.1ms) begin transaction
34552
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
34553
+  (0.1ms) commit transaction
34554
+  (0.1ms) begin transaction
34555
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
34556
+  (0.1ms) commit transaction
34557
+  (0.1ms) begin transaction
34558
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:52:51 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]
34559
+  (0.1ms) commit transaction
34560
+  (0.1ms) begin transaction
34561
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:52:51 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]
34562
+  (0.1ms) commit transaction
34563
+  (0.1ms) begin transaction
34564
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:52:51 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]
34565
+  (0.1ms) commit transaction
34566
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-04 00:00:00.000000' AND "users"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0
34567
+ User Load (0.1ms) SELECT "users".* FROM "users" 
34568
+  (0.0ms) begin transaction
34569
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
34570
+  (0.1ms) commit transaction
34571
+  (0.0ms) begin transaction
34572
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
34573
+  (0.0ms) commit transaction
34574
+  (0.0ms) begin transaction
34575
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
34576
+  (0.0ms) commit transaction
34577
+  (0.1ms) begin transaction
34578
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:52:51 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]
34579
+  (0.1ms) commit transaction
34580
+  (0.0ms) begin transaction
34581
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:52:51 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]
34582
+  (0.1ms) commit transaction
34583
+  (0.1ms) begin transaction
34584
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:52:51 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]
34585
+  (0.1ms) commit transaction
34586
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
34587
+  (0.1ms) begin transaction
34588
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]
34589
+  (0.1ms) commit transaction
34590
+  (0.1ms) begin transaction
34591
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]
34592
+  (0.0ms) commit transaction
34593
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1
34594
+ Connecting to database specified by database.yml
34595
+
34596
+
34597
+ Started GET "/" for 127.0.0.1 at 2013-09-04 09:54:28 +0600
34598
+ Connecting to database specified by database.yml
34599
+ Processing by InvoicesController#index as HTML
34600
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (32.2ms)
34601
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.3ms)
34602
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms)
34603
+ Invoice Load (0.6ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
34604
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (50.6ms)
34605
+  (0.6ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f'))
34606
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (151.5ms)
34607
+ Completed 200 OK in 280ms (Views: 203.4ms | ActiveRecord: 3.7ms)
34608
+  (1.8ms) select sqlite_version(*)
34609
+  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
34610
+  (0.1ms) CREATE 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) 
34611
+  (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
34612
+  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
34613
+  (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
34614
+  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
34615
+ User Load (1.5ms) SELECT "users".* FROM "users"
34616
+  (0.1ms) begin transaction
34617
+ SQL (24.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:54:29 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00]]
34618
+  (0.1ms) commit transaction
34619
+  (0.0ms) begin transaction
34620
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:54:29 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00]]
34621
+  (0.0ms) commit transaction
34622
+  (0.0ms) begin transaction
34623
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:54:29 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00]]
34624
+  (0.0ms) commit transaction
34625
+ User Load (0.1ms) SELECT "users".* FROM "users"
34626
+ User Load (0.1ms) SELECT "users".* FROM "users" 
34627
+  (0.0ms) begin transaction
34628
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
34629
+  (0.0ms) commit transaction
34630
+  (0.0ms) begin transaction
34631
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
34632
+  (0.0ms) commit transaction
34633
+  (0.0ms) begin transaction
34634
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
34635
+  (0.0ms) commit transaction
34636
+  (0.0ms) begin transaction
34637
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:54:29 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00]]
34638
+  (0.0ms) commit transaction
34639
+  (0.0ms) begin transaction
34640
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:54:29 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00]]
34641
+  (0.0ms) commit transaction
34642
+  (0.0ms) begin transaction
34643
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:54:29 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00]]
34644
+  (0.0ms) commit transaction
34645
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"
34646
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
34647
+ User Load (0.1ms) SELECT "users".* FROM "users"
34648
+ User Load (0.3ms) SELECT "users".* FROM "users" 
34649
+  (0.1ms) begin transaction
34650
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
34651
+  (0.1ms) commit transaction
34652
+  (0.1ms) begin transaction
34653
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
34654
+  (0.1ms) commit transaction
34655
+  (0.1ms) begin transaction
34656
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
34657
+  (0.1ms) commit transaction
34658
+  (0.1ms) begin transaction
34659
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:54:31 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:54:31 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:54:31 UTC +00:00]]
34660
+  (0.1ms) commit transaction
34661
+  (0.1ms) begin transaction
34662
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:54:31 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:54:31 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:54:31 UTC +00:00]]
34663
+  (0.1ms) commit transaction
34664
+  (0.1ms) begin transaction
34665
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:54:31 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:54:31 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:54:31 UTC +00:00]]
34666
+  (0.1ms) commit transaction
34667
+ User Load (0.2ms) SELECT "users".* FROM "users"
34668
+ User Load (0.3ms) SELECT "users".* FROM "users" 
34669
+  (0.1ms) begin transaction
34670
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
34671
+  (0.1ms) commit transaction
34672
+  (0.1ms) begin transaction
34673
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
34674
+  (0.1ms) commit transaction
34675
+  (0.1ms) begin transaction
34676
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
34677
+  (0.1ms) commit transaction
34678
+  (0.1ms) begin transaction
34679
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:54:32 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]
34680
+  (0.1ms) commit transaction
34681
+  (0.1ms) begin transaction
34682
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:54:32 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]
34683
+  (0.1ms) commit transaction
34684
+  (0.1ms) begin transaction
34685
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:54:32 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]
34686
+  (0.1ms) commit transaction
34687
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
34688
+ User Load (0.2ms) SELECT "users".* FROM "users" 
34689
+  (0.1ms) begin transaction
34690
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
34691
+  (0.1ms) commit transaction
34692
+  (0.1ms) begin transaction
34693
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
34694
+  (0.1ms) commit transaction
34695
+  (0.1ms) begin transaction
34696
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
34697
+  (0.1ms) commit transaction
34698
+  (0.1ms) begin transaction
34699
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:54:32 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]
34700
+  (0.1ms) commit transaction
34701
+  (0.1ms) begin transaction
34702
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:54:32 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]
34703
+  (0.1ms) commit transaction
34704
+  (0.1ms) begin transaction
34705
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:54:32 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]
34706
+  (0.1ms) commit transaction
34707
+ User Load (0.2ms) SELECT "users".* FROM "users"
34708
+ User Load (0.2ms) SELECT "users".* FROM "users" 
34709
+  (0.1ms) begin transaction
34710
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
34711
+  (0.1ms) commit transaction
34712
+  (0.1ms) begin transaction
34713
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
34714
+  (0.1ms) commit transaction
34715
+  (0.1ms) begin transaction
34716
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
34717
+  (0.1ms) commit transaction
34718
+  (0.1ms) begin transaction
34719
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:54:32 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]
34720
+  (0.1ms) commit transaction
34721
+  (0.1ms) begin transaction
34722
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:54:32 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]
34723
+  (0.1ms) commit transaction
34724
+  (0.1ms) begin transaction
34725
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:54:32 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]
34726
+  (0.1ms) commit transaction
34727
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-04 00:00:00.000000' AND "users"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0
34728
+ User Load (0.2ms) SELECT "users".* FROM "users" 
34729
+  (0.1ms) begin transaction
34730
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
34731
+  (0.1ms) commit transaction
34732
+  (0.1ms) begin transaction
34733
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
34734
+  (0.1ms) commit transaction
34735
+  (0.1ms) begin transaction
34736
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
34737
+  (0.1ms) commit transaction
34738
+  (0.1ms) begin transaction
34739
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:54:32 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]
34740
+  (0.1ms) commit transaction
34741
+  (0.1ms) begin transaction
34742
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:54:32 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]
34743
+  (0.1ms) commit transaction
34744
+  (0.1ms) begin transaction
34745
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:54:32 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]
34746
+  (0.1ms) commit transaction
34747
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
34748
+  (0.1ms) begin transaction
34749
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]
34750
+  (0.1ms) commit transaction
34751
+  (0.1ms) begin transaction
34752
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]
34753
+  (0.1ms) commit transaction
34754
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1
34755
+
34756
+
34757
+ Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-04-04&q%5Bcreated_at_lteq%5D=2013-10-05&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-09-04 09:54:35 +0600
34758
+ Processing by InvoicesController#index as HTML
34759
+ Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-04-04", "created_at_lteq"=>"2013-10-05", "paid_eq"=>"false"}, "commit"=>"Search"}
34760
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (15.6ms)
34761
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.5ms)
34762
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms)
34763
+ Invoice Load (0.6ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-05 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
34764
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (26.9ms)
34765
+  (0.5ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-05 00:00:00.000000' AND "invoices"."paid" = 'f'))
34766
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (70.9ms)
34767
+ Completed 200 OK in 102ms (Views: 99.8ms | ActiveRecord: 1.0ms)
34768
+
34769
+
34770
+ Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-09-01&q%5Bcreated_at_lteq%5D=2013-10-05&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-09-04 09:54:47 +0600
34771
+ Processing by InvoicesController#index as HTML
34772
+ Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-09-01", "created_at_lteq"=>"2013-10-05", "paid_eq"=>"false"}, "commit"=>"Search"}
34773
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.5ms)
34774
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.3ms)
34775
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms)
34776
+ Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-09-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-05 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
34777
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (13.9ms)
34778
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-09-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-05 00:00:00.000000' AND "invoices"."paid" = 'f'))
34779
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (35.8ms)
34780
+ Completed 200 OK in 42ms (Views: 40.3ms | ActiveRecord: 0.6ms)
34781
+ Connecting to database specified by database.yml
34782
+  (0.2ms) select sqlite_version(*)
34783
+  (232.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
34784
+  (125.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
34785
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
34786
+ Migrating to CreateUsers (20130622120853)
34787
+  (0.0ms) begin transaction
34788
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
34789
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130622120853')
34790
+  (168.7ms) commit transaction
34791
+ Migrating to CreateInvoices (20130630132513)
34792
+  (0.1ms) begin transaction
34793
+  (0.3ms) CREATE TABLE "invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "total_paid" float, "total_charged" float, "paid" boolean, "received_by" integer, "invoiced_on" date, "paid_on" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
34794
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130630132513')
34795
+  (162.6ms) commit transaction
34796
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
34797
+ Connecting to database specified by database.yml
34798
+ Connecting to database specified by database.yml
34799
+ Connecting to database specified by database.yml
34800
+  (0.1ms) select sqlite_version(*)
34801
+  (191.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
34802
+  (156.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
34803
+  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
34804
+ Migrating to CreateUsers (20130622120853)
34805
+  (0.0ms) begin transaction
34806
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
34807
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130622120853')
34808
+  (164.2ms) commit transaction
34809
+ Migrating to CreateInvoices (20130630132513)
34810
+  (0.1ms) begin transaction
34811
+  (0.3ms) CREATE TABLE "invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "total_paid" float, "total_charged" float, "paid" boolean, "received_by_id" integer, "invoiced_on" date, "paid_on" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
34812
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130630132513')
34813
+  (179.5ms) commit transaction
34814
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
34815
+ Connecting to database specified by database.yml
34816
+ IRB::Abort: abort then interrupt!: commit transaction
34817
+ SQLite3::SQLException: cannot rollback - no transaction is active: rollback transaction
34818
+ Connecting to database specified by database.yml
34819
+
34820
+
34821
+ Started GET "/" for 127.0.0.1 at 2013-09-04 10:01:15 +0600
34822
+ Processing by InvoicesController#index as HTML
34823
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (11.7ms)
34824
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.2ms)
34825
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.4ms)
34826
+ Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
34827
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (48.2ms)
34828
+  (0.6ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f'))
34829
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (113.9ms)
34830
+ Completed 200 OK in 237ms (Views: 144.8ms | ActiveRecord: 21.9ms)
34831
+
34832
+
34833
+ Started GET "/" for 127.0.0.1 at 2013-09-04 10:01:41 +0600
34834
+ Processing by InvoicesController#index as HTML
34835
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (12.7ms)
34836
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.6ms)
34837
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms)
34838
+ Invoice Load (0.6ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
34839
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
34840
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
34841
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
34842
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
34843
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
34844
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
34845
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
34846
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
34847
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
34848
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
34849
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
34850
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
34851
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
34852
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
34853
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
34854
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
34855
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
34856
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
34857
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
34858
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
34859
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
34860
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
34861
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
34862
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
34863
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
34864
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (159.8ms)
34865
+  (1.0ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f'))
34866
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (199.7ms)
34867
+ Completed 200 OK in 214ms (Views: 206.5ms | ActiveRecord: 3.6ms)
34868
+
34869
+
34870
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600
34871
+ Served asset /application.css - 200 OK (18ms)
34872
+
34873
+
34874
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600
34875
+ Served asset /users.css - 200 OK (44ms)
34876
+
34877
+
34878
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600
34879
+ Served asset /invoices.css - 200 OK (2ms)
34880
+
34881
+
34882
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600
34883
+ Served asset /jquery.js - 200 OK (8ms)
34884
+
34885
+
34886
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600
34887
+ Served asset /scaffold.css - 200 OK (6ms)
34888
+
34889
+
34890
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600
34891
+ Served asset /jquery_ujs.js - 200 OK (3ms)
34892
+
34893
+
34894
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600
34895
+ Served asset /invoices.js - 200 OK (1ms)
34896
+
34897
+
34898
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600
34899
+ Served asset /users.js - 200 OK (2ms)
34900
+
34901
+
34902
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600
34903
+ Served asset /application.js - 200 OK (10ms)
34904
+ Connecting to database specified by database.yml
34905
+  (3.2ms) select sqlite_version(*)
34906
+  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
34907
+  (0.4ms) CREATE 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) 
34908
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
34909
+  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
34910
+  (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
34911
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
34912
+ User Load (21.8ms) SELECT "users".* FROM "users"
34913
+  (0.1ms) begin transaction
34914
+ SQL (3.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:02:12 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:02:12 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:02:12 UTC +00:00]]
34915
+  (0.0ms) commit transaction
34916
+  (0.0ms) begin transaction
34917
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:02:12 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:02:12 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:02:12 UTC +00:00]]
34918
+  (0.0ms) commit transaction
34919
+  (0.0ms) begin transaction
34920
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:02:12 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:02:12 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:02:12 UTC +00:00]]
34921
+  (0.0ms) commit transaction
34922
+ User Load (0.1ms) SELECT "users".* FROM "users"
34923
+ User Load (0.1ms) SELECT "users".* FROM "users" 
34924
+  (0.0ms) begin transaction
34925
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
34926
+  (0.0ms) commit transaction
34927
+  (0.0ms) begin transaction
34928
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
34929
+  (0.0ms) commit transaction
34930
+  (0.0ms) begin transaction
34931
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
34932
+  (0.0ms) commit transaction
34933
+  (0.0ms) begin transaction
34934
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:02:12 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:02:12 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:02:12 UTC +00:00]]
34935
+  (0.0ms) commit transaction
34936
+  (0.0ms) begin transaction
34937
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:02:13 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:02:13 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:02:13 UTC +00:00]]
34938
+  (0.0ms) commit transaction
34939
+  (0.0ms) begin transaction
34940
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:02:13 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:02:13 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:02:13 UTC +00:00]]
34941
+  (0.0ms) commit transaction
34942
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"
34943
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
34944
+ User Load (0.1ms) SELECT "users".* FROM "users"
34945
+ User Load (0.3ms) SELECT "users".* FROM "users" 
34946
+  (0.1ms) begin transaction
34947
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
34948
+  (0.1ms) commit transaction
34949
+  (0.1ms) begin transaction
34950
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
34951
+  (0.1ms) commit transaction
34952
+  (0.1ms) begin transaction
34953
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
34954
+  (0.1ms) commit transaction
34955
+  (0.1ms) begin transaction
34956
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:02:15 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]
34957
+  (0.1ms) commit transaction
34958
+  (0.1ms) begin transaction
34959
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:02:15 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]
34960
+  (0.1ms) commit transaction
34961
+  (0.1ms) begin transaction
34962
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:02:15 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]
34963
+  (0.1ms) commit transaction
34964
+ User Load (0.2ms) SELECT "users".* FROM "users"
34965
+  (0.1ms) begin transaction
34966
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]
34967
+  (0.1ms) commit transaction
34968
+  (0.1ms) begin transaction
34969
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 10]]
34970
+  (0.1ms) commit transaction
34971
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1
34972
+ User Load (0.1ms) SELECT "users".* FROM "users"
34973
+  (0.0ms) begin transaction
34974
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
34975
+  (0.0ms) commit transaction
34976
+  (0.0ms) begin transaction
34977
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
34978
+  (0.0ms) commit transaction
34979
+  (0.0ms) begin transaction
34980
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
34981
+  (0.0ms) commit transaction
34982
+  (0.0ms) begin transaction
34983
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
34984
+  (0.0ms) commit transaction
34985
+  (0.0ms) begin transaction
34986
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:02:15 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]
34987
+  (0.1ms) commit transaction
34988
+  (0.0ms) begin transaction
34989
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:02:15 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]
34990
+  (0.0ms) commit transaction
34991
+  (0.0ms) begin transaction
34992
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:02:15 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]
34993
+  (0.0ms) commit transaction
34994
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
34995
+ User Load (0.1ms) SELECT "users".* FROM "users" 
34996
+  (0.0ms) begin transaction
34997
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
34998
+  (0.0ms) commit transaction
34999
+  (0.0ms) begin transaction
35000
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
35001
+  (0.0ms) commit transaction
35002
+  (0.0ms) begin transaction
35003
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
35004
+  (0.0ms) commit transaction
35005
+  (0.1ms) begin transaction
35006
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:02:15 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]
35007
+  (0.1ms) commit transaction
35008
+  (0.0ms) begin transaction
35009
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:02:15 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]
35010
+  (0.0ms) commit transaction
35011
+  (0.1ms) begin transaction
35012
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:02:15 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]
35013
+  (0.0ms) commit transaction
35014
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-04 00:00:00.000000' AND "users"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0
35015
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35016
+  (0.0ms) begin transaction
35017
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
35018
+  (0.0ms) commit transaction
35019
+  (0.0ms) begin transaction
35020
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
35021
+  (0.0ms) commit transaction
35022
+  (0.0ms) begin transaction
35023
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
35024
+  (0.0ms) commit transaction
35025
+  (0.0ms) begin transaction
35026
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:02:15 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]
35027
+  (0.0ms) commit transaction
35028
+  (0.0ms) begin transaction
35029
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:02:15 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]
35030
+  (0.0ms) commit transaction
35031
+  (0.0ms) begin transaction
35032
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:02:15 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]
35033
+  (0.0ms) commit transaction
35034
+ User Load (0.1ms) SELECT "users".* FROM "users"
35035
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35036
+  (0.0ms) begin transaction
35037
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
35038
+  (0.0ms) commit transaction
35039
+  (0.0ms) begin transaction
35040
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
35041
+  (0.0ms) commit transaction
35042
+  (0.0ms) begin transaction
35043
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
35044
+  (0.0ms) commit transaction
35045
+  (0.0ms) begin transaction
35046
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:02:15 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]
35047
+  (0.0ms) commit transaction
35048
+  (0.0ms) begin transaction
35049
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:02:15 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]
35050
+  (0.0ms) commit transaction
35051
+  (0.0ms) begin transaction
35052
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:02:15 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]
35053
+  (0.0ms) commit transaction
35054
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
35055
+ Connecting to database specified by database.yml
35056
+  (3.3ms) select sqlite_version(*)
35057
+  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
35058
+  (0.4ms) CREATE 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) 
35059
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
35060
+  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
35061
+  (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
35062
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
35063
+  (0.1ms) begin transaction
35064
+ SQL (43.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 04:12:56 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 04:12:56 UTC +00:00]]
35065
+  (0.1ms) commit transaction
35066
+  (0.1ms) begin transaction
35067
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
35068
+  (0.1ms) commit transaction
35069
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
35070
+ User Load (0.2ms) SELECT "users".* FROM "users" 
35071
+  (0.1ms) begin transaction
35072
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
35073
+  (0.1ms) commit transaction
35074
+  (0.1ms) begin transaction
35075
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:12:56 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:12:56 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:12:56 UTC +00:00]]
35076
+  (0.1ms) commit transaction
35077
+  (0.1ms) begin transaction
35078
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:12:56 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:12:56 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:12:56 UTC +00:00]]
35079
+  (0.1ms) commit transaction
35080
+  (0.1ms) begin transaction
35081
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:12:56 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:12:56 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:12:56 UTC +00:00]]
35082
+  (0.1ms) commit transaction
35083
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"
35084
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
35085
+ User Load (0.1ms) SELECT "users".* FROM "users"
35086
+ User Load (0.2ms) SELECT "users".* FROM "users" 
35087
+  (0.1ms) begin transaction
35088
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
35089
+  (0.0ms) commit transaction
35090
+  (0.0ms) begin transaction
35091
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
35092
+  (0.0ms) commit transaction
35093
+  (0.0ms) begin transaction
35094
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
35095
+  (0.0ms) commit transaction
35096
+  (0.0ms) begin transaction
35097
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:12:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35098
+  (0.0ms) commit transaction
35099
+  (0.0ms) begin transaction
35100
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:12:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35101
+  (0.0ms) commit transaction
35102
+  (0.0ms) begin transaction
35103
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:12:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35104
+  (0.0ms) commit transaction
35105
+ User Load (0.1ms) SELECT "users".* FROM "users"
35106
+ User Load (0.2ms) SELECT "users".* FROM "users" 
35107
+  (0.0ms) begin transaction
35108
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
35109
+  (0.0ms) commit transaction
35110
+  (0.0ms) begin transaction
35111
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
35112
+  (0.0ms) commit transaction
35113
+  (0.0ms) begin transaction
35114
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
35115
+  (0.0ms) commit transaction
35116
+  (0.1ms) begin transaction
35117
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:12:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35118
+  (0.0ms) commit transaction
35119
+  (0.0ms) begin transaction
35120
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:12:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35121
+  (0.0ms) commit transaction
35122
+  (0.0ms) begin transaction
35123
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:12:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35124
+  (0.0ms) commit transaction
35125
+ User Load (0.1ms) SELECT "users".* FROM "users"
35126
+ User Load (0.2ms) SELECT "users".* FROM "users" 
35127
+  (0.0ms) begin transaction
35128
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
35129
+  (0.0ms) commit transaction
35130
+  (0.0ms) begin transaction
35131
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
35132
+  (0.0ms) commit transaction
35133
+  (0.0ms) begin transaction
35134
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
35135
+  (0.0ms) commit transaction
35136
+  (0.0ms) begin transaction
35137
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:12:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35138
+  (0.0ms) commit transaction
35139
+  (0.0ms) begin transaction
35140
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:12:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35141
+  (0.0ms) commit transaction
35142
+  (0.0ms) begin transaction
35143
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:12:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35144
+  (0.0ms) commit transaction
35145
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
35146
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35147
+  (0.0ms) begin transaction
35148
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
35149
+  (0.0ms) commit transaction
35150
+  (0.0ms) begin transaction
35151
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
35152
+  (0.0ms) commit transaction
35153
+  (0.0ms) begin transaction
35154
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
35155
+  (0.0ms) commit transaction
35156
+  (0.0ms) begin transaction
35157
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:12:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35158
+  (0.0ms) commit transaction
35159
+  (0.0ms) begin transaction
35160
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:12:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35161
+  (0.0ms) commit transaction
35162
+  (0.0ms) begin transaction
35163
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:12:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35164
+  (0.0ms) commit transaction
35165
+ User Load (0.1ms) SELECT "users".* FROM "users"
35166
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35167
+  (0.0ms) begin transaction
35168
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
35169
+  (0.0ms) commit transaction
35170
+  (0.0ms) begin transaction
35171
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
35172
+  (0.0ms) commit transaction
35173
+  (0.0ms) begin transaction
35174
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
35175
+  (0.0ms) commit transaction
35176
+  (0.0ms) begin transaction
35177
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:12:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35178
+  (0.1ms) commit transaction
35179
+  (0.0ms) begin transaction
35180
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:12:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35181
+  (0.0ms) commit transaction
35182
+  (0.0ms) begin transaction
35183
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:12:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35184
+  (0.0ms) commit transaction
35185
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-04 00:00:00.000000' AND "users"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0
35186
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35187
+  (0.0ms) begin transaction
35188
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
35189
+  (0.0ms) commit transaction
35190
+  (0.0ms) begin transaction
35191
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
35192
+  (0.0ms) commit transaction
35193
+  (0.0ms) begin transaction
35194
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
35195
+  (0.0ms) commit transaction
35196
+  (0.0ms) begin transaction
35197
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:12:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35198
+  (0.0ms) commit transaction
35199
+  (0.0ms) begin transaction
35200
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:12:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35201
+  (0.0ms) commit transaction
35202
+  (0.1ms) begin transaction
35203
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:12:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]
35204
+  (0.0ms) commit transaction
35205
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
35206
+ Connecting to database specified by database.yml
35207
+  (3.3ms) select sqlite_version(*)
35208
+  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
35209
+  (0.3ms) CREATE 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) 
35210
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
35211
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
35212
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
35213
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
35214
+ User Load (2.2ms) SELECT "users".* FROM "users"
35215
+  (0.1ms) begin transaction
35216
+ SQL (39.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:13:53 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:13:53 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:13:53 UTC +00:00]]
35217
+  (0.1ms) commit transaction
35218
+  (0.1ms) begin transaction
35219
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:13:53 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:13:53 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:13:53 UTC +00:00]]
35220
+  (0.1ms) commit transaction
35221
+  (0.1ms) begin transaction
35222
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:13:53 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:13:53 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:13:53 UTC +00:00]]
35223
+  (0.1ms) commit transaction
35224
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
35225
+ User Load (0.2ms) SELECT "users".* FROM "users" 
35226
+  (0.1ms) begin transaction
35227
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
35228
+  (0.1ms) commit transaction
35229
+  (0.1ms) begin transaction
35230
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
35231
+  (0.1ms) commit transaction
35232
+  (0.1ms) begin transaction
35233
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
35234
+  (0.1ms) commit transaction
35235
+  (0.1ms) begin transaction
35236
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:13:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35237
+  (0.1ms) commit transaction
35238
+  (0.1ms) begin transaction
35239
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:13:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35240
+  (0.1ms) commit transaction
35241
+  (0.1ms) begin transaction
35242
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:13:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35243
+  (0.1ms) commit transaction
35244
+ User Load (0.2ms) SELECT "users".* FROM "users"
35245
+ User Load (0.2ms) SELECT "users".* FROM "users" 
35246
+  (0.1ms) begin transaction
35247
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
35248
+  (0.1ms) commit transaction
35249
+  (0.1ms) begin transaction
35250
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
35251
+  (0.1ms) commit transaction
35252
+  (0.1ms) begin transaction
35253
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
35254
+  (0.1ms) commit transaction
35255
+  (0.1ms) begin transaction
35256
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:13:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35257
+  (0.1ms) commit transaction
35258
+  (0.1ms) begin transaction
35259
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:13:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35260
+  (0.1ms) commit transaction
35261
+  (0.1ms) begin transaction
35262
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:13:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35263
+  (0.0ms) commit transaction
35264
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-04 00:00:00.000000' AND "users"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0
35265
+ User Load (0.2ms) SELECT "users".* FROM "users" 
35266
+  (0.1ms) begin transaction
35267
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
35268
+  (0.1ms) commit transaction
35269
+  (0.1ms) begin transaction
35270
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
35271
+  (0.1ms) commit transaction
35272
+  (0.1ms) begin transaction
35273
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
35274
+  (0.1ms) commit transaction
35275
+  (0.1ms) begin transaction
35276
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:13:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35277
+  (0.0ms) commit transaction
35278
+  (0.0ms) begin transaction
35279
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:13:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35280
+  (0.1ms) commit transaction
35281
+  (0.1ms) begin transaction
35282
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:13:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35283
+  (0.1ms) commit transaction
35284
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
35285
+  (0.1ms) begin transaction
35286
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35287
+  (0.1ms) commit transaction
35288
+  (0.0ms) begin transaction
35289
+ SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 13]]
35290
+  (0.1ms) commit transaction
35291
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1
35292
+ User Load (0.1ms) SELECT "users".* FROM "users"
35293
+  (0.0ms) begin transaction
35294
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
35295
+  (0.0ms) commit transaction
35296
+  (0.0ms) begin transaction
35297
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
35298
+  (0.0ms) commit transaction
35299
+  (0.0ms) begin transaction
35300
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
35301
+  (0.0ms) commit transaction
35302
+  (0.0ms) begin transaction
35303
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
35304
+  (0.0ms) commit transaction
35305
+  (0.0ms) begin transaction
35306
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:13:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35307
+  (0.0ms) commit transaction
35308
+  (0.0ms) begin transaction
35309
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:13:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35310
+  (0.0ms) commit transaction
35311
+  (0.0ms) begin transaction
35312
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:13:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35313
+  (0.0ms) commit transaction
35314
+ User Load (0.1ms) SELECT "users".* FROM "users"
35315
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35316
+  (0.0ms) begin transaction
35317
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
35318
+  (0.0ms) commit transaction
35319
+  (0.0ms) begin transaction
35320
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
35321
+  (0.0ms) commit transaction
35322
+  (0.0ms) begin transaction
35323
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
35324
+  (0.0ms) commit transaction
35325
+  (0.0ms) begin transaction
35326
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:13:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35327
+  (0.0ms) commit transaction
35328
+  (0.0ms) begin transaction
35329
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:13:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35330
+  (0.0ms) commit transaction
35331
+  (0.0ms) begin transaction
35332
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:13:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35333
+  (0.0ms) commit transaction
35334
+ User Load (0.1ms) SELECT "users".* FROM "users"
35335
+ User Load (0.3ms) SELECT "users".* FROM "users" 
35336
+  (0.1ms) begin transaction
35337
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
35338
+  (0.1ms) commit transaction
35339
+  (0.1ms) begin transaction
35340
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
35341
+  (0.1ms) commit transaction
35342
+  (0.1ms) begin transaction
35343
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
35344
+  (0.1ms) commit transaction
35345
+  (0.1ms) begin transaction
35346
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:13:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35347
+  (0.1ms) commit transaction
35348
+  (0.1ms) begin transaction
35349
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:13:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35350
+  (0.1ms) commit transaction
35351
+  (0.1ms) begin transaction
35352
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:13:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
35353
+  (0.1ms) commit transaction
35354
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
35355
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
35356
+ User Load (0.3ms) SELECT "users".* FROM "users"