query_report 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. data/README.md +4 -1
  2. data/app/helpers/query_report_filter_helper.rb +5 -1
  3. data/lib/query_report.rb +2 -0
  4. data/lib/query_report/comparator.rb +55 -0
  5. data/lib/query_report/config.rb +2 -0
  6. data/lib/query_report/filter.rb +5 -46
  7. data/lib/query_report/version.rb +1 -1
  8. data/test/dummy/app/controllers/invoices_controller.rb +1 -3
  9. data/test/dummy/app/models/invoice.rb +2 -3
  10. data/test/dummy/config/application.rb +0 -1
  11. data/test/dummy/db/development.sqlite3 +0 -0
  12. data/test/dummy/db/migrate/20130630132513_create_invoices.rb +1 -1
  13. data/test/dummy/db/schema.rb +1 -9
  14. data/test/dummy/db/seed.rb +1 -6
  15. data/test/dummy/db/test.sqlite3 +0 -0
  16. data/test/dummy/log/development.log +2818 -0
  17. data/test/dummy/tmp/miniprofiler/mp_timers_1yzh11ff7f20he2ibrf5 +0 -0
  18. data/test/dummy/tmp/miniprofiler/mp_timers_43t0tuuypgcuns14vrux +0 -0
  19. data/test/dummy/tmp/miniprofiler/mp_timers_8ku60sfcb2ox5r3bn86p +0 -0
  20. data/test/dummy/tmp/miniprofiler/mp_timers_bvxp7ntgvswdeihn0xkx +0 -0
  21. data/test/dummy/tmp/miniprofiler/mp_timers_exy6ebpwi5seo6ohb61r +0 -0
  22. data/test/dummy/tmp/miniprofiler/mp_timers_f0jlfr3yzz6f1yfyq446 +0 -0
  23. data/test/dummy/tmp/miniprofiler/mp_timers_gr2fezt8668tj6sdlgxd +0 -0
  24. data/test/dummy/tmp/miniprofiler/mp_timers_gx96ln5mjqb61n0uc37o +0 -0
  25. data/test/dummy/tmp/miniprofiler/mp_timers_h42xf1rxqz40qpxkhkfh +0 -0
  26. data/test/dummy/tmp/miniprofiler/mp_timers_iyeniuysxyxtupg0v0fb +0 -0
  27. data/test/dummy/tmp/miniprofiler/mp_timers_mr5amrsanyhnyiefk7ze +0 -0
  28. data/test/dummy/tmp/miniprofiler/mp_timers_qhtoawvlvlp0753c32so +0 -0
  29. data/test/dummy/tmp/miniprofiler/mp_timers_ro8d5tfkqqi3pyyahy8t +0 -0
  30. data/test/dummy/tmp/miniprofiler/mp_timers_u5cef64yg5b391u4fmj6 +0 -0
  31. data/test/dummy/tmp/miniprofiler/mp_timers_waldf841hr1ekdv3pxby +0 -0
  32. data/test/dummy/tmp/miniprofiler/mp_timers_xgkalffzvqg8jwck2t95 +0 -0
  33. data/test/dummy/tmp/miniprofiler/mp_timers_zrlk63csu50ffb4ysymm +0 -0
  34. data/test/dummy/tmp/miniprofiler/mp_views_127.0.0.1 +0 -0
  35. metadata +46 -63
  36. data/test/dummy/app/models/user.rb +0 -8
  37. data/test/dummy/db/migrate/20130622120853_create_users.rb +0 -11
  38. data/test/dummy/tmp/miniprofiler/mp_timers_1phunlrkl040xbl9ni38 +0 -0
  39. data/test/dummy/tmp/miniprofiler/mp_timers_2jj5q0umhfjgdsr3be6r +0 -0
  40. data/test/dummy/tmp/miniprofiler/mp_timers_4nme0opawv0cuju7ycln +0 -0
  41. data/test/dummy/tmp/miniprofiler/mp_timers_4x4zy2jyybfnrfctzoll +0 -0
  42. data/test/dummy/tmp/miniprofiler/mp_timers_501n5dolb96ahn8fsdeb +0 -0
  43. data/test/dummy/tmp/miniprofiler/mp_timers_50279rze1q2oyskpd2bx +0 -0
  44. data/test/dummy/tmp/miniprofiler/mp_timers_5cx1jmk7clhq7gdqu8fj +0 -0
  45. data/test/dummy/tmp/miniprofiler/mp_timers_625nhhhlou6kji64k1v8 +0 -0
  46. data/test/dummy/tmp/miniprofiler/mp_timers_8papkqyltk3r9vdbiwlx +0 -0
  47. data/test/dummy/tmp/miniprofiler/mp_timers_as4xud3puw1vxjzm8ma3 +0 -0
  48. data/test/dummy/tmp/miniprofiler/mp_timers_cuw96wvyfzku6np7dv6u +0 -0
  49. data/test/dummy/tmp/miniprofiler/mp_timers_eml2za25qr6vmokw5tda +0 -0
  50. data/test/dummy/tmp/miniprofiler/mp_timers_f1cpnb605srbgp7u5n6l +0 -0
  51. data/test/dummy/tmp/miniprofiler/mp_timers_kcb88g8t6jcdbzy4sf40 +0 -0
  52. data/test/dummy/tmp/miniprofiler/mp_timers_oziigmt85gb8ro89h2uo +0 -0
  53. data/test/dummy/tmp/miniprofiler/mp_timers_rkitlcrj5rur9vtb25yr +0 -0
  54. data/test/dummy/tmp/miniprofiler/mp_timers_s24xgsm7sihnsifjqne0 +0 -0
  55. data/test/dummy/tmp/miniprofiler/mp_timers_v4vq4inppiedkn1mxsut +0 -0
  56. data/test/dummy/tmp/miniprofiler/mp_timers_wb62iw0f860zfkjkt42d +0 -0
  57. data/test/dummy/tmp/miniprofiler/mp_timers_yb4i2uuaxhoz5hst26bj +0 -0
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  [Query report](http://ashrafuzzaman.github.io/query_report/) By [Ashrafuzzaman](http://www.ashrafuzzaman.com).
2
2
 
3
+ [![Build Status](https://api.travis-ci.org/ashrafuzzaman/query_report.png?branch=master)](http://travis-ci.org/ashrafuzzaman/query_report)
4
+
3
5
  Query report is a reporting tool, which does the following:
4
6
 
5
7
  * Generate paginated HTML view with filters, defined columns with sorting
@@ -7,6 +9,7 @@ Query report is a reporting tool, which does the following:
7
9
  * Provide feature to define re usable custom filter
8
10
 
9
11
  As built in filter I have used [ransack](https://github.com/ernie/ransack) and pagination with [kaminari](https://github.com/amatsuda/kaminari)
12
+ For a demo see [here](http://query-report-demo.herokuapp.com)
10
13
 
11
14
  ## The purpose
12
15
  The purpose of this gem is to produce consistent reports quickly and manage them easily. Because all we need to
@@ -16,7 +19,7 @@ concentrate in a report is the query and filter.
16
19
  Query report is tested with Rails 3. You can add it to your Gemfile with:
17
20
 
18
21
  ```ruby
19
- gem "query_report", "~> 1.0.0"
22
+ gem "query_report", "~> 1.0.2"
20
23
  ```
21
24
 
22
25
  Run the bundle command to install it.
@@ -4,7 +4,11 @@ module QueryReportFilterHelper
4
4
  end
5
5
 
6
6
  def query_report_date_filter(name, value, options={})
7
- text_field_tag name, value, options.merge(type: :date)
7
+ text_field_tag name, value, options.merge(class: :date)
8
+ end
9
+
10
+ def query_report_datetime_filter(name, value, options={})
11
+ text_field_tag name, value, options.merge(class: :datetime)
8
12
  end
9
13
 
10
14
  def query_report_boolean_filter(name, value, options={})
@@ -22,5 +22,7 @@ module QueryReport
22
22
  },
23
23
  chart: { height: 160, width: 200 }
24
24
  }
25
+ config.date_format = :default
26
+ config.datetime_format = :default
25
27
  end
26
28
  end
@@ -0,0 +1,55 @@
1
+ # Author:: A.K.M. Ashrafuzzaman (mailto:ashrafuzzaman.g2@gmail.com)
2
+ # License:: MIT-LICENSE
3
+
4
+ module QueryReport
5
+ module FilterModule
6
+ class Comparator
7
+ attr_reader :filter, :type, :name, :default
8
+
9
+ def initialize(filter, type, name, default=nil)
10
+ @filter, @type, @name, @default = filter, type, name, default
11
+ end
12
+
13
+ def search_key
14
+ "#{@filter.column.to_s}_#{@type}".to_sym
15
+ end
16
+
17
+ def search_tag_name
18
+ "#{@filter.params_key}[#{search_key.to_s}]"
19
+ end
20
+
21
+ def param_value
22
+ @filter.params[@filter.params_key] ? @filter.params[@filter.params_key][search_key] : stringified_default
23
+ end
24
+
25
+ def has_default?
26
+ !@default.nil?
27
+ end
28
+
29
+ def stringified_default
30
+ @stringified_default ||= case @filter.type
31
+ when :date
32
+ @default.kind_of?(String) ? @default : I18n.l(@default, format: QueryReport.config.date_format)
33
+ when :datetime
34
+ @default.kind_of?(String) ? @default : I18n.l(@default, format: QueryReport.config.datetime_format)
35
+ else
36
+ @default.to_s
37
+ end
38
+ end
39
+
40
+ #convert param value which is a string to object like date and boolean
41
+ def objectified_param_value
42
+ @stringified_default ||= case @filter.type
43
+ when :date
44
+ Date.current.parse(@default)
45
+ when :datetime
46
+ Time.zone.parse(@default)
47
+ when :boolean
48
+ @default.to_boolean
49
+ else
50
+ @default
51
+ end
52
+ end
53
+ end
54
+ end
55
+ end
@@ -2,5 +2,7 @@ module QueryReport
2
2
  class Configuration
3
3
  include ActiveSupport::Configurable
4
4
  config_accessor :pdf_options
5
+ config_accessor :date_format
6
+ config_accessor :datetime_format
5
7
  end
6
8
  end
@@ -4,6 +4,8 @@
4
4
  # The purpose of the filter module is to add feature
5
5
  # to support report tool to add custom and predefined filters
6
6
 
7
+ require 'query_report/comparator'
8
+
7
9
  module QueryReport
8
10
  module FilterModule
9
11
  attr_accessor :filters, :search
@@ -56,51 +58,6 @@ module QueryReport
56
58
  params
57
59
  end
58
60
 
59
- class Comparator
60
- attr_reader :filter, :type, :name, :default
61
-
62
- def initialize(filter, type, name, default=nil)
63
- @filter, @type, @name, @default = filter, type, name, default
64
- end
65
-
66
- def search_key
67
- "#{@filter.column.to_s}_#{@type}".to_sym
68
- end
69
-
70
- def search_tag_name
71
- "#{@filter.params_key}[#{search_key.to_s}]"
72
- end
73
-
74
- def param_value
75
- @filter.params[@filter.params_key] ? @filter.params[@filter.params_key][search_key] : stringified_default
76
- end
77
-
78
- def has_default?
79
- !@default.nil?
80
- end
81
-
82
- def stringified_default
83
- @stringified_default ||= case @filter.type
84
- when :date
85
- @default.kind_of?(String) ? @default : @default.to_s(:db)
86
- else
87
- @default.to_s
88
- end
89
- end
90
-
91
- #convert param value which is a string to object like date and boolean
92
- def objectified_param_value
93
- @stringified_default ||= case @filter.type
94
- when :date
95
- @default.to_date
96
- when :boolean
97
- @default.to_boolean
98
- else
99
- @default
100
- end
101
- end
102
- end
103
-
104
61
  class Filter
105
62
  attr_reader :params, :column, :type, :comparators, :block, :options
106
63
 
@@ -114,7 +71,7 @@ module QueryReport
114
71
  end
115
72
 
116
73
  def self.supported_types
117
- [:date, :text, :boolean]
74
+ [:date, :datetime, :text, :boolean]
118
75
  end
119
76
 
120
77
  supported_types.each do |supported_type|
@@ -144,6 +101,8 @@ module QueryReport
144
101
  @options[:comp] ||= case @type
145
102
  when :date
146
103
  {gteq: I18n.t('query_report.filters.from'), lteq: I18n.t('query_report.filters.to')}
104
+ when :datetime
105
+ {gteq: I18n.t('query_report.filters.from'), lteq: I18n.t('query_report.filters.to')}
147
106
  when :text
148
107
  {cont: I18n.t("query_report.filters.#{@column.to_s}.contains")}
149
108
  else
@@ -1,3 +1,3 @@
1
1
  module QueryReport
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
@@ -18,9 +18,7 @@ class InvoicesController < ApplicationController
18
18
  column :total_paid
19
19
  column :total_charged
20
20
  column :paid
21
- column :received_by_id do |invoice|
22
- invoice.received_by.name
23
- end
21
+ column :received_by
24
22
 
25
23
  #column_chart('Unpaid VS Paid') do
26
24
  # add 'Unpaid' do |query|
@@ -1,4 +1,3 @@
1
1
  class Invoice < ActiveRecord::Base
2
- belongs_to :received_by, :class_name => "User"
3
- attr_accessible :invoiced_on, :paid, :paid_on, :received_by_id, :title, :total_charged, :total_paid
4
- end
2
+ attr_accessible :invoiced_on, :paid, :paid_on, :received_by, :title, :total_charged, :total_paid
3
+ end
@@ -54,7 +54,6 @@ module Dummy
54
54
 
55
55
  # Version of your assets, change this if you want to expire all your assets
56
56
  config.assets.version = '1.0'
57
- Rack::MiniProfiler.config.position = 'right'
58
57
  end
59
58
  end
60
59
 
@@ -5,7 +5,7 @@ class CreateInvoices < ActiveRecord::Migration
5
5
  t.float :total_paid
6
6
  t.float :total_charged
7
7
  t.boolean :paid
8
- t.integer :received_by_id
8
+ t.string :received_by
9
9
  t.date :invoiced_on
10
10
  t.date :paid_on
11
11
 
@@ -18,19 +18,11 @@ ActiveRecord::Schema.define(:version => 20130630132513) do
18
18
  t.float "total_paid"
19
19
  t.float "total_charged"
20
20
  t.boolean "paid"
21
- t.integer "received_by_id"
21
+ t.string "received_by"
22
22
  t.date "invoiced_on"
23
23
  t.date "paid_on"
24
24
  t.datetime "created_at", :null => false
25
25
  t.datetime "updated_at", :null => false
26
26
  end
27
27
 
28
- create_table "users", :force => true do |t|
29
- t.string "first_name"
30
- t.string "last_name"
31
- t.string "email"
32
- t.datetime "created_at", :null => false
33
- t.datetime "updated_at", :null => false
34
- end
35
-
36
28
  end
@@ -1,15 +1,10 @@
1
1
  User.scoped.destroy_all
2
2
  Invoice.scoped.destroy_all
3
3
 
4
- users = []
5
- users << User.create(first_name: 'A.K.M.', last_name: 'Ashrafuzzaman', email: 'ashraf@gmail.com')
6
- users << User.create(first_name: 'A.K.M.', last_name: 'Zahiduzzaman', email: 'zahid@gmail.com')
7
- users << User.create(first_name: 'Sharmin', last_name: 'Sultana', email: 'sharmin@gmail.com')
8
-
9
4
  1.upto(200) do |i|
10
5
  total_paid = 100 + Random.rand(100)
11
6
  total_charged = 100 + Random.rand(100)
12
7
  invoiced_on = Random.rand(30).days.ago
13
8
  Invoice.create!(title: "Invoice ##{i}", total_paid: total_paid, total_charged: total_charged, invoiced_on: invoiced_on,
14
- paid: total_paid >= total_charged, received_by_id: users[Random.rand(3)].id)
9
+ paid: total_paid >= total_charged)
15
10
  end
File without changes
@@ -35354,3 +35354,2821 @@ Connecting to database specified by database.yml
35354
35354
   (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
35355
35355
   (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
35356
35356
  User Load (0.3ms) SELECT "users".* FROM "users"
35357
+ Connecting to database specified by database.yml
35358
+ Connecting to database specified by database.yml
35359
+  (1.5ms) select sqlite_version(*)
35360
+  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
35361
+  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
35362
+  (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
35363
+  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
35364
+  (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
35365
+  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
35366
+ User Load (13.6ms) SELECT "users".* FROM "users"
35367
+  (0.1ms) begin transaction
35368
+ SQL (31.0ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35369
+  (0.1ms) commit transaction
35370
+  (0.0ms) begin transaction
35371
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35372
+  (0.0ms) commit transaction
35373
+  (0.0ms) begin transaction
35374
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35375
+  (0.0ms) commit transaction
35376
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
35377
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35378
+  (0.0ms) begin transaction
35379
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
35380
+  (0.0ms) commit transaction
35381
+  (0.0ms) begin transaction
35382
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
35383
+  (0.0ms) commit transaction
35384
+  (0.0ms) begin transaction
35385
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
35386
+  (0.1ms) commit transaction
35387
+  (0.0ms) begin transaction
35388
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35389
+  (0.0ms) commit transaction
35390
+  (0.0ms) begin transaction
35391
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35392
+  (0.0ms) commit transaction
35393
+  (0.0ms) begin transaction
35394
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35395
+  (0.0ms) commit transaction
35396
+ User Load (0.1ms) SELECT "users".* FROM "users"
35397
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35398
+  (0.0ms) begin transaction
35399
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
35400
+  (0.0ms) commit transaction
35401
+  (0.0ms) begin transaction
35402
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
35403
+  (0.0ms) commit transaction
35404
+  (0.0ms) begin transaction
35405
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
35406
+  (0.0ms) commit transaction
35407
+  (0.0ms) begin transaction
35408
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35409
+  (0.0ms) commit transaction
35410
+  (0.0ms) begin transaction
35411
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35412
+  (0.0ms) commit transaction
35413
+  (0.0ms) begin transaction
35414
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35415
+  (0.0ms) commit transaction
35416
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
35417
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35418
+  (0.0ms) begin transaction
35419
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
35420
+  (0.0ms) commit transaction
35421
+  (0.0ms) begin transaction
35422
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
35423
+  (0.0ms) commit transaction
35424
+  (0.0ms) begin transaction
35425
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
35426
+  (0.0ms) commit transaction
35427
+  (0.0ms) begin transaction
35428
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35429
+  (0.0ms) commit transaction
35430
+  (0.0ms) begin transaction
35431
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35432
+  (0.0ms) commit transaction
35433
+  (0.0ms) begin transaction
35434
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35435
+  (0.0ms) commit transaction
35436
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
35437
+  (0.0ms) begin transaction
35438
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35439
+  (0.0ms) commit transaction
35440
+  (0.0ms) begin transaction
35441
+ SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 13]]
35442
+  (0.0ms) commit transaction
35443
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1
35444
+ User Load (0.1ms) SELECT "users".* FROM "users"
35445
+  (0.0ms) begin transaction
35446
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
35447
+  (0.0ms) commit transaction
35448
+  (0.0ms) begin transaction
35449
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
35450
+  (0.0ms) commit transaction
35451
+  (0.0ms) begin transaction
35452
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
35453
+  (0.0ms) commit transaction
35454
+  (0.0ms) begin transaction
35455
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
35456
+  (0.0ms) commit transaction
35457
+  (0.0ms) begin transaction
35458
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35459
+  (0.0ms) commit transaction
35460
+  (0.0ms) begin transaction
35461
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35462
+  (0.0ms) commit transaction
35463
+  (0.0ms) begin transaction
35464
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35465
+  (0.0ms) commit transaction
35466
+ User Load (0.1ms) SELECT "users".* FROM "users"
35467
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35468
+  (0.0ms) begin transaction
35469
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
35470
+  (0.0ms) commit transaction
35471
+  (0.0ms) begin transaction
35472
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
35473
+  (0.0ms) commit transaction
35474
+  (0.0ms) begin transaction
35475
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
35476
+  (0.0ms) commit transaction
35477
+  (0.0ms) begin transaction
35478
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35479
+  (0.0ms) commit transaction
35480
+  (0.0ms) begin transaction
35481
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35482
+  (0.0ms) commit transaction
35483
+  (0.0ms) begin transaction
35484
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
35485
+  (0.0ms) commit transaction
35486
+ User Load (0.1ms) SELECT "users".* FROM "users"
35487
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35488
+  (0.0ms) begin transaction
35489
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
35490
+  (0.0ms) commit transaction
35491
+  (0.0ms) begin transaction
35492
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
35493
+  (0.0ms) commit transaction
35494
+  (0.0ms) begin transaction
35495
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
35496
+  (0.0ms) commit transaction
35497
+  (0.0ms) begin transaction
35498
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:24 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00]]
35499
+  (0.0ms) commit transaction
35500
+  (0.0ms) begin transaction
35501
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:24 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00]]
35502
+  (0.0ms) commit transaction
35503
+  (0.0ms) begin transaction
35504
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:24 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00]]
35505
+  (0.0ms) commit transaction
35506
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"
35507
+  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
35508
+ User Load (0.1ms) SELECT "users".* FROM "users"
35509
+ Connecting to database specified by database.yml
35510
+
35511
+
35512
+ Started GET "/" for 127.0.0.1 at 2013-09-06 11:42:59 +0600
35513
+ Processing by InvoicesController#index as HTML
35514
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (19.3ms)
35515
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.3ms)
35516
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms)
35517
+ Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-06 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
35518
+ User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
35519
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
35520
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
35521
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
35522
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
35523
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
35524
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
35525
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
35526
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
35527
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
35528
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
35529
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
35530
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
35531
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
35532
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
35533
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
35534
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
35535
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
35536
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
35537
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
35538
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
35539
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
35540
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
35541
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
35542
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
35543
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (110.3ms)
35544
+  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-06 00:00:00.000000' AND "invoices"."paid" = 'f'))
35545
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (205.5ms)
35546
+ Completed 200 OK in 496ms (Views: 411.0ms | ActiveRecord: 20.6ms)
35547
+
35548
+
35549
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600
35550
+ Served asset /application.css - 200 OK (7ms)
35551
+
35552
+
35553
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600
35554
+ Served asset /invoices.css - 200 OK (1ms)
35555
+
35556
+
35557
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600
35558
+ Served asset /scaffold.css - 200 OK (1ms)
35559
+
35560
+
35561
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600
35562
+ Served asset /users.css - 200 OK (1ms)
35563
+
35564
+
35565
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600
35566
+ Served asset /invoices.js - 200 OK (1ms)
35567
+
35568
+
35569
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600
35570
+ Served asset /users.js - 200 OK (1ms)
35571
+
35572
+
35573
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600
35574
+ Served asset /application.js - 200 OK (4ms)
35575
+
35576
+
35577
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600
35578
+ Served asset /jquery_ujs.js - 200 OK (27ms)
35579
+
35580
+
35581
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600
35582
+ Served asset /jquery.js - 200 OK (2ms)
35583
+ Connecting to database specified by database.yml
35584
+  (1.5ms) select sqlite_version(*)
35585
+  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
35586
+  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
35587
+  (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
35588
+  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
35589
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
35590
+  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
35591
+  (0.1ms) begin transaction
35592
+ SQL (23.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
35593
+  (0.0ms) commit transaction
35594
+  (0.0ms) begin transaction
35595
+ SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
35596
+  (0.0ms) commit transaction
35597
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
35598
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35599
+  (0.0ms) begin transaction
35600
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
35601
+  (0.0ms) commit transaction
35602
+  (0.0ms) begin transaction
35603
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
35604
+  (0.0ms) commit transaction
35605
+  (0.0ms) begin transaction
35606
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
35607
+  (0.0ms) commit transaction
35608
+  (0.0ms) begin transaction
35609
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
35610
+  (0.0ms) commit transaction
35611
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
35612
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35613
+  (0.0ms) begin transaction
35614
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
35615
+  (0.0ms) commit transaction
35616
+  (0.0ms) begin transaction
35617
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
35618
+  (0.0ms) commit transaction
35619
+  (0.0ms) begin transaction
35620
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
35621
+  (0.0ms) commit transaction
35622
+  (0.0ms) begin transaction
35623
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
35624
+  (0.0ms) commit transaction
35625
+  (0.0ms) begin transaction
35626
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
35627
+  (0.0ms) commit transaction
35628
+  (0.0ms) begin transaction
35629
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
35630
+  (0.0ms) commit transaction
35631
+ User Load (0.1ms) SELECT "users".* FROM "users"
35632
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35633
+  (0.0ms) begin transaction
35634
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
35635
+  (0.0ms) commit transaction
35636
+  (0.0ms) begin transaction
35637
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
35638
+  (0.0ms) commit transaction
35639
+  (0.0ms) begin transaction
35640
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
35641
+  (0.0ms) commit transaction
35642
+  (0.0ms) begin transaction
35643
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
35644
+  (0.0ms) commit transaction
35645
+  (0.0ms) begin transaction
35646
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
35647
+  (0.0ms) commit transaction
35648
+  (0.0ms) begin transaction
35649
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
35650
+  (0.0ms) commit transaction
35651
+ User Load (0.1ms) SELECT "users".* FROM "users"
35652
+  (0.0ms) begin transaction
35653
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
35654
+  (0.0ms) commit transaction
35655
+  (0.0ms) begin transaction
35656
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
35657
+  (0.0ms) commit transaction
35658
+  (0.0ms) begin transaction
35659
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
35660
+  (0.0ms) commit transaction
35661
+  (0.0ms) begin transaction
35662
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
35663
+  (0.0ms) commit transaction
35664
+  (0.0ms) begin transaction
35665
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
35666
+  (0.0ms) commit transaction
35667
+  (0.0ms) begin transaction
35668
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
35669
+  (0.0ms) commit transaction
35670
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
35671
+ User Load (0.1ms) SELECT "users".* FROM "users"
35672
+  (0.0ms) begin transaction
35673
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
35674
+  (0.0ms) commit transaction
35675
+  (0.0ms) begin transaction
35676
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
35677
+  (0.0ms) commit transaction
35678
+  (0.0ms) begin transaction
35679
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
35680
+  (0.0ms) commit transaction
35681
+  (0.0ms) begin transaction
35682
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
35683
+  (0.0ms) commit transaction
35684
+  (0.0ms) begin transaction
35685
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
35686
+  (0.0ms) commit transaction
35687
+  (0.0ms) begin transaction
35688
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
35689
+  (0.0ms) commit transaction
35690
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
35691
+  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"
35692
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35693
+ User Load (0.1ms) SELECT "users".* FROM "users"
35694
+  (0.0ms) begin transaction
35695
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
35696
+  (0.0ms) commit transaction
35697
+  (0.0ms) begin transaction
35698
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
35699
+  (0.0ms) commit transaction
35700
+  (0.0ms) begin transaction
35701
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
35702
+  (0.0ms) commit transaction
35703
+  (0.0ms) begin transaction
35704
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:09 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]
35705
+  (0.0ms) commit transaction
35706
+  (0.0ms) begin transaction
35707
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:09 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]
35708
+  (0.0ms) commit transaction
35709
+  (0.0ms) begin transaction
35710
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:09 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]
35711
+  (0.0ms) commit transaction
35712
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35713
+ User Load (0.1ms) SELECT "users".* FROM "users"
35714
+  (0.0ms) begin transaction
35715
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
35716
+  (0.0ms) commit transaction
35717
+  (0.0ms) begin transaction
35718
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
35719
+  (0.0ms) commit transaction
35720
+  (0.0ms) begin transaction
35721
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
35722
+  (0.0ms) commit transaction
35723
+  (0.0ms) begin transaction
35724
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:09 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]
35725
+  (0.0ms) commit transaction
35726
+  (0.0ms) begin transaction
35727
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:09 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]
35728
+  (0.0ms) commit transaction
35729
+  (0.0ms) begin transaction
35730
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:09 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]
35731
+  (0.0ms) commit transaction
35732
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35733
+ Connecting to database specified by database.yml
35734
+  (1.4ms) select sqlite_version(*)
35735
+  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
35736
+  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
35737
+  (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
35738
+  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
35739
+  (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
35740
+  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
35741
+  (0.0ms) begin transaction
35742
+ SQL (4.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]
35743
+  (0.1ms) commit transaction
35744
+  (0.0ms) begin transaction
35745
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
35746
+  (0.0ms) commit transaction
35747
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
35748
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35749
+  (0.0ms) begin transaction
35750
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
35751
+  (0.0ms) commit transaction
35752
+  (0.0ms) begin transaction
35753
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:10 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]
35754
+  (0.0ms) commit transaction
35755
+  (0.0ms) begin transaction
35756
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:10 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]
35757
+  (0.0ms) commit transaction
35758
+  (0.0ms) begin transaction
35759
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:10 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]
35760
+  (0.0ms) commit transaction
35761
+ User Load (0.1ms) SELECT "users".* FROM "users"
35762
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35763
+  (0.0ms) begin transaction
35764
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
35765
+  (0.0ms) commit transaction
35766
+  (0.0ms) begin transaction
35767
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
35768
+  (0.0ms) commit transaction
35769
+  (0.0ms) begin transaction
35770
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
35771
+  (0.0ms) commit transaction
35772
+  (0.0ms) begin transaction
35773
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:10 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]
35774
+  (0.0ms) commit transaction
35775
+  (0.0ms) begin transaction
35776
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:10 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]
35777
+  (0.0ms) commit transaction
35778
+  (0.0ms) begin transaction
35779
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:10 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]
35780
+  (0.0ms) commit transaction
35781
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"
35782
+  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
35783
+ User Load (0.1ms) SELECT "users".* FROM "users"
35784
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35785
+  (0.0ms) begin transaction
35786
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
35787
+  (0.0ms) commit transaction
35788
+  (0.0ms) begin transaction
35789
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
35790
+  (0.0ms) commit transaction
35791
+  (0.0ms) begin transaction
35792
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
35793
+  (0.0ms) commit transaction
35794
+  (0.0ms) begin transaction
35795
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
35796
+  (0.0ms) commit transaction
35797
+  (0.0ms) begin transaction
35798
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
35799
+  (0.0ms) commit transaction
35800
+  (0.0ms) begin transaction
35801
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
35802
+  (0.0ms) commit transaction
35803
+ User Load (0.1ms) SELECT "users".* FROM "users"
35804
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35805
+  (0.0ms) begin transaction
35806
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
35807
+  (0.0ms) commit transaction
35808
+  (0.0ms) begin transaction
35809
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
35810
+  (0.0ms) commit transaction
35811
+  (0.0ms) begin transaction
35812
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
35813
+  (0.0ms) commit transaction
35814
+  (0.0ms) begin transaction
35815
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
35816
+  (0.0ms) commit transaction
35817
+  (0.0ms) begin transaction
35818
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
35819
+  (0.0ms) commit transaction
35820
+  (0.0ms) begin transaction
35821
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
35822
+  (0.0ms) commit transaction
35823
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
35824
+ User Load (0.2ms) SELECT "users".* FROM "users" 
35825
+  (0.0ms) begin transaction
35826
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
35827
+  (0.0ms) commit transaction
35828
+  (0.0ms) begin transaction
35829
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
35830
+  (0.0ms) commit transaction
35831
+  (0.0ms) begin transaction
35832
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
35833
+  (0.0ms) commit transaction
35834
+  (0.0ms) begin transaction
35835
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
35836
+  (0.0ms) commit transaction
35837
+  (0.0ms) begin transaction
35838
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
35839
+  (0.0ms) commit transaction
35840
+  (0.0ms) begin transaction
35841
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
35842
+  (0.0ms) commit transaction
35843
+ User Load (0.1ms) SELECT "users".* FROM "users"
35844
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35845
+  (0.0ms) begin transaction
35846
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
35847
+  (0.0ms) commit transaction
35848
+  (0.0ms) begin transaction
35849
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
35850
+  (0.0ms) commit transaction
35851
+  (0.0ms) begin transaction
35852
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
35853
+  (0.0ms) commit transaction
35854
+  (0.0ms) begin transaction
35855
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
35856
+  (0.0ms) commit transaction
35857
+  (0.0ms) begin transaction
35858
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
35859
+  (0.0ms) commit transaction
35860
+  (0.0ms) begin transaction
35861
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
35862
+  (0.0ms) commit transaction
35863
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
35864
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35865
+  (0.0ms) begin transaction
35866
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
35867
+  (0.0ms) commit transaction
35868
+  (0.0ms) begin transaction
35869
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
35870
+  (0.0ms) commit transaction
35871
+  (0.0ms) begin transaction
35872
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
35873
+  (0.0ms) commit transaction
35874
+  (0.0ms) begin transaction
35875
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
35876
+  (0.0ms) commit transaction
35877
+  (0.0ms) begin transaction
35878
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
35879
+  (0.0ms) commit transaction
35880
+  (0.0ms) begin transaction
35881
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
35882
+  (0.0ms) commit transaction
35883
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
35884
+ Connecting to database specified by database.yml
35885
+
35886
+
35887
+ Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:30:59 +0600
35888
+ Processing by InvoicesController#index as HTML
35889
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (13.6ms)
35890
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.2ms)
35891
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.4ms)
35892
+ Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" = '2013-04-06 08:30:59.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
35893
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (7.2ms)
35894
+  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" = '2013-04-06 08:30:59.000000' AND "invoices"."paid" = 'f'))
35895
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (54.3ms)
35896
+ Completed 200 OK in 171ms (Views: 94.6ms | ActiveRecord: 19.2ms)
35897
+
35898
+
35899
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600
35900
+ Served asset /application.css - 304 Not Modified (10ms)
35901
+
35902
+
35903
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600
35904
+ Served asset /invoices.css - 304 Not Modified (1ms)
35905
+
35906
+
35907
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600
35908
+ Served asset /users.css - 304 Not Modified (1ms)
35909
+
35910
+
35911
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600
35912
+ Served asset /scaffold.css - 304 Not Modified (3ms)
35913
+
35914
+
35915
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600
35916
+ Served asset /jquery.js - 304 Not Modified (4ms)
35917
+
35918
+
35919
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600
35920
+ Served asset /invoices.js - 304 Not Modified (1ms)
35921
+
35922
+
35923
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600
35924
+ Served asset /users.js - 304 Not Modified (0ms)
35925
+
35926
+
35927
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600
35928
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
35929
+
35930
+
35931
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600
35932
+ Served asset /application.js - 304 Not Modified (7ms)
35933
+
35934
+
35935
+ Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:31:27 +0600
35936
+ Processing by InvoicesController#index as HTML
35937
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (5.7ms)
35938
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.7ms)
35939
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms)
35940
+ Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" = '2013-04-06 08:31:27.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
35941
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (1.7ms)
35942
+  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" = '2013-04-06 08:31:27.000000' AND "invoices"."paid" = 'f'))
35943
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (31.0ms)
35944
+ Completed 200 OK in 36ms (Views: 34.4ms | ActiveRecord: 0.5ms)
35945
+
35946
+
35947
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600
35948
+ Served asset /application.css - 200 OK (5ms)
35949
+
35950
+
35951
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600
35952
+ Served asset /invoices.css - 200 OK (0ms)
35953
+
35954
+
35955
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600
35956
+ Served asset /jquery_ujs.js - 200 OK (1ms)
35957
+
35958
+
35959
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600
35960
+ Served asset /jquery.js - 200 OK (2ms)
35961
+
35962
+
35963
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600
35964
+ Served asset /scaffold.css - 200 OK (0ms)
35965
+
35966
+
35967
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600
35968
+ Served asset /users.css - 200 OK (0ms)
35969
+
35970
+
35971
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600
35972
+ Served asset /invoices.js - 200 OK (0ms)
35973
+
35974
+
35975
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600
35976
+ Served asset /users.js - 200 OK (0ms)
35977
+
35978
+
35979
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600
35980
+ Served asset /application.js - 200 OK (0ms)
35981
+ Connecting to database specified by database.yml
35982
+  (1.6ms) select sqlite_version(*)
35983
+  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
35984
+  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
35985
+  (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
35986
+  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
35987
+  (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
35988
+  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
35989
+  (0.1ms) begin transaction
35990
+ SQL (27.0ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]
35991
+  (0.1ms) commit transaction
35992
+  (0.0ms) begin transaction
35993
+ SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
35994
+  (0.0ms) commit transaction
35995
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
35996
+ User Load (0.1ms) SELECT "users".* FROM "users" 
35997
+  (0.0ms) begin transaction
35998
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
35999
+  (0.0ms) commit transaction
36000
+  (0.0ms) begin transaction
36001
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:38 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]
36002
+  (0.0ms) commit transaction
36003
+  (0.0ms) begin transaction
36004
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:38 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]
36005
+  (0.0ms) commit transaction
36006
+  (0.0ms) begin transaction
36007
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:38 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]
36008
+  (0.0ms) commit transaction
36009
+ User Load (0.1ms) SELECT "users".* FROM "users"
36010
+ User Load (0.1ms) SELECT "users".* FROM "users" 
36011
+  (0.0ms) begin transaction
36012
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
36013
+  (0.0ms) commit transaction
36014
+  (0.0ms) begin transaction
36015
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
36016
+  (0.0ms) commit transaction
36017
+  (0.0ms) begin transaction
36018
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
36019
+  (0.0ms) commit transaction
36020
+  (0.0ms) begin transaction
36021
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:38 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]
36022
+  (0.0ms) commit transaction
36023
+  (0.0ms) begin transaction
36024
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:38 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]
36025
+  (0.0ms) commit transaction
36026
+  (0.0ms) begin transaction
36027
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:38 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]
36028
+  (0.0ms) commit transaction
36029
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"
36030
+  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
36031
+ User Load (0.1ms) SELECT "users".* FROM "users"
36032
+ Connecting to database specified by database.yml
36033
+ User Load (0.1ms) SELECT "users".* FROM "users" 
36034
+  (0.0ms) begin transaction
36035
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
36036
+  (0.0ms) commit transaction
36037
+  (0.0ms) begin transaction
36038
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
36039
+  (0.0ms) commit transaction
36040
+  (0.0ms) begin transaction
36041
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
36042
+  (0.0ms) commit transaction
36043
+  (0.0ms) begin transaction
36044
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
36045
+  (0.0ms) commit transaction
36046
+  (0.0ms) begin transaction
36047
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
36048
+  (0.0ms) commit transaction
36049
+  (0.0ms) begin transaction
36050
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
36051
+  (0.0ms) commit transaction
36052
+ User Load (0.1ms) SELECT "users".* FROM "users"
36053
+ User Load (0.1ms) SELECT "users".* FROM "users" 
36054
+  (0.0ms) begin transaction
36055
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
36056
+  (0.0ms) commit transaction
36057
+  (0.0ms) begin transaction
36058
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
36059
+  (0.0ms) commit transaction
36060
+  (0.0ms) begin transaction
36061
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
36062
+  (0.0ms) commit transaction
36063
+  (0.0ms) begin transaction
36064
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
36065
+  (0.0ms) commit transaction
36066
+  (0.0ms) begin transaction
36067
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
36068
+  (0.1ms) commit transaction
36069
+  (0.0ms) begin transaction
36070
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
36071
+  (0.0ms) commit transaction
36072
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
36073
+ User Load (0.1ms) SELECT "users".* FROM "users" 
36074
+  (0.0ms) begin transaction
36075
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
36076
+  (0.0ms) commit transaction
36077
+  (0.0ms) begin transaction
36078
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
36079
+  (0.0ms) commit transaction
36080
+  (0.0ms) begin transaction
36081
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
36082
+  (0.0ms) commit transaction
36083
+  (0.0ms) begin transaction
36084
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
36085
+  (0.0ms) commit transaction
36086
+  (0.0ms) begin transaction
36087
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
36088
+  (0.0ms) commit transaction
36089
+  (0.0ms) begin transaction
36090
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
36091
+  (0.0ms) commit transaction
36092
+ User Load (0.1ms) SELECT "users".* FROM "users"
36093
+ User Load (0.1ms) SELECT "users".* FROM "users" 
36094
+  (0.0ms) begin transaction
36095
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
36096
+  (0.0ms) commit transaction
36097
+  (0.0ms) begin transaction
36098
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
36099
+  (0.0ms) commit transaction
36100
+  (0.0ms) begin transaction
36101
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
36102
+  (0.0ms) commit transaction
36103
+  (0.0ms) begin transaction
36104
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
36105
+  (0.0ms) commit transaction
36106
+  (0.0ms) begin transaction
36107
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
36108
+  (0.0ms) commit transaction
36109
+  (0.0ms) begin transaction
36110
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
36111
+  (0.0ms) commit transaction
36112
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
36113
+ User Load (0.1ms) SELECT "users".* FROM "users" 
36114
+  (0.0ms) begin transaction
36115
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
36116
+  (0.0ms) commit transaction
36117
+  (0.0ms) begin transaction
36118
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
36119
+  (0.0ms) commit transaction
36120
+  (0.0ms) begin transaction
36121
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
36122
+  (0.0ms) commit transaction
36123
+  (0.0ms) begin transaction
36124
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
36125
+  (0.2ms) commit transaction
36126
+  (0.1ms) begin transaction
36127
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
36128
+  (0.0ms) commit transaction
36129
+  (0.0ms) begin transaction
36130
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
36131
+  (0.0ms) commit transaction
36132
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
36133
+
36134
+
36135
+ Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:31:43 +0600
36136
+ Processing by InvoicesController#index as HTML
36137
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (10.9ms)
36138
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.0ms)
36139
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms)
36140
+ Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:31:43.000000' AND "invoices"."created_at" <= '2013-10-06 08:31:43.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
36141
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36142
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36143
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36144
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36145
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36146
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36147
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36148
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36149
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36150
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36151
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36152
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36153
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36154
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36155
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36156
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36157
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36158
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36159
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36160
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36161
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36162
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36163
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36164
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36165
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36166
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (91.6ms)
36167
+  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:31:43.000000' AND "invoices"."created_at" <= '2013-10-06 08:31:43.000000' AND "invoices"."paid" = 'f'))
36168
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (138.2ms)
36169
+ Completed 200 OK in 231ms (Views: 154.6ms | ActiveRecord: 20.2ms)
36170
+
36171
+
36172
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600
36173
+ Served asset /application.css - 200 OK (10ms)
36174
+
36175
+
36176
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600
36177
+ Served asset /invoices.css - 200 OK (1ms)
36178
+
36179
+
36180
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600
36181
+ Served asset /users.css - 200 OK (1ms)
36182
+
36183
+
36184
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600
36185
+ Served asset /jquery_ujs.js - 200 OK (3ms)
36186
+
36187
+
36188
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600
36189
+ Served asset /jquery.js - 200 OK (4ms)
36190
+
36191
+
36192
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600
36193
+ Served asset /scaffold.css - 200 OK (1ms)
36194
+
36195
+
36196
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600
36197
+ Served asset /invoices.js - 200 OK (1ms)
36198
+
36199
+
36200
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600
36201
+ Served asset /users.js - 200 OK (0ms)
36202
+
36203
+
36204
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600
36205
+ Served asset /application.js - 200 OK (4ms)
36206
+ Connecting to database specified by database.yml
36207
+
36208
+
36209
+ Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:32:14 +0600
36210
+ Processing by InvoicesController#index as HTML
36211
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (10.7ms)
36212
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.0ms)
36213
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms)
36214
+ Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:32:00.000000' AND "invoices"."created_at" <= '2013-10-06 08:32:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
36215
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36216
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36217
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36218
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36219
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36220
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36221
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36222
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36223
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36224
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36225
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36226
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36227
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36228
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36229
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36230
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36231
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36232
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36233
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36234
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36235
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36236
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36237
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36238
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36239
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36240
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (87.8ms)
36241
+  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:32:00.000000' AND "invoices"."created_at" <= '2013-10-06 08:32:00.000000' AND "invoices"."paid" = 'f'))
36242
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (134.0ms)
36243
+ Completed 200 OK in 222ms (Views: 146.9ms | ActiveRecord: 2.6ms)
36244
+
36245
+
36246
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600
36247
+ Served asset /application.css - 200 OK (35ms)
36248
+
36249
+
36250
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600
36251
+ Served asset /invoices.css - 200 OK (1ms)
36252
+
36253
+
36254
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600
36255
+ Served asset /users.css - 200 OK (1ms)
36256
+
36257
+
36258
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600
36259
+ Served asset /scaffold.css - 200 OK (1ms)
36260
+
36261
+
36262
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600
36263
+ Served asset /jquery_ujs.js - 200 OK (1ms)
36264
+
36265
+
36266
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600
36267
+ Served asset /jquery.js - 200 OK (4ms)
36268
+
36269
+
36270
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600
36271
+ Served asset /invoices.js - 200 OK (1ms)
36272
+
36273
+
36274
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600
36275
+ Served asset /users.js - 200 OK (1ms)
36276
+
36277
+
36278
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600
36279
+ Served asset /application.js - 200 OK (23ms)
36280
+ Connecting to database specified by database.yml
36281
+
36282
+
36283
+ Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:33:58 +0600
36284
+ Processing by InvoicesController#index as HTML
36285
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (11.3ms)
36286
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.0ms)
36287
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms)
36288
+ Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:33:00.000000' AND "invoices"."created_at" <= '2013-10-06 08:33:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
36289
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36290
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36291
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36292
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36293
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36294
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36295
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36296
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36297
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36298
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36299
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36300
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36301
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36302
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36303
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36304
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36305
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36306
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36307
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36308
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36309
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36310
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36311
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36312
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36313
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36314
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (91.4ms)
36315
+  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:33:00.000000' AND "invoices"."created_at" <= '2013-10-06 08:33:00.000000' AND "invoices"."paid" = 'f'))
36316
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (137.8ms)
36317
+ Completed 200 OK in 231ms (Views: 151.6ms | ActiveRecord: 21.5ms)
36318
+
36319
+
36320
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600
36321
+ Served asset /application.css - 200 OK (8ms)
36322
+
36323
+
36324
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600
36325
+ Served asset /invoices.css - 200 OK (1ms)
36326
+
36327
+
36328
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600
36329
+ Served asset /jquery.js - 200 OK (5ms)
36330
+
36331
+
36332
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600
36333
+ Served asset /scaffold.css - 200 OK (1ms)
36334
+
36335
+
36336
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600
36337
+ Served asset /users.css - 200 OK (2ms)
36338
+
36339
+
36340
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600
36341
+ Served asset /jquery_ujs.js - 200 OK (3ms)
36342
+
36343
+
36344
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600
36345
+ Served asset /users.js - 200 OK (2ms)
36346
+
36347
+
36348
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600
36349
+ Served asset /invoices.js - 200 OK (1ms)
36350
+
36351
+
36352
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600
36353
+ Served asset /application.js - 200 OK (4ms)
36354
+ Connecting to database specified by database.yml
36355
+
36356
+
36357
+ Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:34:47 +0600
36358
+ Processing by InvoicesController#index as HTML
36359
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (9.4ms)
36360
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.9ms)
36361
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms)
36362
+ Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-06 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0
36363
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36364
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36365
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36366
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36367
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36368
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36369
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36370
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36371
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36372
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36373
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36374
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36375
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36376
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36377
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36378
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36379
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36380
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36381
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36382
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36383
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36384
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
36385
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36386
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
36387
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36388
+ Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (88.0ms)
36389
+  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-06 00:00:00.000000' AND "invoices"."paid" = 'f'))
36390
+ Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (132.8ms)
36391
+ Completed 200 OK in 221ms (Views: 146.2ms | ActiveRecord: 19.7ms)
36392
+
36393
+
36394
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600
36395
+ Served asset /application.css - 200 OK (9ms)
36396
+
36397
+
36398
+ Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600
36399
+ Served asset /invoices.css - 200 OK (1ms)
36400
+
36401
+
36402
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600
36403
+ Served asset /scaffold.css - 200 OK (1ms)
36404
+
36405
+
36406
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600
36407
+ Served asset /users.css - 200 OK (2ms)
36408
+
36409
+
36410
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600
36411
+ Served asset /jquery.js - 200 OK (4ms)
36412
+
36413
+
36414
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600
36415
+ Served asset /jquery_ujs.js - 200 OK (1ms)
36416
+
36417
+
36418
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600
36419
+ Served asset /users.js - 200 OK (23ms)
36420
+
36421
+
36422
+ Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600
36423
+ Served asset /invoices.js - 200 OK (1ms)
36424
+
36425
+
36426
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600
36427
+ Served asset /application.js - 200 OK (4ms)
36428
+ Connecting to database specified by database.yml
36429
+  (1.3ms) select sqlite_version(*)
36430
+  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
36431
+  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
36432
+  (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
36433
+  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
36434
+  (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
36435
+  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
36436
+  (0.0ms) begin transaction
36437
+ SQL (23.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
36438
+  (0.0ms) commit transaction
36439
+  (0.0ms) begin transaction
36440
+ SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
36441
+  (0.0ms) commit transaction
36442
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36443
+ User Load (0.1ms) SELECT "users".* FROM "users" 
36444
+  (0.0ms) begin transaction
36445
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
36446
+  (0.0ms) commit transaction
36447
+  (0.0ms) begin transaction
36448
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
36449
+  (0.0ms) commit transaction
36450
+  (0.0ms) begin transaction
36451
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
36452
+  (0.0ms) commit transaction
36453
+  (0.0ms) begin transaction
36454
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
36455
+  (0.0ms) commit transaction
36456
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
36457
+ User Load (0.1ms) SELECT "users".* FROM "users" 
36458
+  (0.0ms) begin transaction
36459
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
36460
+  (0.0ms) commit transaction
36461
+  (0.0ms) begin transaction
36462
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
36463
+  (0.0ms) commit transaction
36464
+  (0.0ms) begin transaction
36465
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
36466
+  (0.0ms) commit transaction
36467
+  (0.0ms) begin transaction
36468
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
36469
+  (0.0ms) commit transaction
36470
+  (0.0ms) begin transaction
36471
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
36472
+  (0.0ms) commit transaction
36473
+  (0.0ms) begin transaction
36474
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
36475
+  (0.0ms) commit transaction
36476
+ User Load (0.1ms) SELECT "users".* FROM "users"
36477
+ User Load (0.1ms) SELECT "users".* FROM "users" 
36478
+  (0.0ms) begin transaction
36479
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
36480
+  (0.0ms) commit transaction
36481
+  (0.0ms) begin transaction
36482
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
36483
+  (0.0ms) commit transaction
36484
+  (0.0ms) begin transaction
36485
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
36486
+  (0.0ms) commit transaction
36487
+  (0.0ms) begin transaction
36488
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
36489
+  (0.0ms) commit transaction
36490
+  (0.0ms) begin transaction
36491
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
36492
+  (0.0ms) commit transaction
36493
+  (0.0ms) begin transaction
36494
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
36495
+  (0.0ms) commit transaction
36496
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
36497
+ User Load (0.1ms) SELECT "users".* FROM "users" 
36498
+  (0.0ms) begin transaction
36499
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
36500
+  (0.0ms) commit transaction
36501
+  (0.0ms) begin transaction
36502
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
36503
+  (0.0ms) commit transaction
36504
+  (0.0ms) begin transaction
36505
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
36506
+  (0.0ms) commit transaction
36507
+  (0.0ms) begin transaction
36508
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
36509
+  (0.0ms) commit transaction
36510
+  (0.0ms) begin transaction
36511
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
36512
+  (0.0ms) commit transaction
36513
+  (0.0ms) begin transaction
36514
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
36515
+  (0.0ms) commit transaction
36516
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
36517
+ User Load (0.1ms) SELECT "users".* FROM "users" 
36518
+  (0.0ms) begin transaction
36519
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
36520
+  (0.0ms) commit transaction
36521
+  (0.0ms) begin transaction
36522
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
36523
+  (0.0ms) commit transaction
36524
+  (0.0ms) begin transaction
36525
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
36526
+  (0.0ms) commit transaction
36527
+  (0.0ms) begin transaction
36528
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
36529
+  (0.0ms) commit transaction
36530
+  (0.0ms) begin transaction
36531
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
36532
+  (0.0ms) commit transaction
36533
+  (0.0ms) begin transaction
36534
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
36535
+  (0.0ms) commit transaction
36536
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"
36537
+  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
36538
+ User Load (0.1ms) SELECT "users".* FROM "users"
36539
+ User Load (0.1ms) SELECT "users".* FROM "users" 
36540
+  (0.0ms) begin transaction
36541
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
36542
+  (0.1ms) commit transaction
36543
+  (0.0ms) begin transaction
36544
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
36545
+  (0.0ms) commit transaction
36546
+  (0.0ms) begin transaction
36547
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
36548
+  (0.0ms) commit transaction
36549
+  (0.0ms) begin transaction
36550
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:18 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]
36551
+  (0.0ms) commit transaction
36552
+  (0.0ms) begin transaction
36553
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:18 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]
36554
+  (0.0ms) commit transaction
36555
+  (0.0ms) begin transaction
36556
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:18 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]
36557
+  (0.0ms) commit transaction
36558
+ User Load (0.1ms) SELECT "users".* FROM "users"
36559
+ User Load (0.1ms) SELECT "users".* FROM "users" 
36560
+  (0.0ms) begin transaction
36561
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
36562
+  (0.0ms) commit transaction
36563
+  (0.0ms) begin transaction
36564
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
36565
+  (0.0ms) commit transaction
36566
+  (0.0ms) begin transaction
36567
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
36568
+  (0.0ms) commit transaction
36569
+  (0.0ms) begin transaction
36570
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:18 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]
36571
+  (0.0ms) commit transaction
36572
+  (0.0ms) begin transaction
36573
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:18 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]
36574
+  (0.0ms) commit transaction
36575
+  (0.0ms) begin transaction
36576
+ SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:18 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]
36577
+  (0.0ms) commit transaction
36578
+ User Load (0.1ms) SELECT "users".* FROM "users"
36579
+ Connecting to database specified by database.yml
36580
+  (3.1ms) select sqlite_version(*)
36581
+  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
36582
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
36583
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
36584
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
36585
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
36586
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
36587
+  (0.1ms) begin transaction
36588
+ SQL (43.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36589
+  (0.1ms) commit transaction
36590
+  (0.1ms) begin transaction
36591
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
36592
+  (0.1ms) commit transaction
36593
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36594
+ User Load (0.2ms) SELECT "users".* FROM "users" 
36595
+  (0.1ms) begin transaction
36596
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
36597
+  (0.1ms) commit transaction
36598
+  (0.1ms) begin transaction
36599
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36600
+  (0.1ms) commit transaction
36601
+  (0.1ms) begin transaction
36602
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36603
+  (0.1ms) commit transaction
36604
+  (0.1ms) begin transaction
36605
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36606
+  (0.1ms) commit transaction
36607
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
36608
+ User Load (0.2ms) SELECT "users".* FROM "users" 
36609
+  (0.1ms) begin transaction
36610
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
36611
+  (0.1ms) commit transaction
36612
+  (0.1ms) begin transaction
36613
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
36614
+  (0.1ms) commit transaction
36615
+  (0.1ms) begin transaction
36616
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
36617
+  (0.1ms) commit transaction
36618
+  (0.1ms) begin transaction
36619
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36620
+  (0.1ms) commit transaction
36621
+  (0.0ms) begin transaction
36622
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36623
+  (0.0ms) commit transaction
36624
+  (0.0ms) begin transaction
36625
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36626
+  (0.0ms) commit transaction
36627
+ User Load (0.2ms) SELECT "users".* FROM "users"
36628
+ User Load (0.2ms) SELECT "users".* FROM "users" 
36629
+  (0.1ms) begin transaction
36630
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
36631
+  (0.1ms) commit transaction
36632
+  (0.1ms) begin transaction
36633
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
36634
+  (0.0ms) commit transaction
36635
+  (0.0ms) begin transaction
36636
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
36637
+  (0.0ms) commit transaction
36638
+  (0.1ms) begin transaction
36639
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36640
+  (0.1ms) commit transaction
36641
+  (0.1ms) begin transaction
36642
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36643
+  (0.1ms) commit transaction
36644
+  (0.1ms) begin transaction
36645
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36646
+  (0.1ms) commit transaction
36647
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
36648
+ User Load (0.2ms) SELECT "users".* FROM "users" 
36649
+  (0.1ms) begin transaction
36650
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
36651
+  (0.1ms) commit transaction
36652
+  (0.1ms) begin transaction
36653
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
36654
+  (0.1ms) commit transaction
36655
+  (0.1ms) begin transaction
36656
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
36657
+  (0.1ms) commit transaction
36658
+  (0.1ms) begin transaction
36659
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36660
+  (0.1ms) commit transaction
36661
+  (0.1ms) begin transaction
36662
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36663
+  (0.0ms) commit transaction
36664
+  (0.1ms) begin transaction
36665
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36666
+  (0.1ms) commit transaction
36667
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
36668
+ User Load (0.2ms) SELECT "users".* FROM "users" 
36669
+  (0.1ms) begin transaction
36670
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
36671
+  (0.1ms) commit transaction
36672
+  (0.1ms) begin transaction
36673
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
36674
+  (0.1ms) commit transaction
36675
+  (0.1ms) begin transaction
36676
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
36677
+  (0.1ms) commit transaction
36678
+  (0.0ms) begin transaction
36679
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36680
+  (0.0ms) commit transaction
36681
+  (0.0ms) begin transaction
36682
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36683
+  (0.0ms) commit transaction
36684
+  (0.1ms) begin transaction
36685
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36686
+  (0.1ms) commit transaction
36687
+ User Load (0.2ms) SELECT "users".* FROM "users"
36688
+ User Load (0.2ms) SELECT "users".* FROM "users" 
36689
+  (0.1ms) begin transaction
36690
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
36691
+  (0.1ms) commit transaction
36692
+  (0.1ms) begin transaction
36693
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
36694
+  (0.1ms) commit transaction
36695
+  (0.1ms) begin transaction
36696
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
36697
+  (0.1ms) commit transaction
36698
+  (0.1ms) begin transaction
36699
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36700
+  (0.1ms) commit transaction
36701
+  (0.1ms) begin transaction
36702
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36703
+  (0.1ms) commit transaction
36704
+  (0.1ms) begin transaction
36705
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
36706
+  (0.1ms) commit transaction
36707
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
36708
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
36709
+ User Load (0.2ms) SELECT "users".* FROM "users"
36710
+ User Load (0.3ms) SELECT "users".* FROM "users" 
36711
+  (0.1ms) begin transaction
36712
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
36713
+  (0.1ms) commit transaction
36714
+  (0.1ms) begin transaction
36715
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
36716
+  (0.1ms) commit transaction
36717
+  (0.1ms) begin transaction
36718
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
36719
+  (0.1ms) commit transaction
36720
+  (0.1ms) begin transaction
36721
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:43 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00]]
36722
+  (0.1ms) commit transaction
36723
+  (0.1ms) begin transaction
36724
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:43 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00]]
36725
+  (0.1ms) commit transaction
36726
+  (0.1ms) begin transaction
36727
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:43 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00]]
36728
+  (0.1ms) commit transaction
36729
+ User Load (0.2ms) SELECT "users".* FROM "users"
36730
+ Connecting to database specified by database.yml
36731
+  (3.3ms) select sqlite_version(*)
36732
+  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
36733
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
36734
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
36735
+  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
36736
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
36737
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
36738
+  (0.1ms) begin transaction
36739
+ SQL (44.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36740
+  (0.1ms) commit transaction
36741
+  (0.1ms) begin transaction
36742
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
36743
+  (0.1ms) commit transaction
36744
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36745
+ User Load (0.2ms) SELECT "users".* FROM "users" 
36746
+  (0.1ms) begin transaction
36747
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
36748
+  (0.1ms) commit transaction
36749
+  (0.1ms) begin transaction
36750
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36751
+  (0.1ms) commit transaction
36752
+  (0.1ms) begin transaction
36753
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36754
+  (0.1ms) commit transaction
36755
+  (0.1ms) begin transaction
36756
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36757
+  (0.1ms) commit transaction
36758
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
36759
+ User Load (0.2ms) SELECT "users".* FROM "users" 
36760
+  (0.1ms) begin transaction
36761
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
36762
+  (0.1ms) commit transaction
36763
+  (0.1ms) begin transaction
36764
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
36765
+  (0.1ms) commit transaction
36766
+  (0.1ms) begin transaction
36767
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
36768
+  (0.1ms) commit transaction
36769
+  (0.1ms) begin transaction
36770
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36771
+  (0.0ms) commit transaction
36772
+  (0.0ms) begin transaction
36773
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36774
+  (0.0ms) commit transaction
36775
+  (0.1ms) begin transaction
36776
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36777
+  (0.0ms) commit transaction
36778
+ User Load (0.2ms) SELECT "users".* FROM "users"
36779
+ User Load (0.2ms) SELECT "users".* FROM "users" 
36780
+  (0.1ms) begin transaction
36781
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
36782
+  (0.1ms) commit transaction
36783
+  (0.1ms) begin transaction
36784
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
36785
+  (0.1ms) commit transaction
36786
+  (0.1ms) begin transaction
36787
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
36788
+  (0.1ms) commit transaction
36789
+  (0.1ms) begin transaction
36790
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36791
+  (0.0ms) commit transaction
36792
+  (0.1ms) begin transaction
36793
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36794
+  (0.1ms) commit transaction
36795
+  (0.1ms) begin transaction
36796
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36797
+  (0.1ms) commit transaction
36798
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
36799
+ User Load (0.2ms) SELECT "users".* FROM "users" 
36800
+  (0.1ms) begin transaction
36801
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
36802
+  (0.0ms) commit transaction
36803
+  (0.0ms) begin transaction
36804
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
36805
+  (0.0ms) commit transaction
36806
+  (0.1ms) begin transaction
36807
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
36808
+  (0.1ms) commit transaction
36809
+  (0.1ms) begin transaction
36810
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36811
+  (0.1ms) commit transaction
36812
+  (0.1ms) begin transaction
36813
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36814
+  (0.1ms) commit transaction
36815
+  (0.1ms) begin transaction
36816
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36817
+  (0.1ms) commit transaction
36818
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
36819
+ User Load (0.2ms) SELECT "users".* FROM "users" 
36820
+  (0.1ms) begin transaction
36821
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
36822
+  (0.1ms) commit transaction
36823
+  (0.1ms) begin transaction
36824
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
36825
+  (0.1ms) commit transaction
36826
+  (0.1ms) begin transaction
36827
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
36828
+  (0.1ms) commit transaction
36829
+  (0.0ms) begin transaction
36830
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36831
+  (0.0ms) commit transaction
36832
+  (0.0ms) begin transaction
36833
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36834
+  (0.0ms) commit transaction
36835
+  (0.0ms) begin transaction
36836
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36837
+  (0.1ms) commit transaction
36838
+ User Load (0.2ms) SELECT "users".* FROM "users"
36839
+ User Load (0.2ms) SELECT "users".* FROM "users" 
36840
+  (0.1ms) begin transaction
36841
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
36842
+  (0.1ms) commit transaction
36843
+  (0.1ms) begin transaction
36844
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
36845
+  (0.1ms) commit transaction
36846
+  (0.1ms) begin transaction
36847
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
36848
+  (0.1ms) commit transaction
36849
+  (0.1ms) begin transaction
36850
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36851
+  (0.1ms) commit transaction
36852
+  (0.1ms) begin transaction
36853
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36854
+  (0.1ms) commit transaction
36855
+  (0.1ms) begin transaction
36856
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
36857
+  (0.1ms) commit transaction
36858
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
36859
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
36860
+ User Load (0.2ms) SELECT "users".* FROM "users"
36861
+ User Load (0.3ms) SELECT "users".* FROM "users" 
36862
+  (0.1ms) begin transaction
36863
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
36864
+  (0.1ms) commit transaction
36865
+  (0.1ms) begin transaction
36866
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
36867
+  (0.1ms) commit transaction
36868
+  (0.1ms) begin transaction
36869
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
36870
+  (0.1ms) commit transaction
36871
+  (0.1ms) begin transaction
36872
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:20 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00]]
36873
+  (0.1ms) commit transaction
36874
+  (0.1ms) begin transaction
36875
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:20 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00]]
36876
+  (0.1ms) commit transaction
36877
+  (0.1ms) begin transaction
36878
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:20 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00]]
36879
+  (0.0ms) commit transaction
36880
+ User Load (0.2ms) SELECT "users".* FROM "users"
36881
+ Connecting to database specified by database.yml
36882
+  (3.3ms) select sqlite_version(*)
36883
+  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
36884
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
36885
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
36886
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
36887
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
36888
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
36889
+  (0.1ms) begin transaction
36890
+ SQL (43.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]
36891
+  (0.1ms) commit transaction
36892
+  (0.1ms) begin transaction
36893
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
36894
+  (0.1ms) commit transaction
36895
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
36896
+ User Load (0.2ms) SELECT "users".* FROM "users" 
36897
+  (0.1ms) begin transaction
36898
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
36899
+  (0.1ms) commit transaction
36900
+  (0.1ms) begin transaction
36901
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:37 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]
36902
+  (0.1ms) commit transaction
36903
+  (0.1ms) begin transaction
36904
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:37 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]
36905
+  (0.1ms) commit transaction
36906
+  (0.1ms) begin transaction
36907
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:37 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]
36908
+  (0.1ms) commit transaction
36909
+ User Load (0.2ms) SELECT "users".* FROM "users"
36910
+ User Load (0.3ms) SELECT "users".* FROM "users" 
36911
+  (0.1ms) begin transaction
36912
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
36913
+  (0.1ms) commit transaction
36914
+  (0.1ms) begin transaction
36915
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
36916
+  (0.1ms) commit transaction
36917
+  (0.1ms) begin transaction
36918
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
36919
+  (0.1ms) commit transaction
36920
+  (0.1ms) begin transaction
36921
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:37 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]
36922
+  (0.1ms) commit transaction
36923
+  (0.1ms) begin transaction
36924
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:37 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]
36925
+  (0.1ms) commit transaction
36926
+  (0.1ms) begin transaction
36927
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:37 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]
36928
+  (0.1ms) commit transaction
36929
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
36930
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
36931
+ User Load (0.2ms) SELECT "users".* FROM "users"
36932
+ User Load (0.3ms) SELECT "users".* FROM "users" 
36933
+  (0.1ms) begin transaction
36934
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
36935
+  (0.1ms) commit transaction
36936
+  (0.1ms) begin transaction
36937
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
36938
+  (0.1ms) commit transaction
36939
+  (0.1ms) begin transaction
36940
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
36941
+  (0.1ms) commit transaction
36942
+  (0.1ms) begin transaction
36943
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
36944
+  (0.1ms) commit transaction
36945
+  (0.1ms) begin transaction
36946
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
36947
+  (0.1ms) commit transaction
36948
+  (0.1ms) begin transaction
36949
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
36950
+  (0.1ms) commit transaction
36951
+ User Load (0.2ms) SELECT "users".* FROM "users"
36952
+ User Load (0.3ms) SELECT "users".* FROM "users" 
36953
+  (0.1ms) begin transaction
36954
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
36955
+  (0.1ms) commit transaction
36956
+  (0.1ms) begin transaction
36957
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
36958
+  (0.1ms) commit transaction
36959
+  (0.1ms) begin transaction
36960
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
36961
+  (0.1ms) commit transaction
36962
+  (0.1ms) begin transaction
36963
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
36964
+  (0.1ms) commit transaction
36965
+  (0.1ms) begin transaction
36966
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
36967
+  (0.1ms) commit transaction
36968
+  (0.1ms) begin transaction
36969
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
36970
+  (0.1ms) commit transaction
36971
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
36972
+ User Load (0.1ms) SELECT "users".* FROM "users" 
36973
+  (0.1ms) begin transaction
36974
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
36975
+  (0.0ms) commit transaction
36976
+  (0.0ms) begin transaction
36977
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
36978
+  (0.1ms) commit transaction
36979
+  (0.0ms) begin transaction
36980
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
36981
+  (0.1ms) commit transaction
36982
+  (0.1ms) begin transaction
36983
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
36984
+  (0.1ms) commit transaction
36985
+  (0.1ms) begin transaction
36986
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
36987
+  (0.1ms) commit transaction
36988
+  (0.1ms) begin transaction
36989
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
36990
+  (0.1ms) commit transaction
36991
+ User Load (0.1ms) SELECT "users".* FROM "users"
36992
+ User Load (0.2ms) SELECT "users".* FROM "users" 
36993
+  (0.1ms) begin transaction
36994
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
36995
+  (0.1ms) commit transaction
36996
+  (0.1ms) begin transaction
36997
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
36998
+  (0.1ms) commit transaction
36999
+  (0.1ms) begin transaction
37000
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
37001
+  (0.1ms) commit transaction
37002
+  (0.1ms) begin transaction
37003
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
37004
+  (0.1ms) commit transaction
37005
+  (0.1ms) begin transaction
37006
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
37007
+  (0.1ms) commit transaction
37008
+  (0.1ms) begin transaction
37009
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
37010
+  (0.1ms) commit transaction
37011
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
37012
+ User Load (0.1ms) SELECT "users".* FROM "users" 
37013
+  (0.1ms) begin transaction
37014
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
37015
+  (0.1ms) commit transaction
37016
+  (0.1ms) begin transaction
37017
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
37018
+  (0.1ms) commit transaction
37019
+  (0.1ms) begin transaction
37020
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
37021
+  (0.1ms) commit transaction
37022
+  (0.1ms) begin transaction
37023
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
37024
+  (0.1ms) commit transaction
37025
+  (0.1ms) begin transaction
37026
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
37027
+  (0.1ms) commit transaction
37028
+  (0.1ms) begin transaction
37029
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
37030
+  (0.1ms) commit transaction
37031
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
37032
+ Connecting to database specified by database.yml
37033
+  (3.3ms) select sqlite_version(*)
37034
+  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
37035
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
37036
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
37037
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
37038
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
37039
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
37040
+  (0.1ms) begin transaction
37041
+ SQL (43.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 13:36:15 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 13:36:15 UTC +00:00]]
37042
+  (0.1ms) commit transaction
37043
+  (0.1ms) begin transaction
37044
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
37045
+  (0.1ms) commit transaction
37046
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
37047
+ User Load (0.3ms) SELECT "users".* FROM "users" 
37048
+  (0.1ms) begin transaction
37049
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
37050
+  (0.1ms) commit transaction
37051
+  (0.1ms) begin transaction
37052
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:16 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]
37053
+  (0.1ms) commit transaction
37054
+  (0.1ms) begin transaction
37055
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:16 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]
37056
+  (0.1ms) commit transaction
37057
+  (0.1ms) begin transaction
37058
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:16 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]
37059
+  (0.1ms) commit transaction
37060
+ User Load (0.2ms) SELECT "users".* FROM "users"
37061
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37062
+  (0.1ms) begin transaction
37063
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
37064
+  (0.1ms) commit transaction
37065
+  (0.1ms) begin transaction
37066
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
37067
+  (0.1ms) commit transaction
37068
+  (0.1ms) begin transaction
37069
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
37070
+  (0.1ms) commit transaction
37071
+  (0.1ms) begin transaction
37072
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:16 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]
37073
+  (0.1ms) commit transaction
37074
+  (0.1ms) begin transaction
37075
+ SQL (0.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:16 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]
37076
+  (0.1ms) commit transaction
37077
+  (0.1ms) begin transaction
37078
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:16 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]
37079
+  (0.1ms) commit transaction
37080
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
37081
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
37082
+ User Load (0.2ms) SELECT "users".* FROM "users"
37083
+ User Load (0.3ms) SELECT "users".* FROM "users" 
37084
+  (0.1ms) begin transaction
37085
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
37086
+  (0.1ms) commit transaction
37087
+  (0.1ms) begin transaction
37088
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
37089
+  (0.1ms) commit transaction
37090
+  (0.1ms) begin transaction
37091
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
37092
+  (0.1ms) commit transaction
37093
+  (0.1ms) begin transaction
37094
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
37095
+  (0.1ms) commit transaction
37096
+  (0.1ms) begin transaction
37097
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
37098
+  (0.1ms) commit transaction
37099
+  (0.1ms) begin transaction
37100
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
37101
+  (0.1ms) commit transaction
37102
+ User Load (0.2ms) SELECT "users".* FROM "users"
37103
+ User Load (0.3ms) SELECT "users".* FROM "users" 
37104
+  (0.1ms) begin transaction
37105
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
37106
+  (0.1ms) commit transaction
37107
+  (0.1ms) begin transaction
37108
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
37109
+  (0.1ms) commit transaction
37110
+  (0.1ms) begin transaction
37111
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
37112
+  (0.1ms) commit transaction
37113
+  (0.1ms) begin transaction
37114
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
37115
+  (0.1ms) commit transaction
37116
+  (0.1ms) begin transaction
37117
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
37118
+  (0.1ms) commit transaction
37119
+  (0.1ms) begin transaction
37120
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
37121
+  (0.1ms) commit transaction
37122
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
37123
+ User Load (0.1ms) SELECT "users".* FROM "users" 
37124
+  (0.1ms) begin transaction
37125
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
37126
+  (0.1ms) commit transaction
37127
+  (0.1ms) begin transaction
37128
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
37129
+  (0.1ms) commit transaction
37130
+  (0.1ms) begin transaction
37131
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
37132
+  (0.1ms) commit transaction
37133
+  (0.1ms) begin transaction
37134
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
37135
+  (0.1ms) commit transaction
37136
+  (0.1ms) begin transaction
37137
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
37138
+  (0.1ms) commit transaction
37139
+  (0.1ms) begin transaction
37140
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
37141
+  (0.1ms) commit transaction
37142
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
37143
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37144
+  (0.1ms) begin transaction
37145
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
37146
+  (0.0ms) commit transaction
37147
+  (0.0ms) begin transaction
37148
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
37149
+  (0.1ms) commit transaction
37150
+  (0.1ms) begin transaction
37151
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
37152
+  (0.1ms) commit transaction
37153
+  (0.1ms) begin transaction
37154
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
37155
+  (0.1ms) commit transaction
37156
+  (0.1ms) begin transaction
37157
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
37158
+  (0.1ms) commit transaction
37159
+  (0.1ms) begin transaction
37160
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
37161
+  (0.1ms) commit transaction
37162
+ User Load (0.2ms) SELECT "users".* FROM "users"
37163
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37164
+  (0.1ms) begin transaction
37165
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
37166
+  (0.1ms) commit transaction
37167
+  (0.1ms) begin transaction
37168
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
37169
+  (0.1ms) commit transaction
37170
+  (0.1ms) begin transaction
37171
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
37172
+  (0.0ms) commit transaction
37173
+  (0.1ms) begin transaction
37174
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
37175
+  (0.1ms) commit transaction
37176
+  (0.1ms) begin transaction
37177
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
37178
+  (0.1ms) commit transaction
37179
+  (0.1ms) begin transaction
37180
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
37181
+  (0.1ms) commit transaction
37182
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
37183
+ Connecting to database specified by database.yml
37184
+  (3.3ms) select sqlite_version(*)
37185
+  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
37186
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
37187
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
37188
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
37189
+  (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
37190
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
37191
+ User Load (2.7ms) SELECT "users".* FROM "users"
37192
+  (0.1ms) begin transaction
37193
+ SQL (42.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
37194
+  (0.1ms) commit transaction
37195
+  (0.1ms) begin transaction
37196
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
37197
+  (0.1ms) commit transaction
37198
+  (0.1ms) begin transaction
37199
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
37200
+  (0.1ms) commit transaction
37201
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
37202
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37203
+  (0.1ms) begin transaction
37204
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
37205
+  (0.1ms) commit transaction
37206
+  (0.1ms) begin transaction
37207
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
37208
+  (0.1ms) commit transaction
37209
+  (0.1ms) begin transaction
37210
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
37211
+  (0.1ms) commit transaction
37212
+  (0.1ms) begin transaction
37213
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
37214
+  (0.1ms) commit transaction
37215
+  (0.1ms) begin transaction
37216
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
37217
+  (0.1ms) commit transaction
37218
+  (0.1ms) begin transaction
37219
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
37220
+  (0.1ms) commit transaction
37221
+ User Load (0.2ms) SELECT "users".* FROM "users"
37222
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37223
+  (0.1ms) begin transaction
37224
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
37225
+  (0.1ms) commit transaction
37226
+  (0.1ms) begin transaction
37227
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
37228
+  (0.1ms) commit transaction
37229
+  (0.1ms) begin transaction
37230
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
37231
+  (0.1ms) commit transaction
37232
+  (0.1ms) begin transaction
37233
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
37234
+  (0.1ms) commit transaction
37235
+  (0.1ms) begin transaction
37236
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
37237
+  (0.0ms) commit transaction
37238
+  (0.0ms) begin transaction
37239
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
37240
+  (0.1ms) commit transaction
37241
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
37242
+ User Load (0.3ms) SELECT "users".* FROM "users" 
37243
+  (0.1ms) begin transaction
37244
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
37245
+  (0.1ms) commit transaction
37246
+  (0.1ms) begin transaction
37247
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
37248
+  (0.1ms) commit transaction
37249
+  (0.1ms) begin transaction
37250
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
37251
+  (0.1ms) commit transaction
37252
+  (0.1ms) begin transaction
37253
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
37254
+  (0.0ms) commit transaction
37255
+  (0.1ms) begin transaction
37256
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
37257
+  (0.1ms) commit transaction
37258
+  (0.1ms) begin transaction
37259
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
37260
+  (0.1ms) commit transaction
37261
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
37262
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37263
+  (0.1ms) begin transaction
37264
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
37265
+  (0.1ms) commit transaction
37266
+  (0.1ms) begin transaction
37267
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
37268
+  (0.1ms) commit transaction
37269
+  (0.1ms) begin transaction
37270
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
37271
+  (0.1ms) commit transaction
37272
+  (0.1ms) begin transaction
37273
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
37274
+  (0.1ms) commit transaction
37275
+  (0.1ms) begin transaction
37276
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
37277
+  (0.1ms) commit transaction
37278
+  (0.1ms) begin transaction
37279
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
37280
+  (0.1ms) commit transaction
37281
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
37282
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
37283
+ User Load (0.1ms) SELECT "users".* FROM "users"
37284
+ User Load (0.3ms) SELECT "users".* FROM "users" 
37285
+  (0.1ms) begin transaction
37286
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
37287
+  (0.1ms) commit transaction
37288
+  (0.1ms) begin transaction
37289
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
37290
+  (0.1ms) commit transaction
37291
+  (0.1ms) begin transaction
37292
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
37293
+  (0.1ms) commit transaction
37294
+  (0.1ms) begin transaction
37295
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:48 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]
37296
+  (0.1ms) commit transaction
37297
+  (0.1ms) begin transaction
37298
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:48 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]
37299
+  (0.1ms) commit transaction
37300
+  (0.1ms) begin transaction
37301
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:48 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]
37302
+  (0.1ms) commit transaction
37303
+ User Load (0.2ms) SELECT "users".* FROM "users"
37304
+ User Load (0.3ms) SELECT "users".* FROM "users" 
37305
+  (0.1ms) begin transaction
37306
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
37307
+  (0.1ms) commit transaction
37308
+  (0.1ms) begin transaction
37309
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
37310
+  (0.1ms) commit transaction
37311
+  (0.1ms) begin transaction
37312
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
37313
+  (0.1ms) commit transaction
37314
+  (0.1ms) begin transaction
37315
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:48 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]
37316
+  (0.1ms) commit transaction
37317
+  (0.1ms) begin transaction
37318
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:48 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]
37319
+  (0.1ms) commit transaction
37320
+  (0.1ms) begin transaction
37321
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:48 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]
37322
+  (0.1ms) commit transaction
37323
+ User Load (0.2ms) SELECT "users".* FROM "users"
37324
+  (0.1ms) begin transaction
37325
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]
37326
+  (0.1ms) commit transaction
37327
+  (0.1ms) begin transaction
37328
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]
37329
+  (0.1ms) commit transaction
37330
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1
37331
+ Connecting to database specified by database.yml
37332
+  (3.7ms) select sqlite_version(*)
37333
+  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
37334
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
37335
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
37336
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
37337
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
37338
+  (0.2ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
37339
+ User Load (2.4ms) SELECT "users".* FROM "users"
37340
+  (0.1ms) begin transaction
37341
+ SQL (40.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:48 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]
37342
+  (0.1ms) commit transaction
37343
+  (0.1ms) begin transaction
37344
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:48 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]
37345
+  (0.1ms) commit transaction
37346
+  (0.1ms) begin transaction
37347
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:48 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]
37348
+  (0.1ms) commit transaction
37349
+ User Load (0.2ms) SELECT "users".* FROM "users"
37350
+ User Load (0.3ms) SELECT "users".* FROM "users" 
37351
+  (0.1ms) begin transaction
37352
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
37353
+  (0.1ms) commit transaction
37354
+  (0.1ms) begin transaction
37355
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
37356
+  (0.1ms) commit transaction
37357
+  (0.1ms) begin transaction
37358
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
37359
+  (0.1ms) commit transaction
37360
+  (0.1ms) begin transaction
37361
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:48 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]
37362
+  (0.1ms) commit transaction
37363
+  (0.1ms) begin transaction
37364
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:48 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]
37365
+  (0.1ms) commit transaction
37366
+  (0.1ms) begin transaction
37367
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:48 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]
37368
+  (0.1ms) commit transaction
37369
+  (0.3ms) SELECT AVG("users"."age") AS avg_id FROM "users"
37370
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
37371
+ User Load (0.3ms) SELECT "users".* FROM "users"
37372
+ User Load (0.3ms) SELECT "users".* FROM "users" 
37373
+  (0.1ms) begin transaction
37374
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
37375
+  (0.1ms) commit transaction
37376
+  (0.1ms) begin transaction
37377
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
37378
+  (0.1ms) commit transaction
37379
+  (0.1ms) begin transaction
37380
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
37381
+  (0.1ms) commit transaction
37382
+  (0.1ms) begin transaction
37383
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
37384
+  (0.1ms) commit transaction
37385
+  (0.1ms) begin transaction
37386
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
37387
+  (0.1ms) commit transaction
37388
+  (0.1ms) begin transaction
37389
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
37390
+  (0.1ms) commit transaction
37391
+ User Load (0.2ms) SELECT "users".* FROM "users"
37392
+ User Load (0.3ms) SELECT "users".* FROM "users" 
37393
+  (0.1ms) begin transaction
37394
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
37395
+  (0.1ms) commit transaction
37396
+  (0.1ms) begin transaction
37397
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
37398
+  (0.1ms) commit transaction
37399
+  (0.1ms) begin transaction
37400
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
37401
+  (0.1ms) commit transaction
37402
+  (0.1ms) begin transaction
37403
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
37404
+  (0.1ms) commit transaction
37405
+  (0.1ms) begin transaction
37406
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
37407
+  (0.1ms) commit transaction
37408
+  (0.1ms) begin transaction
37409
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
37410
+  (0.1ms) commit transaction
37411
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
37412
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37413
+  (0.1ms) begin transaction
37414
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
37415
+  (0.1ms) commit transaction
37416
+  (0.1ms) begin transaction
37417
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
37418
+  (0.1ms) commit transaction
37419
+  (0.1ms) begin transaction
37420
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
37421
+  (0.1ms) commit transaction
37422
+  (0.1ms) begin transaction
37423
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
37424
+  (0.1ms) commit transaction
37425
+  (0.1ms) begin transaction
37426
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
37427
+  (0.0ms) commit transaction
37428
+  (0.0ms) begin transaction
37429
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
37430
+  (0.1ms) commit transaction
37431
+ User Load (0.2ms) SELECT "users".* FROM "users"
37432
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37433
+  (0.1ms) begin transaction
37434
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
37435
+  (0.1ms) commit transaction
37436
+  (0.1ms) begin transaction
37437
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
37438
+  (0.1ms) commit transaction
37439
+  (0.1ms) begin transaction
37440
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
37441
+  (0.1ms) commit transaction
37442
+  (0.1ms) begin transaction
37443
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
37444
+  (0.1ms) commit transaction
37445
+  (0.1ms) begin transaction
37446
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
37447
+  (0.1ms) commit transaction
37448
+  (0.1ms) begin transaction
37449
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
37450
+  (0.1ms) commit transaction
37451
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
37452
+ User Load (0.1ms) SELECT "users".* FROM "users" 
37453
+  (0.1ms) begin transaction
37454
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
37455
+  (0.1ms) commit transaction
37456
+  (0.0ms) begin transaction
37457
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
37458
+  (0.1ms) commit transaction
37459
+  (0.1ms) begin transaction
37460
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
37461
+  (0.0ms) commit transaction
37462
+  (0.1ms) begin transaction
37463
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
37464
+  (0.1ms) commit transaction
37465
+  (0.1ms) begin transaction
37466
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
37467
+  (0.1ms) commit transaction
37468
+  (0.1ms) begin transaction
37469
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
37470
+  (0.1ms) commit transaction
37471
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
37472
+  (0.1ms) begin transaction
37473
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
37474
+  (0.1ms) commit transaction
37475
+  (0.1ms) begin transaction
37476
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]
37477
+  (0.1ms) commit transaction
37478
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1
37479
+ Connecting to database specified by database.yml
37480
+  (3.1ms) select sqlite_version(*)
37481
+  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
37482
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
37483
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
37484
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
37485
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
37486
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
37487
+  (0.1ms) begin transaction
37488
+ SQL (43.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 14:28:09 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 14:28:09 UTC +00:00]]
37489
+  (0.1ms) commit transaction
37490
+  (0.1ms) begin transaction
37491
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
37492
+  (0.1ms) commit transaction
37493
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
37494
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37495
+  (0.1ms) begin transaction
37496
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
37497
+  (0.1ms) commit transaction
37498
+  (0.1ms) begin transaction
37499
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:10 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]
37500
+  (0.0ms) commit transaction
37501
+  (0.1ms) begin transaction
37502
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:10 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]
37503
+  (0.1ms) commit transaction
37504
+  (0.1ms) begin transaction
37505
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:10 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]
37506
+  (0.1ms) commit transaction
37507
+ User Load (0.2ms) SELECT "users".* FROM "users"
37508
+ User Load (0.3ms) SELECT "users".* FROM "users" 
37509
+  (0.1ms) begin transaction
37510
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
37511
+  (0.1ms) commit transaction
37512
+  (0.1ms) begin transaction
37513
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
37514
+  (0.1ms) commit transaction
37515
+  (0.1ms) begin transaction
37516
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
37517
+  (0.1ms) commit transaction
37518
+  (0.1ms) begin transaction
37519
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:10 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]
37520
+  (0.1ms) commit transaction
37521
+  (0.1ms) begin transaction
37522
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:10 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]
37523
+  (0.1ms) commit transaction
37524
+  (0.1ms) begin transaction
37525
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:10 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]
37526
+  (0.1ms) commit transaction
37527
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
37528
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
37529
+ User Load (0.2ms) SELECT "users".* FROM "users"
37530
+ User Load (0.3ms) SELECT "users".* FROM "users" 
37531
+  (0.1ms) begin transaction
37532
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
37533
+  (0.1ms) commit transaction
37534
+  (0.1ms) begin transaction
37535
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
37536
+  (0.1ms) commit transaction
37537
+  (0.1ms) begin transaction
37538
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
37539
+  (0.1ms) commit transaction
37540
+  (0.1ms) begin transaction
37541
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
37542
+  (0.1ms) commit transaction
37543
+  (0.1ms) begin transaction
37544
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
37545
+  (0.1ms) commit transaction
37546
+  (0.1ms) begin transaction
37547
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
37548
+  (0.1ms) commit transaction
37549
+ User Load (0.2ms) SELECT "users".* FROM "users"
37550
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37551
+  (0.0ms) begin transaction
37552
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
37553
+  (0.1ms) commit transaction
37554
+  (0.1ms) begin transaction
37555
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
37556
+  (0.0ms) commit transaction
37557
+  (0.0ms) begin transaction
37558
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
37559
+  (0.0ms) commit transaction
37560
+  (0.1ms) begin transaction
37561
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
37562
+  (0.0ms) commit transaction
37563
+  (0.1ms) begin transaction
37564
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
37565
+  (0.1ms) commit transaction
37566
+  (0.1ms) begin transaction
37567
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
37568
+  (0.1ms) commit transaction
37569
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
37570
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37571
+  (0.1ms) begin transaction
37572
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
37573
+  (0.1ms) commit transaction
37574
+  (0.1ms) begin transaction
37575
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
37576
+  (0.1ms) commit transaction
37577
+  (0.1ms) begin transaction
37578
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
37579
+  (0.1ms) commit transaction
37580
+  (0.1ms) begin transaction
37581
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
37582
+  (0.1ms) commit transaction
37583
+  (0.1ms) begin transaction
37584
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
37585
+  (0.1ms) commit transaction
37586
+  (0.1ms) begin transaction
37587
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
37588
+  (0.1ms) commit transaction
37589
+ User Load (0.2ms) SELECT "users".* FROM "users"
37590
+ User Load (0.1ms) SELECT "users".* FROM "users" 
37591
+  (0.0ms) begin transaction
37592
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
37593
+  (0.0ms) commit transaction
37594
+  (0.0ms) begin transaction
37595
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
37596
+  (0.0ms) commit transaction
37597
+  (0.0ms) begin transaction
37598
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
37599
+  (0.1ms) commit transaction
37600
+  (0.1ms) begin transaction
37601
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
37602
+  (0.1ms) commit transaction
37603
+  (0.1ms) begin transaction
37604
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
37605
+  (0.0ms) commit transaction
37606
+  (0.0ms) begin transaction
37607
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
37608
+  (0.1ms) commit transaction
37609
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
37610
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37611
+  (0.1ms) begin transaction
37612
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
37613
+  (0.1ms) commit transaction
37614
+  (0.1ms) begin transaction
37615
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
37616
+  (0.1ms) commit transaction
37617
+  (0.1ms) begin transaction
37618
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
37619
+  (0.0ms) commit transaction
37620
+  (0.0ms) begin transaction
37621
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
37622
+  (0.0ms) commit transaction
37623
+  (0.1ms) begin transaction
37624
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
37625
+  (0.0ms) commit transaction
37626
+  (0.1ms) begin transaction
37627
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
37628
+  (0.1ms) commit transaction
37629
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
37630
+ Connecting to database specified by database.yml
37631
+  (3.5ms) select sqlite_version(*)
37632
+  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
37633
+  (0.3ms) CREATE TABLE "dummy_dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
37634
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
37635
+  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer) 
37636
+  (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)
37637
+  (0.3ms) CREATE TABLE "dummy_user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "dummy_user_id" integer) 
37638
+ Connecting to database specified by database.yml
37639
+  (3.3ms) select sqlite_version(*)
37640
+  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
37641
+  (0.3ms) CREATE TABLE "dummy_dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
37642
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
37643
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer) 
37644
+  (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)
37645
+  (0.3ms) CREATE TABLE "dummy_user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "dummy_user_id" integer) 
37646
+ Connecting to database specified by database.yml
37647
+  (3.5ms) select sqlite_version(*)
37648
+  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
37649
+  (0.3ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
37650
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
37651
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer) 
37652
+  (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)
37653
+  (0.3ms) CREATE TABLE "dummy_user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "dummy_user_id" integer) 
37654
+ DummyUser Load (2.8ms) SELECT "dummy_users".* FROM "dummy_users"
37655
+  (0.1ms) begin transaction
37656
+ SQL (41.5ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:54:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
37657
+  (0.1ms) commit transaction
37658
+  (0.1ms) begin transaction
37659
+ SQL (0.4ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:54:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
37660
+  (0.1ms) commit transaction
37661
+  (0.1ms) begin transaction
37662
+ SQL (0.3ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:54:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
37663
+  (0.1ms) commit transaction
37664
+ DummyUser Load (0.3ms) SELECT "dummy_users".* FROM "dummy_users" LIMIT 25 OFFSET 0
37665
+ DummyUser Load (0.2ms) SELECT "dummy_users".* FROM "dummy_users" 
37666
+  (0.1ms) begin transaction
37667
+ SQL (0.2ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 1]]
37668
+  (0.1ms) commit transaction
37669
+  (0.1ms) begin transaction
37670
+ SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 2]]
37671
+  (0.1ms) commit transaction
37672
+  (0.1ms) begin transaction
37673
+ SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 3]]
37674
+  (0.1ms) commit transaction
37675
+  (0.1ms) begin transaction
37676
+ SQL (0.4ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:54:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
37677
+  (0.1ms) commit transaction
37678
+  (0.1ms) begin transaction
37679
+ SQL (0.3ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:54:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
37680
+  (0.1ms) commit transaction
37681
+  (0.1ms) begin transaction
37682
+ SQL (0.3ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:54:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
37683
+  (0.1ms) commit transaction
37684
+ DummyUser Load (0.2ms) SELECT "dummy_users".* FROM "dummy_users"
37685
+ DummyUser Load (0.2ms) SELECT "dummy_users".* FROM "dummy_users" 
37686
+  (0.1ms) begin transaction
37687
+ SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 4]]
37688
+  (0.1ms) commit transaction
37689
+  (0.1ms) begin transaction
37690
+ SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 5]]
37691
+  (0.1ms) commit transaction
37692
+  (0.1ms) begin transaction
37693
+ SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 6]]
37694
+  (0.1ms) commit transaction
37695
+  (0.1ms) begin transaction
37696
+ SQL (0.4ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:54:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
37697
+  (0.1ms) commit transaction
37698
+  (0.1ms) begin transaction
37699
+ SQL (0.3ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:54:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
37700
+  (0.1ms) commit transaction
37701
+  (0.1ms) begin transaction
37702
+ SQL (0.2ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:54:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
37703
+  (0.0ms) commit transaction
37704
+ DummyUser Load (0.3ms) SELECT "dummy_users".* FROM "dummy_users" WHERE (("dummy_users"."age" = 10 AND "dummy_users"."created_at" >= '2013-04-06 00:00:00.000000' AND "dummy_users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
37705
+ DummyUser Load (0.2ms) SELECT "dummy_users".* FROM "dummy_users" 
37706
+  (0.1ms) begin transaction
37707
+ SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 7]]
37708
+  (0.1ms) commit transaction
37709
+  (0.1ms) begin transaction
37710
+ SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 8]]
37711
+  (0.1ms) commit transaction
37712
+  (0.1ms) begin transaction
37713
+ SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 9]]
37714
+  (0.1ms) commit transaction
37715
+  (0.1ms) begin transaction
37716
+ SQL (0.4ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:54:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
37717
+  (0.1ms) commit transaction
37718
+  (0.1ms) begin transaction
37719
+ SQL (0.3ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:54:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
37720
+  (0.1ms) commit transaction
37721
+  (0.1ms) begin transaction
37722
+ SQL (0.4ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:54:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
37723
+  (0.1ms) commit transaction
37724
+ DummyUser Load (0.3ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."age" = 34 LIMIT 25 OFFSET 0
37725
+ Connecting to database specified by database.yml
37726
+  (1.8ms) select sqlite_version(*)
37727
+  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
37728
+  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
37729
+  (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
37730
+  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
37731
+  (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
37732
+  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
37733
+ User Load (2.2ms) SELECT "users".* FROM "users"
37734
+  (0.1ms) begin transaction
37735
+ SQL (39.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:15 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]
37736
+  (0.1ms) commit transaction
37737
+  (0.1ms) begin transaction
37738
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:15 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]
37739
+  (0.1ms) commit transaction
37740
+  (0.1ms) begin transaction
37741
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:15 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]
37742
+  (0.1ms) commit transaction
37743
+ User Load (0.2ms) SELECT "users".* FROM "users"
37744
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37745
+  (0.1ms) begin transaction
37746
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
37747
+  (0.1ms) commit transaction
37748
+  (0.1ms) begin transaction
37749
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
37750
+  (0.1ms) commit transaction
37751
+  (0.1ms) begin transaction
37752
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
37753
+  (0.1ms) commit transaction
37754
+  (0.1ms) begin transaction
37755
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:15 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]
37756
+  (0.1ms) commit transaction
37757
+  (0.1ms) begin transaction
37758
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:15 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]
37759
+  (0.1ms) commit transaction
37760
+  (0.1ms) begin transaction
37761
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:15 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]
37762
+  (0.1ms) commit transaction
37763
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
37764
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
37765
+ User Load (0.2ms) SELECT "users".* FROM "users"
37766
+ User Load (0.3ms) SELECT "users".* FROM "users" 
37767
+  (0.1ms) begin transaction
37768
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
37769
+  (0.1ms) commit transaction
37770
+  (0.1ms) begin transaction
37771
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
37772
+  (0.1ms) commit transaction
37773
+  (0.1ms) begin transaction
37774
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
37775
+  (0.1ms) commit transaction
37776
+  (0.1ms) begin transaction
37777
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:18 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00]]
37778
+  (0.1ms) commit transaction
37779
+  (0.1ms) begin transaction
37780
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:18 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00]]
37781
+  (0.1ms) commit transaction
37782
+  (0.1ms) begin transaction
37783
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:18 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00]]
37784
+  (0.0ms) commit transaction
37785
+ User Load (0.2ms) SELECT "users".* FROM "users"
37786
+  (0.1ms) begin transaction
37787
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
37788
+  (0.1ms) commit transaction
37789
+  (0.1ms) begin transaction
37790
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 10]]
37791
+  (0.1ms) commit transaction
37792
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1
37793
+ User Load (0.2ms) SELECT "users".* FROM "users"
37794
+  (0.1ms) begin transaction
37795
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
37796
+  (0.1ms) commit transaction
37797
+  (0.1ms) begin transaction
37798
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
37799
+  (0.1ms) commit transaction
37800
+  (0.1ms) begin transaction
37801
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
37802
+  (0.1ms) commit transaction
37803
+  (0.1ms) begin transaction
37804
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
37805
+  (0.1ms) commit transaction
37806
+  (0.1ms) begin transaction
37807
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
37808
+  (0.1ms) commit transaction
37809
+  (0.1ms) begin transaction
37810
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
37811
+  (0.1ms) commit transaction
37812
+  (0.1ms) begin transaction
37813
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
37814
+  (0.0ms) commit transaction
37815
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
37816
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37817
+  (0.1ms) begin transaction
37818
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
37819
+  (0.1ms) commit transaction
37820
+  (0.1ms) begin transaction
37821
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
37822
+  (0.1ms) commit transaction
37823
+  (0.1ms) begin transaction
37824
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
37825
+  (0.1ms) commit transaction
37826
+  (0.1ms) begin transaction
37827
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
37828
+  (0.1ms) commit transaction
37829
+  (0.1ms) begin transaction
37830
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
37831
+  (0.1ms) commit transaction
37832
+  (0.0ms) begin transaction
37833
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
37834
+  (0.1ms) commit transaction
37835
+ User Load (0.2ms) SELECT "users".* FROM "users"
37836
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37837
+  (0.1ms) begin transaction
37838
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
37839
+  (0.1ms) commit transaction
37840
+  (0.1ms) begin transaction
37841
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
37842
+  (0.1ms) commit transaction
37843
+  (0.1ms) begin transaction
37844
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
37845
+  (0.1ms) commit transaction
37846
+  (0.1ms) begin transaction
37847
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
37848
+  (0.1ms) commit transaction
37849
+  (0.1ms) begin transaction
37850
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
37851
+  (0.0ms) commit transaction
37852
+  (0.0ms) begin transaction
37853
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
37854
+  (0.1ms) commit transaction
37855
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
37856
+ User Load (0.1ms) SELECT "users".* FROM "users" 
37857
+  (0.1ms) begin transaction
37858
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
37859
+  (0.1ms) commit transaction
37860
+  (0.1ms) begin transaction
37861
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
37862
+  (0.1ms) commit transaction
37863
+  (0.1ms) begin transaction
37864
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
37865
+  (0.1ms) commit transaction
37866
+  (0.1ms) begin transaction
37867
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
37868
+  (0.1ms) commit transaction
37869
+  (0.1ms) begin transaction
37870
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
37871
+  (0.1ms) commit transaction
37872
+  (0.1ms) begin transaction
37873
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
37874
+  (0.0ms) commit transaction
37875
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
37876
+ Connecting to database specified by database.yml
37877
+  (3.4ms) select sqlite_version(*)
37878
+  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
37879
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
37880
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
37881
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
37882
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
37883
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
37884
+ User Load (2.2ms) SELECT "users".* FROM "users"
37885
+  (0.1ms) begin transaction
37886
+ SQL (6.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:47 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]
37887
+  (0.1ms) commit transaction
37888
+  (0.1ms) begin transaction
37889
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:47 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]
37890
+  (0.1ms) commit transaction
37891
+  (0.1ms) begin transaction
37892
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:47 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]
37893
+  (0.1ms) commit transaction
37894
+ User Load (0.3ms) SELECT "users".* FROM "users"
37895
+ User Load (0.3ms) SELECT "users".* FROM "users" 
37896
+  (0.1ms) begin transaction
37897
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
37898
+  (0.1ms) commit transaction
37899
+  (0.1ms) begin transaction
37900
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
37901
+  (0.1ms) commit transaction
37902
+  (0.1ms) begin transaction
37903
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
37904
+  (0.1ms) commit transaction
37905
+  (0.1ms) begin transaction
37906
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:47 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]
37907
+  (0.1ms) commit transaction
37908
+  (0.1ms) begin transaction
37909
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:47 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]
37910
+  (0.1ms) commit transaction
37911
+  (0.1ms) begin transaction
37912
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:47 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]
37913
+  (0.1ms) commit transaction
37914
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
37915
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
37916
+ User Load (0.2ms) SELECT "users".* FROM "users"
37917
+ User Load (0.3ms) SELECT "users".* FROM "users" 
37918
+  (0.1ms) begin transaction
37919
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
37920
+  (0.1ms) commit transaction
37921
+  (0.1ms) begin transaction
37922
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
37923
+  (0.1ms) commit transaction
37924
+  (0.1ms) begin transaction
37925
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
37926
+  (0.1ms) commit transaction
37927
+  (0.1ms) begin transaction
37928
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:50 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00]]
37929
+  (0.1ms) commit transaction
37930
+  (0.1ms) begin transaction
37931
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:50 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00]]
37932
+  (0.1ms) commit transaction
37933
+  (0.1ms) begin transaction
37934
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:50 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00]]
37935
+  (0.1ms) commit transaction
37936
+ User Load (0.2ms) SELECT "users".* FROM "users"
37937
+ User Load (0.3ms) SELECT "users".* FROM "users" 
37938
+  (0.1ms) begin transaction
37939
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
37940
+  (0.1ms) commit transaction
37941
+  (0.1ms) begin transaction
37942
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
37943
+  (0.1ms) commit transaction
37944
+  (0.1ms) begin transaction
37945
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
37946
+  (0.1ms) commit transaction
37947
+  (0.1ms) begin transaction
37948
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:51 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
37949
+  (0.1ms) commit transaction
37950
+  (0.1ms) begin transaction
37951
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:51 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
37952
+  (0.1ms) commit transaction
37953
+  (0.1ms) begin transaction
37954
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:51 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
37955
+  (0.1ms) commit transaction
37956
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
37957
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37958
+  (0.1ms) begin transaction
37959
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
37960
+  (0.1ms) commit transaction
37961
+  (0.1ms) begin transaction
37962
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
37963
+  (0.1ms) commit transaction
37964
+  (0.1ms) begin transaction
37965
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
37966
+  (0.1ms) commit transaction
37967
+  (0.1ms) begin transaction
37968
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:51 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
37969
+  (0.1ms) commit transaction
37970
+  (0.1ms) begin transaction
37971
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:51 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
37972
+  (0.1ms) commit transaction
37973
+  (0.1ms) begin transaction
37974
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:51 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
37975
+  (0.1ms) commit transaction
37976
+ User Load (0.2ms) SELECT "users".* FROM "users"
37977
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37978
+  (0.1ms) begin transaction
37979
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
37980
+  (0.1ms) commit transaction
37981
+  (0.1ms) begin transaction
37982
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
37983
+  (0.1ms) commit transaction
37984
+  (0.1ms) begin transaction
37985
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
37986
+  (0.1ms) commit transaction
37987
+  (0.1ms) begin transaction
37988
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:51 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
37989
+  (0.1ms) commit transaction
37990
+  (0.1ms) begin transaction
37991
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:51 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
37992
+  (0.1ms) commit transaction
37993
+  (0.1ms) begin transaction
37994
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:51 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
37995
+  (0.1ms) commit transaction
37996
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
37997
+ User Load (0.2ms) SELECT "users".* FROM "users" 
37998
+  (0.1ms) begin transaction
37999
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
38000
+  (0.1ms) commit transaction
38001
+  (0.1ms) begin transaction
38002
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
38003
+  (0.1ms) commit transaction
38004
+  (0.1ms) begin transaction
38005
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
38006
+  (0.1ms) commit transaction
38007
+  (0.1ms) begin transaction
38008
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:51 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
38009
+  (0.1ms) commit transaction
38010
+  (0.1ms) begin transaction
38011
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:51 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
38012
+  (0.1ms) commit transaction
38013
+  (0.1ms) begin transaction
38014
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:51 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
38015
+  (0.1ms) commit transaction
38016
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
38017
+  (0.1ms) begin transaction
38018
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
38019
+  (0.1ms) commit transaction
38020
+  (0.1ms) begin transaction
38021
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]
38022
+  (0.1ms) commit transaction
38023
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1
38024
+ Connecting to database specified by database.yml
38025
+  (3.5ms) select sqlite_version(*)
38026
+  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
38027
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
38028
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
38029
+  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) 
38030
+  (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
38031
+  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) 
38032
+ User Load (2.2ms) SELECT "users".* FROM "users"
38033
+  (0.1ms) begin transaction
38034
+ SQL (6.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:36 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
38035
+  (0.1ms) commit transaction
38036
+  (0.1ms) begin transaction
38037
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:36 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
38038
+  (0.1ms) commit transaction
38039
+  (0.0ms) begin transaction
38040
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:36 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
38041
+  (0.1ms) commit transaction
38042
+ User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
38043
+ User Load (0.2ms) SELECT "users".* FROM "users" 
38044
+  (0.1ms) begin transaction
38045
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
38046
+  (0.1ms) commit transaction
38047
+  (0.1ms) begin transaction
38048
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
38049
+  (0.1ms) commit transaction
38050
+  (0.1ms) begin transaction
38051
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
38052
+  (0.1ms) commit transaction
38053
+  (0.1ms) begin transaction
38054
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:36 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
38055
+  (0.1ms) commit transaction
38056
+  (0.1ms) begin transaction
38057
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:36 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
38058
+  (0.1ms) commit transaction
38059
+  (0.1ms) begin transaction
38060
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:36 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
38061
+  (0.0ms) commit transaction
38062
+ User Load (0.2ms) SELECT "users".* FROM "users"
38063
+ User Load (0.2ms) SELECT "users".* FROM "users" 
38064
+  (0.1ms) begin transaction
38065
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
38066
+  (0.1ms) commit transaction
38067
+  (0.1ms) begin transaction
38068
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
38069
+  (0.1ms) commit transaction
38070
+  (0.1ms) begin transaction
38071
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
38072
+  (0.1ms) commit transaction
38073
+  (0.1ms) begin transaction
38074
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:36 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
38075
+  (0.1ms) commit transaction
38076
+  (0.1ms) begin transaction
38077
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:36 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
38078
+  (0.1ms) commit transaction
38079
+  (0.1ms) begin transaction
38080
+ SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:36 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
38081
+  (0.0ms) commit transaction
38082
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
38083
+ User Load (0.2ms) SELECT "users".* FROM "users" 
38084
+  (0.0ms) begin transaction
38085
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
38086
+  (0.0ms) commit transaction
38087
+  (0.1ms) begin transaction
38088
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
38089
+  (0.1ms) commit transaction
38090
+  (0.1ms) begin transaction
38091
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
38092
+  (0.1ms) commit transaction
38093
+  (0.1ms) begin transaction
38094
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:36 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
38095
+  (0.1ms) commit transaction
38096
+  (0.1ms) begin transaction
38097
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:36 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
38098
+  (0.1ms) commit transaction
38099
+  (0.1ms) begin transaction
38100
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:36 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
38101
+  (0.1ms) commit transaction
38102
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
38103
+  (0.1ms) begin transaction
38104
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
38105
+  (0.1ms) commit transaction
38106
+  (0.1ms) begin transaction
38107
+ SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 13]]
38108
+  (0.1ms) commit transaction
38109
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1
38110
+ User Load (0.2ms) SELECT "users".* FROM "users"
38111
+  (0.1ms) begin transaction
38112
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
38113
+  (0.1ms) commit transaction
38114
+  (0.1ms) begin transaction
38115
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
38116
+  (0.1ms) commit transaction
38117
+  (0.1ms) begin transaction
38118
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
38119
+  (0.1ms) commit transaction
38120
+  (0.1ms) begin transaction
38121
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
38122
+  (0.1ms) commit transaction
38123
+  (0.1ms) begin transaction
38124
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:37 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]
38125
+  (0.1ms) commit transaction
38126
+  (0.1ms) begin transaction
38127
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:37 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]
38128
+  (0.1ms) commit transaction
38129
+  (0.1ms) begin transaction
38130
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:37 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]
38131
+  (0.1ms) commit transaction
38132
+ User Load (0.1ms) SELECT "users".* FROM "users"
38133
+ User Load (0.3ms) SELECT "users".* FROM "users" 
38134
+  (0.1ms) begin transaction
38135
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
38136
+  (0.1ms) commit transaction
38137
+  (0.1ms) begin transaction
38138
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
38139
+  (0.1ms) commit transaction
38140
+  (0.1ms) begin transaction
38141
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
38142
+  (0.1ms) commit transaction
38143
+  (0.1ms) begin transaction
38144
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:37 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]
38145
+  (0.1ms) commit transaction
38146
+  (0.1ms) begin transaction
38147
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:37 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]
38148
+  (0.1ms) commit transaction
38149
+  (0.1ms) begin transaction
38150
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:37 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]
38151
+  (0.1ms) commit transaction
38152
+  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"
38153
+  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" 
38154
+ User Load (0.2ms) SELECT "users".* FROM "users"
38155
+ User Load (0.2ms) SELECT "users".* FROM "users" 
38156
+  (0.0ms) begin transaction
38157
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
38158
+  (0.1ms) commit transaction
38159
+  (0.1ms) begin transaction
38160
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
38161
+  (0.1ms) commit transaction
38162
+  (0.1ms) begin transaction
38163
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
38164
+  (0.1ms) commit transaction
38165
+  (0.1ms) begin transaction
38166
+ SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00]]
38167
+  (0.1ms) commit transaction
38168
+  (0.1ms) begin transaction
38169
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00]]
38170
+  (0.1ms) commit transaction
38171
+  (0.1ms) begin transaction
38172
+ SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00]]
38173
+  (0.1ms) commit transaction
38174
+ User Load (0.2ms) SELECT "users".* FROM "users"