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 @@
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:13:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+ [1m[36m (1.5ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
+ [1m[35mUser Load (13.6ms)[0m SELECT "users".* FROM "users"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (31.0ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m 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
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 13]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
+ [1m[36m (0.0ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
+ [1m[35mUser Load (0.1ms)[0m 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)
+ [1m[36mInvoice Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35mUser Load (1.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m 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)
+ [1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
+ 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
+ [1m[36m (1.5ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (23.8ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
+ [1m[35m (0.0ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+Connecting to database specified by database.yml
+ [1m[36m (1.4ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (4.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
+ [1m[36m (0.0ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m 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
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m 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)
+ [1m[36mInvoice Load (0.5ms)[0m [1mSELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" = '2013-04-06 08:30:59.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0[0m
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (7.2ms)
+ [1m[35m (0.3ms)[0m 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)
+ [1m[36mInvoice Load (0.3ms)[0m [1mSELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" = '2013-04-06 08:31:27.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0[0m
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (1.7ms)
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (1.6ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (27.0ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
+ [1m[36m (0.0ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+Connecting to database specified by database.yml
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m 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
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.2ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m 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)
+ [1m[36mInvoice Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m 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)
+ [1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
+ 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)
+ [1m[36mInvoice Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m 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)
+ [1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
+ 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)
+ [1m[36mInvoice Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m 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)
+ [1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
+ 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)
+ [1m[36mInvoice Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m 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)
+ [1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
+ 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
+ [1m[36m (1.3ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (23.8ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m 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
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
+ [1m[36m (0.0ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+Connecting to database specified by database.yml
+ [1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (43.8ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.3ms)[0m 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
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
+ [1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+Connecting to database specified by database.yml
+ [1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (44.7ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m 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
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
+ [1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+Connecting to database specified by database.yml
+ [1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (43.5ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
+ [1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.3ms)[0m 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
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
+Connecting to database specified by database.yml
+ [1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.3ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (43.6ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
+ [1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m 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
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
+Connecting to database specified by database.yml
+ [1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.3ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
+ [1m[35mUser Load (2.7ms)[0m SELECT "users".* FROM "users"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (42.6ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.3ms)[0m 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
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
+ [1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 22]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1[0m
+Connecting to database specified by database.yml
+ [1m[36m (3.7ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.3ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
+ [1m[35mUser Load (2.4ms)[0m SELECT "users".* FROM "users"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (40.7ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.3ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
+ [1m[36m (0.2ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m 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
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 22]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1[0m
+Connecting to database specified by database.yml
+ [1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (43.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
+ [1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.3ms)[0m 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
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
+Connecting to database specified by database.yml
+ [1m[36m (3.5ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.3ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "dummy_user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "dummy_user_id" integer) [0m
+Connecting to database specified by database.yml
+ [1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.3ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.3ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "dummy_user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "dummy_user_id" integer) [0m
+Connecting to database specified by database.yml
+ [1m[36m (3.5ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.3ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "dummy_user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "dummy_user_id" integer) [0m
+ [1m[35mDummyUser Load (2.8ms)[0m SELECT "dummy_users".* FROM "dummy_users"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (41.5ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mDummyUser Load (0.3ms)[0m SELECT "dummy_users".* FROM "dummy_users" LIMIT 25 OFFSET 0
+ [1m[36mDummyUser Load (0.2ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "dummy_users" WHERE "dummy_users"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 2]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "dummy_users" WHERE "dummy_users"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mDummyUser Load (0.2ms)[0m SELECT "dummy_users".* FROM "dummy_users"
+ [1m[36mDummyUser Load (0.2ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "dummy_users" WHERE "dummy_users"."id" = ?[0m [["id", 4]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 5]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "dummy_users" WHERE "dummy_users"."id" = ?[0m [["id", 6]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mDummyUser Load (0.3ms)[0m 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
+ [1m[36mDummyUser Load (0.2ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "dummy_users" WHERE "dummy_users"."id" = ?[0m [["id", 7]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 8]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "dummy_users" WHERE "dummy_users"."id" = ?[0m [["id", 9]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mDummyUser Load (0.3ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."age" = 34 LIMIT 25 OFFSET 0
+Connecting to database specified by database.yml
+ [1m[36m (1.8ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.3ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
+ [1m[35mUser Load (2.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (39.7ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
+ [1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 10]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.3ms)[0m 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
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
+Connecting to database specified by database.yml
+ [1m[36m (3.4ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
+ [1m[35mUser Load (2.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (6.5ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
+ [1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.3ms)[0m 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
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 22]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1[0m
+Connecting to database specified by database.yml
+ [1m[36m (3.5ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
+ [1m[35mUser Load (2.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (6.9ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.3ms)[0m 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
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 13]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
+ [1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"