test/dummy/log/development.log in query_report-1.0.2 vs test/dummy/log/development.log in query_report-1.0.3

- old
+ new

@@ -35352,5 +35352,2823 @@ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:13:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.3ms) SELECT "users".* FROM "users" +Connecting to database specified by database.yml +Connecting to database specified by database.yml +  (1.5ms) select sqlite_version(*) +  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  +  (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) +  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  + User Load (13.6ms) SELECT "users".* FROM "users" +  (0.1ms) begin transaction + SQL (31.0ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.1ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] +  (0.1ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 13]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:24 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:24 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:24 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00]] +  (0.0ms) commit transaction +  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" +  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  + User Load (0.1ms) SELECT "users".* FROM "users" +Connecting to database specified by database.yml + + +Started GET "/" for 127.0.0.1 at 2013-09-06 11:42:59 +0600 +Processing by InvoicesController#index as HTML + Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (19.3ms) + Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.3ms) + Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms) + Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-06 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 + User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (110.3ms) +  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-06 00:00:00.000000' AND "invoices"."paid" = 'f')) + Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (205.5ms) +Completed 200 OK in 496ms (Views: 411.0ms | ActiveRecord: 20.6ms) + + +Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 +Served asset /application.css - 200 OK (7ms) + + +Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 +Served asset /invoices.css - 200 OK (1ms) + + +Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 +Served asset /scaffold.css - 200 OK (1ms) + + +Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 +Served asset /users.css - 200 OK (1ms) + + +Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 +Served asset /invoices.js - 200 OK (1ms) + + +Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 +Served asset /users.js - 200 OK (1ms) + + +Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 +Served asset /application.js - 200 OK (4ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 +Served asset /jquery_ujs.js - 200 OK (27ms) + + +Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 +Served asset /jquery.js - 200 OK (2ms) +Connecting to database specified by database.yml +  (1.5ms) select sqlite_version(*) +  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  +  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) +  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  +  (0.1ms) begin transaction + SQL (23.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users" +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]] +  (0.0ms) commit transaction +  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  +  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users"  + User Load (0.1ms) SELECT "users".* FROM "users" +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:09 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:09 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:09 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users"  + User Load (0.1ms) SELECT "users".* FROM "users" +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:09 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:09 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:09 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users"  +Connecting to database specified by database.yml +  (1.4ms) select sqlite_version(*) +  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  +  (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) +  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  +  (0.0ms) begin transaction + SQL (4.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]] +  (0.1ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:10 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:10 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:10 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:10 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:10 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:10 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]] +  (0.0ms) commit transaction +  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" +  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 +Connecting to database specified by database.yml + + +Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 +Processing by InvoicesController#index as HTML + Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (13.6ms) + Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.2ms) + Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.4ms) + Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" = '2013-04-06 08:30:59.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 + Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (7.2ms) +  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" = '2013-04-06 08:30:59.000000' AND "invoices"."paid" = 'f')) + Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (54.3ms) +Completed 200 OK in 171ms (Views: 94.6ms | ActiveRecord: 19.2ms) + + +Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 +Served asset /application.css - 304 Not Modified (10ms) + + +Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 +Served asset /invoices.css - 304 Not Modified (1ms) + + +Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 +Served asset /users.css - 304 Not Modified (1ms) + + +Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 +Served asset /scaffold.css - 304 Not Modified (3ms) + + +Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 +Served asset /jquery.js - 304 Not Modified (4ms) + + +Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 +Served asset /invoices.js - 304 Not Modified (1ms) + + +Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 +Served asset /users.js - 304 Not Modified (0ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 +Served asset /jquery_ujs.js - 304 Not Modified (1ms) + + +Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 +Served asset /application.js - 304 Not Modified (7ms) + + +Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 +Processing by InvoicesController#index as HTML + Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (5.7ms) + Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.7ms) + Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms) + Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" = '2013-04-06 08:31:27.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 + Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (1.7ms) +  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" = '2013-04-06 08:31:27.000000' AND "invoices"."paid" = 'f')) + Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (31.0ms) +Completed 200 OK in 36ms (Views: 34.4ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 +Served asset /application.css - 200 OK (5ms) + + +Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 +Served asset /invoices.css - 200 OK (0ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 +Served asset /jquery_ujs.js - 200 OK (1ms) + + +Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 +Served asset /jquery.js - 200 OK (2ms) + + +Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 +Served asset /scaffold.css - 200 OK (0ms) + + +Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 +Served asset /users.css - 200 OK (0ms) + + +Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 +Served asset /invoices.js - 200 OK (0ms) + + +Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 +Served asset /users.js - 200 OK (0ms) + + +Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 +Served asset /application.js - 200 OK (0ms) +Connecting to database specified by database.yml +  (1.6ms) select sqlite_version(*) +  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  +  (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) +  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  +  (0.1ms) begin transaction + SQL (27.0ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]] +  (0.1ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:38 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:38 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:38 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:38 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:38 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:38 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]] +  (0.0ms) commit transaction +  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" +  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  + User Load (0.1ms) SELECT "users".* FROM "users" +Connecting to database specified by database.yml + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]] +  (0.1ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]] +  (0.2ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 + + +Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 +Processing by InvoicesController#index as HTML + Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (10.9ms) + Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.0ms) + Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms) + Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:31:43.000000' AND "invoices"."created_at" <= '2013-10-06 08:31:43.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (91.6ms) +  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:31:43.000000' AND "invoices"."created_at" <= '2013-10-06 08:31:43.000000' AND "invoices"."paid" = 'f')) + Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (138.2ms) +Completed 200 OK in 231ms (Views: 154.6ms | ActiveRecord: 20.2ms) + + +Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 +Served asset /application.css - 200 OK (10ms) + + +Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 +Served asset /invoices.css - 200 OK (1ms) + + +Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 +Served asset /users.css - 200 OK (1ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 +Served asset /jquery_ujs.js - 200 OK (3ms) + + +Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 +Served asset /jquery.js - 200 OK (4ms) + + +Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 +Served asset /scaffold.css - 200 OK (1ms) + + +Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 +Served asset /invoices.js - 200 OK (1ms) + + +Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 +Served asset /users.js - 200 OK (0ms) + + +Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 +Served asset /application.js - 200 OK (4ms) +Connecting to database specified by database.yml + + +Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 +Processing by InvoicesController#index as HTML + Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (10.7ms) + Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.0ms) + Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms) + Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:32:00.000000' AND "invoices"."created_at" <= '2013-10-06 08:32:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (87.8ms) +  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:32:00.000000' AND "invoices"."created_at" <= '2013-10-06 08:32:00.000000' AND "invoices"."paid" = 'f')) + Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (134.0ms) +Completed 200 OK in 222ms (Views: 146.9ms | ActiveRecord: 2.6ms) + + +Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 +Served asset /application.css - 200 OK (35ms) + + +Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 +Served asset /invoices.css - 200 OK (1ms) + + +Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 +Served asset /users.css - 200 OK (1ms) + + +Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 +Served asset /scaffold.css - 200 OK (1ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 +Served asset /jquery_ujs.js - 200 OK (1ms) + + +Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 +Served asset /jquery.js - 200 OK (4ms) + + +Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 +Served asset /invoices.js - 200 OK (1ms) + + +Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 +Served asset /users.js - 200 OK (1ms) + + +Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 +Served asset /application.js - 200 OK (23ms) +Connecting to database specified by database.yml + + +Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:33:58 +0600 +Processing by InvoicesController#index as HTML + Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (11.3ms) + Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.0ms) + Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms) + Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:33:00.000000' AND "invoices"."created_at" <= '2013-10-06 08:33:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (91.4ms) +  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:33:00.000000' AND "invoices"."created_at" <= '2013-10-06 08:33:00.000000' AND "invoices"."paid" = 'f')) + Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (137.8ms) +Completed 200 OK in 231ms (Views: 151.6ms | ActiveRecord: 21.5ms) + + +Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 +Served asset /application.css - 200 OK (8ms) + + +Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 +Served asset /invoices.css - 200 OK (1ms) + + +Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 +Served asset /jquery.js - 200 OK (5ms) + + +Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 +Served asset /scaffold.css - 200 OK (1ms) + + +Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 +Served asset /users.css - 200 OK (2ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 +Served asset /jquery_ujs.js - 200 OK (3ms) + + +Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 +Served asset /users.js - 200 OK (2ms) + + +Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 +Served asset /invoices.js - 200 OK (1ms) + + +Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 +Served asset /application.js - 200 OK (4ms) +Connecting to database specified by database.yml + + +Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 +Processing by InvoicesController#index as HTML + Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (9.4ms) + Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.9ms) + Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms) + Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-06 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (88.0ms) +  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-06 00:00:00.000000' AND "invoices"."paid" = 'f')) + Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (132.8ms) +Completed 200 OK in 221ms (Views: 146.2ms | ActiveRecord: 19.7ms) + + +Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 +Served asset /application.css - 200 OK (9ms) + + +Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 +Served asset /invoices.css - 200 OK (1ms) + + +Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 +Served asset /scaffold.css - 200 OK (1ms) + + +Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 +Served asset /users.css - 200 OK (2ms) + + +Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 +Served asset /jquery.js - 200 OK (4ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 +Served asset /jquery_ujs.js - 200 OK (1ms) + + +Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 +Served asset /users.js - 200 OK (23ms) + + +Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 +Served asset /invoices.js - 200 OK (1ms) + + +Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 +Served asset /application.js - 200 OK (4ms) +Connecting to database specified by database.yml +  (1.3ms) select sqlite_version(*) +  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  +  (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) +  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  +  (0.0ms) begin transaction + SQL (23.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" +  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]] +  (0.1ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:18 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:18 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:18 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:18 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:18 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:18 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" +Connecting to database specified by database.yml +  (3.1ms) select sqlite_version(*) +  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  +  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) +  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  +  (0.1ms) begin transaction + SQL (43.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.1ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]] +  (0.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]] +  (0.1ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]] +  (0.1ms) commit transaction +  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users" +  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:43 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:43 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:43 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" +Connecting to database specified by database.yml +  (3.3ms) select sqlite_version(*) +  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  +  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) +  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  +  (0.1ms) begin transaction + SQL (44.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]] +  (0.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]] +  (0.1ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]] +  (0.1ms) commit transaction +  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users" +  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:20 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:20 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:20 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" +Connecting to database specified by database.yml +  (3.3ms) select sqlite_version(*) +  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  +  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) +  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  +  (0.1ms) begin transaction + SQL (43.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:37 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:37 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:37 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:37 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:37 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:37 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]] +  (0.1ms) commit transaction +  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users" +  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]] +  (0.1ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 +Connecting to database specified by database.yml +  (3.3ms) select sqlite_version(*) +  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  +  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) +  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  +  (0.1ms) begin transaction + SQL (43.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 13:36:15 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 13:36:15 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:16 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:16 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:16 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:16 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:16 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:16 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]] +  (0.1ms) commit transaction +  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users" +  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]] +  (0.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 +Connecting to database specified by database.yml +  (3.3ms) select sqlite_version(*) +  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  +  (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) +  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  + User Load (2.7ms) SELECT "users".* FROM "users" +  (0.1ms) begin transaction + SQL (42.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]] +  (0.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]] +  (0.1ms) commit transaction +  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users" +  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:48 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:48 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:48 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:48 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:48 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:48 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 +Connecting to database specified by database.yml +  (3.7ms) select sqlite_version(*) +  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  +  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) +  (0.2ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  + User Load (2.4ms) SELECT "users".* FROM "users" +  (0.1ms) begin transaction + SQL (40.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:48 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:48 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:48 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:48 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:48 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:48 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]] +  (0.1ms) commit transaction +  (0.3ms) SELECT AVG("users"."age") AS avg_id FROM "users" +  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  + User Load (0.3ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]] +  (0.1ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]] +  (0.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 +Connecting to database specified by database.yml +  (3.1ms) select sqlite_version(*) +  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  +  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) +  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  +  (0.1ms) begin transaction + SQL (43.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 14:28:09 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 14:28:09 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:10 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]] +  (0.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:10 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:10 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:10 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:10 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:10 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]] +  (0.1ms) commit transaction +  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users" +  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]] +  (0.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]] +  (0.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]] +  (0.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]] +  (0.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 +Connecting to database specified by database.yml +  (3.5ms) select sqlite_version(*) +  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.3ms) CREATE TABLE "dummy_dummy_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)  +  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)  +  (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer) +  (0.3ms) CREATE TABLE "dummy_user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "dummy_user_id" integer)  +Connecting to database specified by database.yml +  (3.3ms) select sqlite_version(*) +  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.3ms) CREATE TABLE "dummy_dummy_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)  +  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)  +  (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer) +  (0.3ms) CREATE TABLE "dummy_user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "dummy_user_id" integer)  +Connecting to database specified by database.yml +  (3.5ms) select sqlite_version(*) +  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.3ms) CREATE TABLE "dummy_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)  +  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)  +  (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer) +  (0.3ms) CREATE TABLE "dummy_user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "dummy_user_id" integer)  + DummyUser Load (2.8ms) SELECT "dummy_users".* FROM "dummy_users" +  (0.1ms) begin transaction + SQL (41.5ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:54:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:54:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:54:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]] +  (0.1ms) commit transaction + DummyUser Load (0.3ms) SELECT "dummy_users".* FROM "dummy_users" LIMIT 25 OFFSET 0 + DummyUser Load (0.2ms) SELECT "dummy_users".* FROM "dummy_users"  +  (0.1ms) begin transaction + SQL (0.2ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 1]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 2]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 3]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:54:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:54:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:54:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]] +  (0.1ms) commit transaction + DummyUser Load (0.2ms) SELECT "dummy_users".* FROM "dummy_users" + DummyUser Load (0.2ms) SELECT "dummy_users".* FROM "dummy_users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 4]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 5]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 6]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:54:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:54:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:54:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]] +  (0.0ms) commit transaction + DummyUser Load (0.3ms) SELECT "dummy_users".* FROM "dummy_users" WHERE (("dummy_users"."age" = 10 AND "dummy_users"."created_at" >= '2013-04-06 00:00:00.000000' AND "dummy_users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 + DummyUser Load (0.2ms) SELECT "dummy_users".* FROM "dummy_users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 7]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 8]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 9]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:54:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:54:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:54:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]] +  (0.1ms) commit transaction + DummyUser Load (0.3ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."age" = 34 LIMIT 25 OFFSET 0 +Connecting to database specified by database.yml +  (1.8ms) select sqlite_version(*) +  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  +  (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) +  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  + User Load (2.2ms) SELECT "users".* FROM "users" +  (0.1ms) begin transaction + SQL (39.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:15 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:15 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:15 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:15 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:15 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:15 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]] +  (0.1ms) commit transaction +  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users" +  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:18 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:18 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:18 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 10]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 + User Load (0.2ms) SELECT "users".* FROM "users" +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]] +  (0.0ms) commit transaction +  (0.0ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 + User Load (0.1ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 +Connecting to database specified by database.yml +  (3.4ms) select sqlite_version(*) +  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  +  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) +  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  + User Load (2.2ms) SELECT "users".* FROM "users" +  (0.1ms) begin transaction + SQL (6.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:47 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:47 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:47 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:47 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:47 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:47 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]] +  (0.1ms) commit transaction +  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users" +  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:50 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:50 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:50 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:51 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:51 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:51 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:51 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:51 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:51 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:51 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:51 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:51 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:51 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:51 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:51 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 +Connecting to database specified by database.yml +  (3.5ms) select sqlite_version(*) +  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer) +  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) +  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  +  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) +  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  + User Load (2.2ms) SELECT "users".* FROM "users" +  (0.1ms) begin transaction + SQL (6.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:36 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:36 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]] +  (0.1ms) commit transaction +  (0.0ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:36 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:36 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:36 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:36 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:36 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:36 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:36 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]] +  (0.0ms) commit transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]] +  (0.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:36 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:36 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:36 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 13]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 + User Load (0.2ms) SELECT "users".* FROM "users" +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:37 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:37 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:37 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.1ms) SELECT "users".* FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users"  +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:37 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:37 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:37 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]] +  (0.1ms) commit transaction +  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users" +  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  + User Load (0.2ms) SELECT "users".* FROM "users" + User Load (0.2ms) SELECT "users".* FROM "users"  +  (0.0ms) begin transaction + SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00]] +  (0.1ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00]] +  (0.1ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users"