query_report 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/helpers/query_report_filter_helper.rb +0 -8
- data/app/helpers/query_report_link_helper.rb +9 -0
- data/app/views/query_report/_chart.html.erb +10 -0
- data/app/views/query_report/_charts.html.erb +6 -10
- data/app/views/query_report/_links.html.erb +2 -0
- data/app/views/query_report/_records.html.erb +21 -0
- data/app/views/query_report/_search.html.erb +7 -5
- data/app/views/query_report/list.html.erb +3 -32
- data/lib/query_report/filter.rb +44 -26
- data/lib/query_report/helper.rb +6 -6
- data/lib/query_report/version.rb +1 -1
- data/test/dummy/app/controllers/invoices_controller.rb +23 -18
- data/test/dummy/app/models/invoice.rb +2 -1
- data/test/dummy/app/models/user.rb +6 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20130622120853_create_users.rb +2 -3
- data/test/dummy/db/migrate/20130630132513_create_invoices.rb +3 -0
- data/test/dummy/db/schema.rb +7 -5
- data/test/dummy/db/seed.rb +14 -3
- data/test/dummy/log/development.log +3848 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_1phunlrkl040xbl9ni38 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_2jj5q0umhfjgdsr3be6r +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_4nme0opawv0cuju7ycln +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_4x4zy2jyybfnrfctzoll +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_501n5dolb96ahn8fsdeb +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_50279rze1q2oyskpd2bx +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_5cx1jmk7clhq7gdqu8fj +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_625nhhhlou6kji64k1v8 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_8papkqyltk3r9vdbiwlx +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_as4xud3puw1vxjzm8ma3 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_cuw96wvyfzku6np7dv6u +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_eml2za25qr6vmokw5tda +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_f1cpnb605srbgp7u5n6l +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_kcb88g8t6jcdbzy4sf40 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_oziigmt85gb8ro89h2uo +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_rkitlcrj5rur9vtb25yr +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_s24xgsm7sihnsifjqne0 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_v4vq4inppiedkn1mxsut +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_wb62iw0f860zfkjkt42d +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_yb4i2uuaxhoz5hst26bj +0 -0
- metadata +46 -76
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_435onnqlkhcky6yip9mj +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_5a5gcp8rj2g7cjlrh11r +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_5awpjfhldzcfjkeiia3p +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_5n9tm06nu8wtqem8jd9s +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_83yh2jf8w7ouqnuqevws +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_9scoumsixeymou0wyqwf +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_9xq47956uczidwr4xqs2 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_a4mj9799k6k4r6jruzj7 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_a7ev5lal7xp2xzjj2n9p +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_azffwngwstpj3o7g7zaj +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_bsifeckwtz6lhx8rqwgz +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_c27pz5f69skbkwfrnlr5 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_c5lzifpf785aic4t3cm8 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_dbth1ye234719bbg3xjq +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_ech68w7azvs6whb6s88w +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_etmdhvrbbmdadc7oyw8q +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_gdb6sz9j5g8pyrobpse2 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_gnj8jwxqjl0ocjfopzmt +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_hzjksutah5t2nkoe5gye +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_ijm30kq0c4jrpb5coyiz +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_ixj6jdcp3o0pc4vzdjoo +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_l2w9vljbeofwmhmxn9lv +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_m0kxxiow6jlfcjulu02t +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_m2ow1xy7c6tw0f4fj2co +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_meafgmjq07s2xlkm4ney +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_mitzsa7y0lvka04il6an +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_mxejnh24sg011tpzlq7l +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_nlvpu6hg03b8cue75kkc +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_ns57exo8aheow6jngknj +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_pq8a5s9f7o747x14bip8 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_pvxfsf8tdy3tk7twydyc +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_t5zt24mkmoq4kpcvvlrp +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_tesee62zyykaxw8dbmq1 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_ujpdek4jfp8flbqp7fi3 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_wbiyljqrnox89js4m0at +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_ywg973w6dqfz9nuj5qio +0 -0
@@ -31506,3 +31506,3851 @@ Processing by InvoicesController#index as HTML
|
|
31506
31506
|
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
31515
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31517
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31519
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
31525
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (74.7ms)
|
31526
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
|
31567
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
31568
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
31569
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
31570
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
31571
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
31572
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
31573
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31574
|
+
[1m[36mSQL (44.8ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31576
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31577
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
31578
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31579
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
31580
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
31581
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31582
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
31583
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31584
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31585
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
31587
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31588
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
31590
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31591
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31593
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
31594
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
31595
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
31596
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
31597
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31598
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
31599
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31601
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
31602
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31603
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31604
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
31605
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31606
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31607
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31609
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31610
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31612
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31613
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31615
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
31616
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
31617
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31618
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
31619
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31620
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31621
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
31622
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31623
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31624
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
31625
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31626
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31627
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31629
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31630
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31632
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31633
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31635
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
31636
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
31637
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31638
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
31639
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31640
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31641
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
31642
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31643
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31644
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
31645
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31646
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31647
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
31649
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31650
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
31652
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31653
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31655
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
31656
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
31657
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31658
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
31659
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31660
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31661
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
31662
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31663
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31664
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
31665
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31666
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31667
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31669
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31670
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31672
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31673
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31675
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
31676
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
31677
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31678
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
31679
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31680
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31681
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
31682
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31683
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31684
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
31685
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31686
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31687
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
31689
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31690
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
31692
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31693
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
31695
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
31697
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31698
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
31699
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31700
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31701
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
31702
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31703
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31704
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
31705
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31706
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31707
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31709
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31710
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31712
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31713
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31715
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
31722
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31724
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31726
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
31732
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (75.0ms)
|
31733
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
31778
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31780
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31782
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "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[0m
|
31788
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.4ms)
|
31789
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
31798
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31800
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31802
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
31808
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (29.8ms)
|
31809
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
31818
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31820
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31822
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "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[0m
|
31828
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (13.6ms)
|
31829
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
|
31834
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
31835
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
31836
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
31837
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
31838
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
31839
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
31840
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31841
|
+
[1m[36mSQL (10.0ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31843
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31844
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
31845
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31846
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
31847
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
31848
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31849
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
31850
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31851
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31852
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31854
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31855
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31857
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31858
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31860
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
31861
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
31862
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31863
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
31864
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31865
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31866
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
31867
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31868
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31869
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
31870
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31871
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31872
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31874
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31875
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31877
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31878
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
31880
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
31881
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
31882
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
31883
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
31884
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31885
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
31886
|
+
[1m[35m (0.0ms)[0m commit transaction
|
31887
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31888
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
31889
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
31890
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31891
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
31892
|
+
[1m[35m (0.0ms)[0m commit transaction
|
31893
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31894
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
31896
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31897
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31899
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31900
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31902
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
|
31903
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
31904
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31905
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
31906
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31907
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31908
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
31909
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31910
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31911
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
31912
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31913
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31914
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31916
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31917
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31919
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31920
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31922
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
31924
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31925
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
31926
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31927
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31928
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
31929
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31930
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31931
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
31932
|
+
[1m[35m (0.0ms)[0m commit transaction
|
31933
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31934
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31936
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31937
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31939
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31940
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31942
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
31944
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31945
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
31946
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31947
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31948
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
31949
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31950
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31951
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
31952
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31953
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31954
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
31956
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31957
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
31959
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31960
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31962
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
31963
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
31964
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31965
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
31966
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31967
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31968
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
31969
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31970
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31971
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
31972
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31973
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31974
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31976
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31977
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
31979
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31980
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
31982
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
31989
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31991
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31993
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
31999
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (48.9ms)
|
32000
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mSELECT 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'))[0m
|
32009
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32011
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32013
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "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[0m
|
32019
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.1ms)
|
32020
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
32029
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32031
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32033
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.4ms)[0m [1mSELECT "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[0m
|
32039
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (25.6ms)
|
32040
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mSELECT 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'))[0m
|
32049
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32051
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32053
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.4ms)[0m [1mSELECT "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[0m
|
32059
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.0ms)
|
32060
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (2.9ms)[0m [1mSELECT 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'))[0m
|
32069
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32071
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32073
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
32079
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (26.1ms)
|
32080
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
32089
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32091
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32093
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (1.0ms)[0m [1mSELECT "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[0m
|
32099
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (26.2ms)
|
32100
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
32108
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32110
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32112
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
32118
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (37.8ms)
|
32119
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (2.3ms)[0m [1mSELECT 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'))[0m
|
32127
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32129
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32131
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
32137
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (25.6ms)
|
32138
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
|
32179
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
32180
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
32181
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
32182
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
32183
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
32184
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
32185
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32186
|
+
[1m[36mSQL (8.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32188
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32189
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
32190
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32191
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
32192
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32193
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32194
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
32195
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32196
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32197
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32199
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32200
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32202
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32203
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32205
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
32206
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32207
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32208
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
32209
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32210
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32211
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
32212
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32213
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32214
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
32215
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32216
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32217
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32219
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32220
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
32222
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32223
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32225
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
32226
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32227
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32228
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
32229
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32230
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32231
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
32232
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32233
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32234
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
32235
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32236
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32237
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32239
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32240
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32242
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32243
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
32245
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32247
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32248
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
32249
|
+
[1m[35m (0.0ms)[0m commit transaction
|
32250
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32251
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
32252
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
32253
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32254
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
32255
|
+
[1m[35m (0.0ms)[0m commit transaction
|
32256
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32257
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32259
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32260
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32262
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32263
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32265
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32267
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32268
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
32269
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32270
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32271
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
32272
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32273
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32274
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
32275
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32277
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32279
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32280
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
32282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32283
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32285
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
32286
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32287
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32288
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
32289
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32290
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32291
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
32292
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32293
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32294
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
32295
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32296
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32297
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32299
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32300
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32302
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32303
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32305
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
32306
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
32307
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
32308
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32309
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32310
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
32311
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32312
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32313
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
32314
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32315
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32316
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
32317
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32318
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32319
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32321
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32322
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32324
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32325
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32327
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
32328
|
+
Connecting to database specified by database.yml
|
32329
|
+
[1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
|
32330
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
32331
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
32332
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
32333
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
32334
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
32335
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
32336
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32337
|
+
[1m[36mSQL (9.8ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32339
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32340
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
32341
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32342
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
32343
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32344
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32345
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
32346
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32347
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32348
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32350
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32351
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32353
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32354
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32356
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
32357
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32358
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32359
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
32360
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32361
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32362
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
32363
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32364
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32365
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
32366
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32367
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32368
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32370
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32371
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
32373
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32374
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
32376
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
32377
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32378
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32379
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
32380
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32381
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32382
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
32383
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32384
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32385
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
32386
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32387
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32388
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32390
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32391
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32393
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32394
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32396
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32398
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32399
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
32400
|
+
[1m[35m (0.0ms)[0m commit transaction
|
32401
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32402
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
32403
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32404
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32405
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
32406
|
+
[1m[35m (0.0ms)[0m commit transaction
|
32407
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32408
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
32410
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32411
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32413
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32414
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32416
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32418
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32419
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
32420
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32421
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32422
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
32423
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32424
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32425
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
32426
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32427
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32428
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
32430
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32431
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
32433
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32434
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
32436
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
32437
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32438
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32439
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
32440
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32441
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32442
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
32443
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32444
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32445
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
32446
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32447
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32448
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32450
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32451
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32453
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32454
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32456
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
32457
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32458
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32459
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
32460
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32461
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32462
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
32463
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32464
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32465
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
32466
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32467
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32468
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32470
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32471
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32473
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32474
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32476
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
32477
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
32478
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
|
32483
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
32484
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
32485
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
32486
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
32487
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
32488
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
32489
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32490
|
+
[1m[36mSQL (42.6ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32492
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32493
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
32494
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32495
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
32496
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32497
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32498
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
32499
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32500
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32501
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
32503
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32504
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32506
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32507
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32509
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
32510
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
32511
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
32512
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32513
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32514
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
32515
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32516
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32517
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
32518
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32519
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32520
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
32521
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32522
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32523
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32525
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32526
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32528
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32529
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32531
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
32532
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32533
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32534
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
32535
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32536
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32537
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
32538
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32539
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32540
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
32541
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32542
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32543
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32545
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32546
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32548
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32549
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32551
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
32552
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32553
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32554
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
32555
|
+
[1m[35m (0.0ms)[0m commit transaction
|
32556
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32557
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
32558
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
32559
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32560
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
32561
|
+
[1m[35m (0.0ms)[0m commit transaction
|
32562
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32563
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
32565
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32566
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32568
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32569
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32571
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
32572
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32573
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32574
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
32575
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32576
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32577
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
32578
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32579
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32580
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
32581
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32582
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32583
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32585
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32586
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32588
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32589
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32591
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
32592
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32593
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32594
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
32595
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32596
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32597
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
32598
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32599
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32600
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
32601
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32602
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32603
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
32605
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32606
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
32608
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32609
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32611
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32613
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32614
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
32615
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32616
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32617
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
32618
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32619
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32620
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
32621
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32622
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32623
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32625
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32626
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32628
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32629
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
32631
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
32638
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32640
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32642
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
32648
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (42.1ms)
|
32649
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
32657
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32659
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32661
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
32667
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (25.3ms)
|
32668
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (3.2ms)[0m [1mselect sqlite_version(*)[0m
|
32673
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
32674
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
32675
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
32676
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
32677
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
32678
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
32679
|
+
[1m[35mUser Load (2.2ms)[0m SELECT "users".* FROM "users"
|
32680
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32681
|
+
[1m[35mSQL (38.8ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32683
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32684
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32686
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32687
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32689
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32691
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32692
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
32693
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32694
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32695
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
32696
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32697
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32698
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
32699
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32700
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32701
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32703
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32704
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32706
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32707
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32709
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32711
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32712
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
32713
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32714
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32715
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
32716
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
32717
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32718
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
32719
|
+
[1m[35m (0.0ms)[0m commit transaction
|
32720
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32721
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
32723
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32724
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32726
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32727
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32729
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
32730
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32731
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32732
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
32733
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32734
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32735
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
32736
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32737
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32738
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
32739
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32740
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32741
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32743
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32744
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32746
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32747
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32749
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
32750
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32751
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32753
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32754
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 13]]
|
32755
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32756
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1[0m
|
32757
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
32758
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32759
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
|
32760
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32761
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32762
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
32763
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32764
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32765
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
32766
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32767
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32768
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
32769
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32770
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32771
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32773
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32774
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32776
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32777
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32779
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
32780
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32781
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32782
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
32783
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32784
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32785
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
32786
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32787
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32788
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
32789
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32790
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32791
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32793
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32794
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32796
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32797
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32799
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
32800
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
32801
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
32802
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
32803
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32804
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
32805
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32806
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32807
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
32808
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32809
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32810
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
32811
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32812
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32813
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32815
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32816
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32818
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32819
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
32821
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
32828
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32830
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32832
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
32838
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (41.7ms)
|
32839
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
32883
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32885
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32887
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
32893
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (27.1ms)
|
32894
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
32939
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32941
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
32943
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
32949
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (40.8ms)
|
32950
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
32998
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (5.6ms)
|
32999
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
33047
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (11.6ms)
|
33048
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
33095
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.6ms)
|
33096
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (1.5ms)[0m [1mselect sqlite_version(*)[0m
|
33137
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
33138
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
33139
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
33140
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
33141
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
33142
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
33143
|
+
[1m[35mUser Load (1.0ms)[0m SELECT "users".* FROM "users"
|
33144
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33145
|
+
[1m[35mSQL (22.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33147
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33148
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33150
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33151
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33153
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
33154
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
33155
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33156
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
33157
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33158
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33159
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
33160
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33161
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33162
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
33163
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33164
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33165
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33167
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33168
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33170
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33171
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33173
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
33174
|
+
[1m[36m (0.0ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
33175
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
33176
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
33177
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33178
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
33179
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33180
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33181
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
33182
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33183
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33184
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
33185
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33187
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33189
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33190
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33192
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33193
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33195
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
33196
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33197
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33199
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33200
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 10]]
|
33201
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33202
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1[0m
|
33203
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
33204
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33205
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
|
33206
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33207
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33208
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
33209
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33210
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33211
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
33212
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33213
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33214
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
33215
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33216
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33217
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33219
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33220
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33222
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33223
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33225
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
33227
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33228
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
33229
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33230
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33231
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
33232
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33233
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33234
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
33235
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33236
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33237
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33239
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33240
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33242
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33243
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33245
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
33247
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33248
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
33249
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33250
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33251
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
33252
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33253
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33254
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
33255
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33256
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33257
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33259
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33260
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33262
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33263
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33265
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
33266
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
33267
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33268
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
33269
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33270
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33271
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
33272
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33273
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33274
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
33275
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33276
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33277
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33279
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33280
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33283
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33285
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
33294
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (14.6ms)
|
33295
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "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[0m
|
33343
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (19.2ms)
|
33344
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
33391
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.9ms)
|
33392
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
33411
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (14.9ms)
|
33412
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (3.2ms)[0m [1mselect sqlite_version(*)[0m
|
33460
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
33461
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
33462
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
33463
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
33464
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
33465
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
33466
|
+
[1m[35mUser Load (11.6ms)[0m SELECT "users".* FROM "users"
|
33467
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33468
|
+
[1m[35mSQL (32.9ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33470
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33471
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33473
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33474
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33476
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
33477
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
33478
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33479
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
33480
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33481
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33482
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
33483
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33484
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33485
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
33486
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33487
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33488
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33490
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33491
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33493
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33494
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33496
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
33497
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
33498
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33499
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
33500
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33501
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33502
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
33503
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33504
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33505
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
33506
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33507
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33508
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33510
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33511
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33513
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33514
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33516
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
33518
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33519
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
33520
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33521
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33522
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
33523
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33524
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33525
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
33526
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33527
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33528
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33530
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33531
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33533
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33534
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33536
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
33537
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33538
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33540
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33541
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 13]]
|
33542
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33543
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1[0m
|
33544
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
33545
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33546
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
|
33547
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33548
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33549
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
33550
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33551
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33552
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
33553
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33554
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33555
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
33556
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33557
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33558
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33560
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33561
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33563
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33564
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33566
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
33567
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
33568
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33569
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
33570
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33571
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33572
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
33573
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33574
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33575
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
33576
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33577
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33578
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33580
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33581
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33583
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33584
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33586
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
33587
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
33588
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
33589
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
33590
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33591
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
33592
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33593
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33594
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
33595
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33596
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33597
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
33598
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33599
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33600
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33602
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33603
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33605
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33606
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33608
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
33618
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (14.0ms)
|
33619
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
33666
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.7ms)
|
33667
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mInvoice Load (0.4ms)[0m [1mSELECT "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[0m
|
33714
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (28.6ms)
|
33715
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
33763
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (8.2ms)
|
33764
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "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[0m
|
33776
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.3ms)
|
33777
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "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[0m
|
33788
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (19.5ms)
|
33789
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mInvoice Load (0.6ms)[0m [1mSELECT "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[0m
|
33802
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (85.3ms)
|
33803
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "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[0m
|
33814
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (20.0ms)
|
33815
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (34.1ms)[0m [1mselect sqlite_version(*)[0m
|
33856
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
33857
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
33858
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
33859
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
33860
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
33861
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
33862
|
+
[1m[35mUser Load (2.2ms)[0m SELECT "users".* FROM "users"
|
33863
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33864
|
+
[1m[35mSQL (6.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33866
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33867
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33869
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33870
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33872
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
33873
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
33874
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33875
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
33876
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33877
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33878
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
33879
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33880
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33881
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
33882
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33883
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33884
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33886
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33887
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33889
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33890
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33892
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
33893
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
33894
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33895
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
33896
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33897
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33898
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
33899
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33900
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33901
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
33902
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33903
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33904
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33906
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33907
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33909
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33910
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33912
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
33913
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33914
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
|
33915
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33916
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33917
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
33918
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33919
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33920
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
33921
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33922
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33923
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33925
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33926
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33928
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33929
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33931
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0[0m
|
33932
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
33933
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33934
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
|
33935
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33936
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33937
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
33938
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33939
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33940
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
33941
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33942
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33943
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33945
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33946
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33948
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33949
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33951
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
33952
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
33953
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33954
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
|
33955
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33956
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33957
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
33958
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33959
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33960
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
33961
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33962
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33963
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33965
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33966
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
33968
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33969
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33971
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
33972
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
33973
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
33974
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
|
33975
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33976
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
|
33977
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33978
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33979
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
33980
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33981
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33982
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
33983
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33984
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33985
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33987
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33988
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
33990
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33991
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
33993
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
33994
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33995
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
33997
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33998
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]
|
33999
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34000
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1
|
34001
|
+
Connecting to database specified by database.yml
|
34002
|
+
[1m[36m (34.3ms)[0m [1mselect sqlite_version(*)[0m
|
34003
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
34004
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
34005
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
34006
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
34007
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
34008
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
34009
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34010
|
+
[1m[36mSQL (44.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34012
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34013
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
34014
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34015
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
34016
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34017
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34018
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
34019
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34020
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34021
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34023
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34024
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34026
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34027
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34029
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
34030
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34031
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34032
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
34033
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34034
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34035
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
34036
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34037
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34038
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
34039
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34040
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34041
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34043
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34044
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34046
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34047
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34049
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34050
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34051
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
34052
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34053
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34054
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
34055
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34056
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34057
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
|
34058
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34059
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34060
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34062
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34063
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34065
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34066
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34068
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34069
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34070
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34071
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
34072
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34073
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34074
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
34075
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34076
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34077
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
|
34078
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34079
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34080
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34082
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34083
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34085
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34086
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34088
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" LIMIT 25 OFFSET 0[0m
|
34089
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34090
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34091
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
|
34092
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34093
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34094
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
|
34095
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34096
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34097
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
|
34098
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34099
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34100
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34102
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34103
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34105
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34106
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34108
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34109
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34110
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34111
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
|
34112
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34113
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34114
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
|
34115
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34116
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34117
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
|
34118
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34119
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34120
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34122
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34123
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34125
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34126
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34128
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
34129
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
34130
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34131
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34132
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34133
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
|
34134
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34135
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34136
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
|
34137
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34138
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34139
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
|
34140
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34141
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34142
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34144
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34145
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34147
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34148
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34150
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34151
|
+
Connecting to database specified by database.yml
|
34152
|
+
[1m[36m (1.6ms)[0m [1mselect sqlite_version(*)[0m
|
34153
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
34154
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
34155
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
34156
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
34157
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
34158
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
34159
|
+
[1m[35mUser Load (2.2ms)[0m SELECT "users".* FROM "users"
|
34160
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34161
|
+
[1m[35mSQL (38.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34163
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34164
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34166
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34167
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34169
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
34170
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34171
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34172
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
34173
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34174
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34175
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
34176
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34177
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34178
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
34179
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34180
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34181
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34183
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34184
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34187
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34189
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34190
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34191
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
|
34192
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34193
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34194
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
34195
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34196
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34197
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
34198
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34199
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34200
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34202
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34203
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34205
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34206
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34208
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34209
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34210
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34211
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
|
34212
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34213
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34214
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
34215
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34216
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34217
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
34218
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34219
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34220
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34222
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34223
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34225
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34226
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34228
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" LIMIT 25 OFFSET 0[0m
|
34229
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34230
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34231
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
|
34232
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34233
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34234
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
34235
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34236
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34237
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
34238
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34239
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34240
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34242
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34243
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34245
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34246
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34248
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34249
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34250
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34251
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
|
34252
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34253
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34254
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
34255
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34256
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34257
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
34258
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34259
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34260
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34262
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34263
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34265
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34266
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34268
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
34269
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
34270
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34271
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
|
34272
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34273
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
|
34274
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34275
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34276
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
34277
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34278
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34279
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
34280
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34281
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34282
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34284
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34285
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34287
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34288
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34290
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34291
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34292
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34294
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34295
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]
|
34296
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34297
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1
|
34298
|
+
Connecting to database specified by database.yml
|
34299
|
+
[1m[36m (1.6ms)[0m [1mselect sqlite_version(*)[0m
|
34300
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
34301
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
34302
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
34303
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
34304
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
34305
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
34306
|
+
[1m[35mUser Load (1.2ms)[0m SELECT "users".* FROM "users"
|
34307
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34308
|
+
[1m[35mSQL (25.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34310
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34311
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34313
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34314
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34316
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
34317
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34318
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34319
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
34320
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34321
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34322
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
34323
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34324
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34325
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
34326
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34327
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34328
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34330
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34331
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34333
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34334
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34336
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
34337
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34338
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34339
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
34340
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34341
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34342
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
34343
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34344
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34345
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
34346
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34347
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34348
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34350
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34351
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34353
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34354
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34356
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34358
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34359
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
34360
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34361
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34362
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
34363
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34364
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34365
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
34366
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34367
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34368
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34370
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34371
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34373
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34374
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34376
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
34377
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34378
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34379
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
34380
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34381
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34382
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
|
34383
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34384
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34385
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
|
34386
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34387
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34388
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34390
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34391
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34393
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34394
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34396
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
34397
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34398
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34399
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
34400
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34401
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34402
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
|
34403
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34404
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34405
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
|
34406
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34407
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34408
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34410
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34411
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34413
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34414
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34416
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
34417
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
34418
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34419
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34420
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34421
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
34422
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34423
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34424
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
|
34425
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34426
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34427
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
|
34428
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34429
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34430
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34432
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34433
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34435
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34436
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34438
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34439
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34440
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34442
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34443
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 22]]
|
34444
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34445
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1[0m
|
34446
|
+
Connecting to database specified by database.yml
|
34447
|
+
[1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
|
34448
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
34449
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
34450
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
34451
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
34452
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
34453
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
34454
|
+
[1m[35mUser Load (2.2ms)[0m SELECT "users".* FROM "users"
|
34455
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34456
|
+
[1m[35mSQL (38.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34458
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34459
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34461
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34462
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34464
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
34465
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34466
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34467
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
34468
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34469
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34470
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
34471
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34472
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34473
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
34474
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34475
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34476
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34478
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34479
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34481
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34482
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34484
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
34485
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34486
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34487
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
34488
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34489
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34490
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
34491
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34492
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34493
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
34494
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34495
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34496
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34498
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34499
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34501
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34502
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34504
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
34505
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
34506
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34507
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34508
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34509
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
34510
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34511
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34512
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
34513
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34514
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34515
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
34516
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34517
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34518
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34520
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34521
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34523
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34524
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34526
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
34527
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34528
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34529
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
34530
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34531
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34532
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
|
34533
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34534
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34535
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
|
34536
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34537
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34538
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34540
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34541
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34543
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34544
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34546
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
34547
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34548
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34549
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
34550
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34551
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34552
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
|
34553
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34554
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34555
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
|
34556
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34557
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34558
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34560
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34561
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34563
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34564
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34566
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34568
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34569
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
34570
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34571
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34572
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
|
34573
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34574
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34575
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
|
34576
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34577
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34578
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34580
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34581
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34583
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34584
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34586
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
34587
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34588
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34590
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34591
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 22]]
|
34592
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34593
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1[0m
|
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
|
+
[1m[36mInvoice Load (0.6ms)[0m [1mSELECT "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[0m
|
34604
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (50.6ms)
|
34605
|
+
[1m[35m (0.6ms)[0m 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
|
+
[1m[36m (1.8ms)[0m [1mselect sqlite_version(*)[0m
|
34609
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
34610
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
34611
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
34612
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
34613
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
34614
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
34615
|
+
[1m[35mUser Load (1.5ms)[0m SELECT "users".* FROM "users"
|
34616
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34617
|
+
[1m[35mSQL (24.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34619
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34620
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34622
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34623
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34625
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34626
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34627
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34628
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
34629
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34630
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34631
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
34632
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34633
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34634
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
34635
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34636
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34637
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34639
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34640
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34642
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34643
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34645
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
34646
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
34647
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34648
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34649
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34650
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
34651
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34652
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34653
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
34654
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34655
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34656
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
34657
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34658
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34659
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34661
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34662
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34664
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34665
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34667
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
34668
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34669
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34670
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
34671
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34672
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34673
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
34674
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34675
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34676
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
34677
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34678
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34679
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34681
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34682
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34684
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34685
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34687
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
34688
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34689
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34690
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
34691
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34692
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34693
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
|
34694
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34695
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34696
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
|
34697
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34698
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34699
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34701
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34702
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34704
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34705
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34707
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
34708
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34709
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34710
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
34711
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34712
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34713
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
|
34714
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34715
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34716
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
|
34717
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34718
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34719
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34721
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34722
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34724
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34725
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34727
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34729
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34730
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
34731
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34732
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34733
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
|
34734
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34735
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34736
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
|
34737
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34738
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34739
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34741
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34742
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34744
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34745
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34747
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
34748
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34749
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34751
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34752
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 22]]
|
34753
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34754
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1[0m
|
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
|
+
[1m[36mInvoice Load (0.6ms)[0m [1mSELECT "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[0m
|
34764
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (26.9ms)
|
34765
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "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[0m
|
34777
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (13.9ms)
|
34778
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
34783
|
+
[1m[35m (232.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
34784
|
+
[1m[36m (125.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
34785
|
+
[1m[35m (1.4ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
34786
|
+
Migrating to CreateUsers (20130622120853)
|
34787
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34788
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130622120853')[0m
|
34790
|
+
[1m[35m (168.7ms)[0m commit transaction
|
34791
|
+
Migrating to CreateInvoices (20130630132513)
|
34792
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34793
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130630132513')[0m
|
34795
|
+
[1m[35m (162.6ms)[0m commit transaction
|
34796
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
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
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
34801
|
+
[1m[35m (191.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
34802
|
+
[1m[36m (156.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
34803
|
+
[1m[35m (1.6ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
34804
|
+
Migrating to CreateUsers (20130622120853)
|
34805
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34806
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130622120853')[0m
|
34808
|
+
[1m[35m (164.2ms)[0m commit transaction
|
34809
|
+
Migrating to CreateInvoices (20130630132513)
|
34810
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34811
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130630132513')[0m
|
34813
|
+
[1m[35m (179.5ms)[0m commit transaction
|
34814
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
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
|
+
[1m[36mInvoice Load (0.4ms)[0m [1mSELECT "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[0m
|
34827
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (48.2ms)
|
34828
|
+
[1m[35m (0.6ms)[0m 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
|
+
[1m[36mInvoice Load (0.6ms)[0m [1mSELECT "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[0m
|
34839
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
34840
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
34841
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
34842
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
34843
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
34844
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
34845
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
34846
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
34847
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
34848
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
34849
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
34850
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
34851
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
34852
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
34853
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
34854
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
34855
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
34856
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
34857
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
34858
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
34859
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
34860
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
34861
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
34862
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
34863
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (1.0ms)[0m [1mSELECT 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'))[0m
|
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
|
+
[1m[36m (3.2ms)[0m [1mselect sqlite_version(*)[0m
|
34906
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
34907
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
34908
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
34909
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
34910
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
34911
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
34912
|
+
[1m[35mUser Load (21.8ms)[0m SELECT "users".* FROM "users"
|
34913
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34914
|
+
[1m[35mSQL (3.8ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34916
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34917
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34919
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34920
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34922
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34923
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34924
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34925
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
34926
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34927
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34928
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
34929
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34930
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34931
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
34932
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34933
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34934
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34936
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34937
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34939
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34940
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34942
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
34943
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
34944
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34945
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34946
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34947
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
34948
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34949
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34950
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
34951
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34952
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34953
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
34954
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34955
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34956
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34958
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34959
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34961
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34962
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34964
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
34965
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34966
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34968
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34969
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 10]]
|
34970
|
+
[1m[35m (0.1ms)[0m commit transaction
|
34971
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1[0m
|
34972
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
34973
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34974
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
|
34975
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34976
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34977
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
34978
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34979
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34980
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
34981
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34982
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34983
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
34984
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34985
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34986
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
34988
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34989
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34991
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34992
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34994
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
34995
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
34996
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34997
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
34998
|
+
[1m[35m (0.0ms)[0m commit transaction
|
34999
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35000
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
35001
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35002
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35003
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
35004
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35005
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35006
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35008
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35009
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35011
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35012
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35014
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35016
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35017
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
35018
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35019
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35020
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
35021
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35022
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35023
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
35024
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35025
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35026
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35028
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35029
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35031
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35032
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35034
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35035
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35036
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35037
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
35038
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35039
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35040
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
35041
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35042
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35043
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
35044
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35045
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35046
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35048
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35049
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35051
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35052
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35054
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
35055
|
+
Connecting to database specified by database.yml
|
35056
|
+
[1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
|
35057
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
35058
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
35059
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
35060
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
35061
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
35062
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
35063
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35064
|
+
[1m[36mSQL (43.6ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35066
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35067
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
35068
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35069
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
35070
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35071
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35072
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
35073
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35074
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35075
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35077
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35078
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35080
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35081
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35083
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
35084
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
35085
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35086
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35087
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35088
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
35089
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35090
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35091
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
35092
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35093
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35094
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
35095
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35096
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35097
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35099
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35100
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35102
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35103
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35105
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35106
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35107
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35108
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
35109
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35110
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35111
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
35112
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35113
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35114
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
35115
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35116
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35117
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35119
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35120
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35122
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35123
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35125
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35126
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35127
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35128
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
35129
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35130
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35131
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
35132
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35133
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35134
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
35135
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35136
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35137
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35139
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35140
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35142
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35143
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35145
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
35146
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35147
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35148
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
35149
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35150
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35151
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
35152
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35153
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35154
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
35155
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35156
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35157
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35159
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35160
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35162
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35163
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35165
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35166
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35167
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35168
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
35169
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35170
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35171
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
35172
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35173
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35174
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
35175
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35176
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35177
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35179
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35180
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35182
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35183
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35185
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35187
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35188
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
35189
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35190
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35191
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
35192
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35193
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35194
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
35195
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35196
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35197
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35199
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35200
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35202
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35203
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35205
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
35206
|
+
Connecting to database specified by database.yml
|
35207
|
+
[1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
|
35208
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
35209
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
35210
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
35211
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
35212
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
35213
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
35214
|
+
[1m[35mUser Load (2.2ms)[0m SELECT "users".* FROM "users"
|
35215
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35216
|
+
[1m[35mSQL (39.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35218
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35219
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35221
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35222
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35224
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
35225
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35226
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35227
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
35228
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35230
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
35231
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35232
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35233
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
35234
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35235
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35236
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35238
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35239
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35241
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35242
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35244
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
35245
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35246
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35247
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
35248
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35249
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35250
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
35251
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35252
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35253
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
35254
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35255
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35256
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35258
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35259
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35261
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35262
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35264
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35266
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35267
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
35268
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35269
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35270
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
35271
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35272
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35273
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
35274
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35275
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35276
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35278
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35279
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35281
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35282
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35284
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
35285
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35286
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35288
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35289
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 13]]
|
35290
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35291
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1[0m
|
35292
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35293
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35294
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
|
35295
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35296
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35297
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
35298
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35299
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35300
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
35301
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35302
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35303
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
35304
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35305
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35306
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35308
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35309
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35311
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35312
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35314
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35315
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35316
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35317
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
35318
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35319
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35320
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
35321
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35322
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35323
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
35324
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35325
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35326
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35328
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35329
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35331
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35332
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35334
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35335
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35336
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35337
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
35338
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35339
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35340
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
35341
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35342
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35343
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
35344
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35345
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35346
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35348
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35349
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35351
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35352
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35354
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
35355
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
35356
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
|