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.
- data/README.md +4 -1
- data/app/helpers/query_report_filter_helper.rb +5 -1
- data/lib/query_report.rb +2 -0
- data/lib/query_report/comparator.rb +55 -0
- data/lib/query_report/config.rb +2 -0
- data/lib/query_report/filter.rb +5 -46
- data/lib/query_report/version.rb +1 -1
- data/test/dummy/app/controllers/invoices_controller.rb +1 -3
- data/test/dummy/app/models/invoice.rb +2 -3
- data/test/dummy/config/application.rb +0 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20130630132513_create_invoices.rb +1 -1
- data/test/dummy/db/schema.rb +1 -9
- data/test/dummy/db/seed.rb +1 -6
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +2818 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_1yzh11ff7f20he2ibrf5 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_43t0tuuypgcuns14vrux +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_8ku60sfcb2ox5r3bn86p +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_bvxp7ntgvswdeihn0xkx +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_exy6ebpwi5seo6ohb61r +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_f0jlfr3yzz6f1yfyq446 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_gr2fezt8668tj6sdlgxd +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_gx96ln5mjqb61n0uc37o +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_h42xf1rxqz40qpxkhkfh +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_iyeniuysxyxtupg0v0fb +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_mr5amrsanyhnyiefk7ze +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_qhtoawvlvlp0753c32so +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_ro8d5tfkqqi3pyyahy8t +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_u5cef64yg5b391u4fmj6 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_waldf841hr1ekdv3pxby +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_xgkalffzvqg8jwck2t95 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_zrlk63csu50ffb4ysymm +0 -0
- data/test/dummy/tmp/miniprofiler/mp_views_127.0.0.1 +0 -0
- metadata +46 -63
- data/test/dummy/app/models/user.rb +0 -8
- data/test/dummy/db/migrate/20130622120853_create_users.rb +0 -11
- data/test/dummy/tmp/miniprofiler/mp_timers_1phunlrkl040xbl9ni38 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_2jj5q0umhfjgdsr3be6r +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_4nme0opawv0cuju7ycln +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_4x4zy2jyybfnrfctzoll +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_501n5dolb96ahn8fsdeb +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_50279rze1q2oyskpd2bx +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_5cx1jmk7clhq7gdqu8fj +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_625nhhhlou6kji64k1v8 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_8papkqyltk3r9vdbiwlx +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_as4xud3puw1vxjzm8ma3 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_cuw96wvyfzku6np7dv6u +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_eml2za25qr6vmokw5tda +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_f1cpnb605srbgp7u5n6l +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_kcb88g8t6jcdbzy4sf40 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_oziigmt85gb8ro89h2uo +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_rkitlcrj5rur9vtb25yr +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_s24xgsm7sihnsifjqne0 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_v4vq4inppiedkn1mxsut +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_wb62iw0f860zfkjkt42d +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_yb4i2uuaxhoz5hst26bj +0 -0
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.
|
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(
|
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={})
|
data/lib/query_report.rb
CHANGED
@@ -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
|
data/lib/query_report/config.rb
CHANGED
data/lib/query_report/filter.rb
CHANGED
@@ -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
|
data/lib/query_report/version.rb
CHANGED
@@ -18,9 +18,7 @@ class InvoicesController < ApplicationController
|
|
18
18
|
column :total_paid
|
19
19
|
column :total_charged
|
20
20
|
column :paid
|
21
|
-
column :
|
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
|
-
|
3
|
-
|
4
|
-
end
|
2
|
+
attr_accessible :invoiced_on, :paid, :paid_on, :received_by, :title, :total_charged, :total_paid
|
3
|
+
end
|
Binary file
|
data/test/dummy/db/schema.rb
CHANGED
@@ -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.
|
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
|
data/test/dummy/db/seed.rb
CHANGED
@@ -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
|
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
|
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
35355
35355
|
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
35356
35356
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
|
35357
|
+
Connecting to database specified by database.yml
|
35358
|
+
Connecting to database specified by database.yml
|
35359
|
+
[1m[36m (1.5ms)[0m [1mselect sqlite_version(*)[0m
|
35360
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
35361
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
35362
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
35363
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
35364
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
35365
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
35366
|
+
[1m[35mUser Load (13.6ms)[0m SELECT "users".* FROM "users"
|
35367
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35368
|
+
[1m[35mSQL (31.0ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35369
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
35370
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35371
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35372
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35373
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35374
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35375
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35376
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
35377
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35378
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35379
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
35380
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35381
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35382
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
35383
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35384
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35385
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
35386
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35387
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35388
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35389
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35390
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35391
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35392
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35393
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35394
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35395
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35396
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35397
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35398
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35399
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
35400
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35401
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35402
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
35403
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35404
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35405
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
35406
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35407
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35408
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35409
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35410
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35411
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35412
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35413
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35414
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35415
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35416
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
|
35417
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35418
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35419
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
35420
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35421
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35422
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
35423
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35424
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35425
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
35426
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35427
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35428
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35429
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35430
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35431
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35432
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35433
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35434
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35435
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35436
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
35437
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35438
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35439
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35440
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35441
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 13]]
|
35442
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35443
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1[0m
|
35444
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35445
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35446
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
|
35447
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35448
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35449
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
35450
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35451
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35452
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
35453
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35454
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35455
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
35456
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35457
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35458
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35459
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35460
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35461
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35462
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35463
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35464
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35465
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35466
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35467
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35468
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35469
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
35470
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35471
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35472
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
35473
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35474
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35475
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
35476
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35477
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35478
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35479
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35480
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35481
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35482
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35483
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35484
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]
|
35485
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35486
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35487
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35488
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35489
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
35490
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35491
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35492
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
35493
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35494
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35495
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
35496
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35497
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35498
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:24 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00]]
|
35499
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35500
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35501
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:24 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00]]
|
35502
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35503
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35504
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:24 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00]]
|
35505
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35506
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
35507
|
+
[1m[36m (0.0ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
35508
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-06 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0[0m
|
35518
|
+
[1m[35mUser Load (1.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
35519
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
35520
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
35521
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
35522
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
35523
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
35524
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
35525
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
35526
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
35527
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
35528
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
35529
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
35530
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
35531
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
35532
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
35533
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
35534
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
35535
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
35536
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
35537
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
35538
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
35539
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
35540
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
35541
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
35542
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-06 00:00:00.000000' AND "invoices"."paid" = 'f'))[0m
|
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
|
+
[1m[36m (1.5ms)[0m [1mselect sqlite_version(*)[0m
|
35585
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
35586
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
35587
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
35588
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
35589
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
35590
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
35591
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35592
|
+
[1m[36mSQL (23.8ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 30], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
|
35593
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35594
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35595
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
35596
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35597
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
35598
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35599
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35600
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
35601
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35602
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35603
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
|
35604
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35605
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35606
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
|
35607
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35608
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35609
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
|
35610
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35611
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
35612
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35613
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35614
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
35615
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35616
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35617
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
35618
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35619
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35620
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
35621
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35622
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35623
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
|
35624
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35625
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35626
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
|
35627
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35628
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35629
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
|
35630
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35631
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35632
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35633
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35634
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
35635
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35636
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35637
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
35638
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35639
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35640
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
35641
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35642
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35643
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
|
35644
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35645
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35646
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
|
35647
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35648
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35649
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
|
35650
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35651
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35652
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35653
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
35654
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35655
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35656
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
35657
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35658
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35659
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
|
35660
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35661
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35662
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
|
35663
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35664
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35665
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
|
35666
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35667
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35668
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
|
35669
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35670
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0[0m
|
35671
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35672
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35673
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
|
35674
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35675
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35676
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
|
35677
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35678
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35679
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
|
35680
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35681
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35682
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
|
35683
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35684
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35685
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
|
35686
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35687
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35688
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]
|
35689
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35690
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
35691
|
+
[1m[35m (0.0ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
35692
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35693
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35694
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35695
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
|
35696
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35697
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35698
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
|
35699
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35700
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35701
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
|
35702
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35703
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35704
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:09 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]
|
35705
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35706
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35707
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:09 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]
|
35708
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35709
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35710
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:09 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]
|
35711
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35712
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35713
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35714
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35715
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
|
35716
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35717
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35718
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
|
35719
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35720
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35721
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
|
35722
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35723
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35724
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:09 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]
|
35725
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35726
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35727
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:09 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]
|
35728
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35729
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35730
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:09 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]
|
35731
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35732
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35733
|
+
Connecting to database specified by database.yml
|
35734
|
+
[1m[36m (1.4ms)[0m [1mselect sqlite_version(*)[0m
|
35735
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
35736
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
35737
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
35738
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
35739
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
35740
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
35741
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35742
|
+
[1m[36mSQL (4.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 30], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]
|
35743
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35744
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35745
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
35746
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35747
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
35748
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35749
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35750
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
35751
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35752
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35753
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:10 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]
|
35754
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35755
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35756
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:10 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]
|
35757
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35758
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35759
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:10 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]
|
35760
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35761
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35762
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35763
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35764
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
35765
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35766
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35767
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
35768
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35769
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35770
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
35771
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35772
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35773
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:10 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]
|
35774
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35775
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35776
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:10 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]
|
35777
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35778
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35779
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:10 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]
|
35780
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35781
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
35782
|
+
[1m[36m (0.0ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
35783
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35784
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35785
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35786
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
35787
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35788
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35789
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
35790
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35791
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35792
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
35793
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35794
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35795
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
|
35796
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35797
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35798
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
|
35799
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35800
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35801
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
|
35802
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35803
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35804
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35805
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35806
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
35807
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35808
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35809
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
35810
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35811
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35812
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
35813
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35814
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35815
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
|
35816
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35817
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35818
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
|
35819
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35820
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35821
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
|
35822
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35823
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
35824
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35825
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35826
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
35827
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35828
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35829
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
35830
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35831
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35832
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
35833
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35834
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35835
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
|
35836
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35837
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35838
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
|
35839
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35840
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35841
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
|
35842
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35843
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
35844
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35845
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35846
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
35847
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35848
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35849
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
35850
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35851
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35852
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
35853
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35854
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35855
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
|
35856
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35857
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35858
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
|
35859
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35860
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35861
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
|
35862
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35863
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
|
35864
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35865
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35866
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
35867
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35868
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35869
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
35870
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35871
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35872
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
35873
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35874
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35875
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
|
35876
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35877
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35878
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
|
35879
|
+
[1m[35m (0.0ms)[0m commit transaction
|
35880
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35881
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]
|
35882
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35883
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" = '2013-04-06 08:30:59.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0[0m
|
35893
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (7.2ms)
|
35894
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" = '2013-04-06 08:31:27.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0[0m
|
35941
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (1.7ms)
|
35942
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (1.6ms)[0m [1mselect sqlite_version(*)[0m
|
35983
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
35984
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
35985
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
35986
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
35987
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
35988
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
35989
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35990
|
+
[1m[36mSQL (27.0ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 30], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]
|
35991
|
+
[1m[35m (0.1ms)[0m commit transaction
|
35992
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35993
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
35994
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
35995
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
35996
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
35997
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35998
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
35999
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36000
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36001
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:38 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]
|
36002
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36003
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36004
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:38 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]
|
36005
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36006
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36007
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:38 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]
|
36008
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36009
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
36010
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36011
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36012
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
36013
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36014
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36015
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
36016
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36017
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36018
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
36019
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36020
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36021
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:38 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]
|
36022
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36023
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36024
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:38 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]
|
36025
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36026
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36027
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:38 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]
|
36028
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36029
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
36030
|
+
[1m[36m (0.0ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
36031
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
36032
|
+
Connecting to database specified by database.yml
|
36033
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36034
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36035
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
36036
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36037
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36038
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
36039
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36040
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36041
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
36042
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36043
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36044
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
|
36045
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36046
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36047
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
|
36048
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36049
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36050
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
|
36051
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36052
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
36053
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36054
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36055
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
36056
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36057
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36058
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
36059
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36060
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36061
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
36062
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36063
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36064
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
|
36065
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36066
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36067
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
|
36068
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36069
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36070
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
|
36071
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36072
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
36073
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36074
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36075
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
36076
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36077
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36078
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
36079
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36080
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36081
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
36082
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36083
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36084
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
|
36085
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36086
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36087
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
|
36088
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36089
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36090
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
|
36091
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36092
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
36093
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36094
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36095
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
36096
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36097
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36098
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
36099
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36100
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36101
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
36102
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36103
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36104
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
|
36105
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36106
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36107
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
|
36108
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36109
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36110
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
|
36111
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36112
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
|
36113
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36114
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36115
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
36116
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36117
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36118
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
36119
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36120
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36121
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
36122
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36123
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36124
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
|
36125
|
+
[1m[36m (0.2ms)[0m [1mcommit transaction[0m
|
36126
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36127
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
|
36128
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36129
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36130
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]
|
36131
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36132
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:31:43.000000' AND "invoices"."created_at" <= '2013-10-06 08:31:43.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0[0m
|
36141
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36142
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36143
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36144
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36145
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36146
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36147
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36148
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36149
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36150
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
36151
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36152
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
36153
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36154
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
36155
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36156
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
36157
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
36158
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
36159
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
36160
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
36161
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
36162
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36163
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36164
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
36165
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:31:43.000000' AND "invoices"."created_at" <= '2013-10-06 08:31:43.000000' AND "invoices"."paid" = 'f'))[0m
|
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
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:32:00.000000' AND "invoices"."created_at" <= '2013-10-06 08:32:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0[0m
|
36215
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36216
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36217
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36218
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36219
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36220
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36221
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36222
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36223
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36224
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
36225
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36226
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
36227
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36228
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
36229
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36230
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
36231
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
36232
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
36233
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
36234
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
36235
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
36236
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36237
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36238
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
36239
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:32:00.000000' AND "invoices"."created_at" <= '2013-10-06 08:32:00.000000' AND "invoices"."paid" = 'f'))[0m
|
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
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:33:00.000000' AND "invoices"."created_at" <= '2013-10-06 08:33:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0[0m
|
36289
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36290
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36291
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36292
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36293
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36294
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36295
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36296
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36297
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36298
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
36299
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36300
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
36301
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36302
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
36303
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36304
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
36305
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
36306
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
36307
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
36308
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
36309
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
36310
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36311
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36312
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
36313
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:33:00.000000' AND "invoices"."created_at" <= '2013-10-06 08:33:00.000000' AND "invoices"."paid" = 'f'))[0m
|
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
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-06 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0[0m
|
36363
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36364
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36365
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36366
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36367
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36368
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36369
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36370
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36371
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36372
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
36373
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36374
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
36375
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36376
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
36377
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36378
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
36379
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
36380
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
36381
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
36382
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
36383
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
36384
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
36385
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
36386
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
36387
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-06 00:00:00.000000' AND "invoices"."paid" = 'f'))[0m
|
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
|
+
[1m[36m (1.3ms)[0m [1mselect sqlite_version(*)[0m
|
36430
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
36431
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
36432
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
36433
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
36434
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
36435
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
36436
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36437
|
+
[1m[36mSQL (23.8ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 30], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
|
36438
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36439
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36440
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
36441
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36442
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36443
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36444
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36445
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
36446
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36447
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36448
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
|
36449
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36450
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36451
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
|
36452
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36453
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36454
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
|
36455
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36456
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
36457
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36458
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36459
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
36460
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36461
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36462
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
36463
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36464
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36465
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
36466
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36467
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36468
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
|
36469
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36470
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36471
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
|
36472
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36473
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36474
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
|
36475
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36476
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
36477
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36478
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36479
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
36480
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36481
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36482
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
36483
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36484
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36485
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
36486
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36487
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36488
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
|
36489
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36490
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36491
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
|
36492
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36493
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36494
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
|
36495
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36496
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
|
36497
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36498
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36499
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
36500
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36501
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36502
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
36503
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36504
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36505
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
36506
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36507
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36508
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
|
36509
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36510
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36511
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
|
36512
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36513
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36514
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
|
36515
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36516
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
36517
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36518
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36519
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
36520
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36521
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36522
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
36523
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36524
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36525
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
36526
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36527
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36528
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
|
36529
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36530
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36531
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
|
36532
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36533
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36534
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]
|
36535
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36536
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
36537
|
+
[1m[36m (0.0ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
36538
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
36539
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36540
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36541
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
36542
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36543
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36544
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
36545
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36546
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36547
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
36548
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36549
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36550
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:18 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]
|
36551
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36552
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36553
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:18 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]
|
36554
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36555
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36556
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:18 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]
|
36557
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36558
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
36559
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36560
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36561
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
36562
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36563
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36564
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
36565
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36566
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36567
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
36568
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36569
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36570
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:18 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]
|
36571
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36572
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36573
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:18 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]
|
36574
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36575
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36576
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:18 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]
|
36577
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36578
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
36579
|
+
Connecting to database specified by database.yml
|
36580
|
+
[1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
|
36581
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
36582
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
36583
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
36584
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
36585
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
36586
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
36587
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36588
|
+
[1m[36mSQL (43.8ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 30], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36589
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36590
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36591
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
36592
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36593
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36594
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36595
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36596
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
36597
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36598
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36599
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36600
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36601
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36602
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36603
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36604
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36605
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36606
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36607
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
36608
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36609
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36610
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
36611
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36612
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36613
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
36614
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36615
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36616
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
36617
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36618
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36619
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36620
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36621
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36622
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36623
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36624
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36625
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36626
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36627
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
36628
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36629
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36630
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
36631
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36632
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36633
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
36634
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36635
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36636
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
36637
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36638
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36639
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36640
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36641
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36642
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36643
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36644
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36645
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36646
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36647
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
|
36648
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36649
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36650
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
36651
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36652
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36653
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
36654
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36655
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36656
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
36657
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36658
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36659
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36660
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36661
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36662
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36663
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36664
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36665
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36666
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36667
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
36668
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36669
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36670
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
36671
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36672
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36673
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
36674
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36675
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36676
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
36677
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36678
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36679
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36680
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36681
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36682
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36683
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36684
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36685
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36686
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36687
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
36688
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36689
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36690
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
36691
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36692
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36693
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
36694
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36695
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36696
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
36697
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36698
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36699
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36700
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36701
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36702
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36703
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36704
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36705
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]
|
36706
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36707
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
36708
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
36709
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
36710
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36711
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36712
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
36713
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36714
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36715
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
36716
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36717
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36718
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
36719
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36720
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36721
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:43 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00]]
|
36722
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36723
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36724
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:43 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00]]
|
36725
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36726
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36727
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:43 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00]]
|
36728
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36729
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
36730
|
+
Connecting to database specified by database.yml
|
36731
|
+
[1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
|
36732
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
36733
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
36734
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
36735
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
36736
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
36737
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
36738
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36739
|
+
[1m[36mSQL (44.7ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 30], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36740
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36741
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36742
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
36743
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36744
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36745
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36746
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36747
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
36748
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36749
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36750
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36751
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36752
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36753
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36754
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36755
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36756
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36757
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36758
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
36759
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36760
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36761
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
36762
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36763
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36764
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
36765
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36766
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36767
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
36768
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36769
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36770
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36771
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36772
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36773
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36774
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36775
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36776
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36777
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36778
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
36779
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36780
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36781
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
36782
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36783
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36784
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
36785
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36786
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36787
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
36788
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36789
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36790
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36791
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36792
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36793
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36794
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36795
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36796
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36797
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36798
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
|
36799
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36800
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36801
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
36802
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36803
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36804
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
36805
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36806
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36807
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
36808
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36809
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36810
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36811
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36812
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36813
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36814
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36815
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36816
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36817
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36818
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
36819
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36820
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36821
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
36822
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36823
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36824
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
36825
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36826
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36827
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
36828
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36829
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36830
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36831
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36832
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36833
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36834
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36835
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36836
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36837
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36838
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
36839
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36840
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36841
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
36842
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36843
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36844
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
36845
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36846
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36847
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
36848
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36849
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36850
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36851
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36852
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36853
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36854
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36855
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36856
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]
|
36857
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36858
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
36859
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
36860
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
36861
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36862
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36863
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
36864
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36865
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36866
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
36867
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36868
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36869
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
36870
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36871
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36872
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:20 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00]]
|
36873
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36874
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36875
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:20 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00]]
|
36876
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36877
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36878
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:20 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00]]
|
36879
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36880
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
36881
|
+
Connecting to database specified by database.yml
|
36882
|
+
[1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
|
36883
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
36884
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
36885
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
36886
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
36887
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
36888
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
36889
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36890
|
+
[1m[36mSQL (43.5ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 30], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]
|
36891
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36892
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36893
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
36894
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36895
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
36896
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36897
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36898
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
36899
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36900
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36901
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:37 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]
|
36902
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36903
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36904
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:37 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]
|
36905
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36906
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36907
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:37 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]
|
36908
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36909
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
36910
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36911
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36912
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
36913
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36914
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36915
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
36916
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36917
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36918
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
36919
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36920
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36921
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:37 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]
|
36922
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36923
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36924
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:37 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]
|
36925
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36926
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36927
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:37 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]
|
36928
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36929
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
36930
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
36931
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
36932
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36933
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36934
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
36935
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36936
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36937
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
36938
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36939
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36940
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
36941
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36942
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36943
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
|
36944
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36945
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36946
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
|
36947
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36948
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36949
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
|
36950
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36951
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
36952
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36953
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36954
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
36955
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36956
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36957
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
36958
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36959
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36960
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
36961
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36962
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36963
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
|
36964
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36965
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36966
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
|
36967
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36968
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36969
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
|
36970
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36971
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
36972
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36973
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36974
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
36975
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36976
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36977
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
36978
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36979
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36980
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
36981
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36982
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36983
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
|
36984
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36985
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36986
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
|
36987
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36988
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36989
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
|
36990
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36991
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
36992
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
36993
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36994
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
36995
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36996
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36997
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
36998
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36999
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37000
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
37001
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37002
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37003
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
|
37004
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37005
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37006
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
|
37007
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37008
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37009
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
|
37010
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37011
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
|
37012
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37013
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37014
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
37015
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37016
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37017
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
37018
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37019
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37020
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
37021
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37022
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37023
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
|
37024
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37025
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37026
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
|
37027
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37028
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37029
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]
|
37030
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37031
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
37032
|
+
Connecting to database specified by database.yml
|
37033
|
+
[1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
|
37034
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
37035
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
37036
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
37037
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
37038
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
37039
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
37040
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37041
|
+
[1m[36mSQL (43.6ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 30], ["created_at", Fri, 06 Sep 2013 13:36:15 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 13:36:15 UTC +00:00]]
|
37042
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37043
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37044
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
37045
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37046
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
37047
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37048
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37049
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
37050
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37051
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37052
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:16 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]
|
37053
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37054
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37055
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:16 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]
|
37056
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37057
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37058
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:16 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]
|
37059
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37060
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37061
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37062
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37063
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
37064
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37065
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37066
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
37067
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37068
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37069
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
37070
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37071
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37072
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:16 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]
|
37073
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37074
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37075
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:16 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]
|
37076
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37077
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37078
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:16 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]
|
37079
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37080
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
37081
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
37082
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37083
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37084
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37085
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
37086
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37087
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37088
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
37089
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37090
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37091
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
37092
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37093
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37094
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
|
37095
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37096
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37097
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
|
37098
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37099
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37100
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
|
37101
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37102
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37103
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37104
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37105
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
37106
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37107
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37108
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
37109
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37110
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37111
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
37112
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37113
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37114
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
|
37115
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37116
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37117
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
|
37118
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37119
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37120
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
|
37121
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37122
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
37123
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37124
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37125
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
37126
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37127
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37128
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
37129
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37130
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37131
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
37132
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37133
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37134
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
|
37135
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37136
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37137
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
|
37138
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37139
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37140
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
|
37141
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37142
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
|
37143
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37144
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37145
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
37146
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37147
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37148
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
37149
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37150
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37151
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
37152
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37153
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37154
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
|
37155
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37156
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37157
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
|
37158
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37159
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37160
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
|
37161
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37162
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37163
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37164
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37165
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
37166
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37167
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37168
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
37169
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37170
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37171
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
37172
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37173
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37174
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
|
37175
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37176
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37177
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
|
37178
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37179
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37180
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]
|
37181
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37182
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
37183
|
+
Connecting to database specified by database.yml
|
37184
|
+
[1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
|
37185
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
37186
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
37187
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
37188
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
37189
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
37190
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
37191
|
+
[1m[35mUser Load (2.7ms)[0m SELECT "users".* FROM "users"
|
37192
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37193
|
+
[1m[35mSQL (42.6ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
|
37194
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37195
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37196
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
|
37197
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37198
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37199
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
|
37200
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37201
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
37202
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37203
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37204
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
37205
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37206
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37207
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
37208
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37209
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37210
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
37211
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37212
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37213
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
|
37214
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37215
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37216
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
|
37217
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37218
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37219
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
|
37220
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37221
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37222
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37223
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37224
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
37225
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37226
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37227
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
37228
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37229
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37230
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
37231
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37232
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37233
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
|
37234
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37235
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37236
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
|
37237
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37238
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37239
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
|
37240
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37241
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
|
37242
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37243
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37244
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
37245
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37246
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37247
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
37248
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37249
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37250
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
37251
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37252
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37253
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
|
37254
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37255
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37256
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
|
37257
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37258
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37259
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
|
37260
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37261
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
37262
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37263
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37264
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
37265
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37266
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37267
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
|
37268
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37269
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37270
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
|
37271
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37272
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37273
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
|
37274
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37275
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37276
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
|
37277
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37278
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37279
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]
|
37280
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37281
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
37282
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
37283
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
37284
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37285
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37286
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
37287
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37288
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37289
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
|
37290
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37291
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37292
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
|
37293
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37294
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37295
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:48 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]
|
37296
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37297
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37298
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:48 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]
|
37299
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37300
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37301
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:48 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]
|
37302
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37303
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37304
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37305
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37306
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
37307
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37308
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37309
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
|
37310
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37311
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37312
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
|
37313
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37314
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37315
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:48 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]
|
37316
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37317
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37318
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:48 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]
|
37319
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37320
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37321
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:48 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]
|
37322
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37323
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37324
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37325
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]
|
37326
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37327
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37328
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 22]]
|
37329
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37330
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1[0m
|
37331
|
+
Connecting to database specified by database.yml
|
37332
|
+
[1m[36m (3.7ms)[0m [1mselect sqlite_version(*)[0m
|
37333
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
37334
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
37335
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
37336
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
37337
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
37338
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
37339
|
+
[1m[35mUser Load (2.4ms)[0m SELECT "users".* FROM "users"
|
37340
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37341
|
+
[1m[35mSQL (40.7ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:48 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]
|
37342
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37343
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37344
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:48 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]
|
37345
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37346
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37347
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:48 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]
|
37348
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37349
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37350
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37351
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37352
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
37353
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37354
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37355
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
37356
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37357
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37358
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
37359
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37360
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37361
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:48 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]
|
37362
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37363
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37364
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:48 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]
|
37365
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37366
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37367
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:48 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]
|
37368
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37369
|
+
[1m[35m (0.3ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
37370
|
+
[1m[36m (0.2ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
37371
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
|
37372
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37373
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37374
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
37375
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37376
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37377
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
37378
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37379
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37380
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
37381
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37382
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37383
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
|
37384
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37385
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37386
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
|
37387
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37388
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37389
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
|
37390
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37391
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37392
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37393
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37394
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
37395
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37396
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37397
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
37398
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37399
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37400
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
37401
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37402
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37403
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
|
37404
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37405
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37406
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
|
37407
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37408
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37409
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
|
37410
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37411
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
37412
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37413
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37414
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
37415
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37416
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37417
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
|
37418
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37419
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37420
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
|
37421
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37422
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37423
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
|
37424
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37425
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37426
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
|
37427
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37428
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37429
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
|
37430
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37431
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37432
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37433
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37434
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
37435
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37436
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37437
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
|
37438
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37439
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37440
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
|
37441
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37442
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37443
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
|
37444
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37445
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37446
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
|
37447
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37448
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37449
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
|
37450
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37451
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
|
37452
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37453
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37454
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
37455
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37456
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37457
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
|
37458
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37459
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37460
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
|
37461
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37462
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37463
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
|
37464
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37465
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37466
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
|
37467
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37468
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37469
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
|
37470
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37471
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
37472
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37473
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]
|
37474
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37475
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37476
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 22]]
|
37477
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37478
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1[0m
|
37479
|
+
Connecting to database specified by database.yml
|
37480
|
+
[1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
|
37481
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
37482
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
37483
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
37484
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
37485
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
37486
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
37487
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37488
|
+
[1m[36mSQL (43.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 30], ["created_at", Fri, 06 Sep 2013 14:28:09 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 14:28:09 UTC +00:00]]
|
37489
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37490
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37491
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
37492
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37493
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
37494
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37495
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37496
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
37497
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37498
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37499
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:10 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]
|
37500
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37501
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37502
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:10 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]
|
37503
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37504
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37505
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:10 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]
|
37506
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37507
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37508
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37509
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37510
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
37511
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37512
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37513
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
37514
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37515
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37516
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
37517
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37518
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37519
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:10 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]
|
37520
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37521
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37522
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:10 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]
|
37523
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37524
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37525
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:10 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]
|
37526
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37527
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
37528
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
37529
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37530
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37531
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37532
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
37533
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37534
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37535
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
37536
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37537
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37538
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
37539
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37540
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37541
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
|
37542
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37543
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37544
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
|
37545
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37546
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37547
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
|
37548
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37549
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37550
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37551
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37552
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
37553
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37554
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37555
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
37556
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37557
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37558
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
37559
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37560
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37561
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
|
37562
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37563
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37564
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
|
37565
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37566
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37567
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
|
37568
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37569
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
37570
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37571
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37572
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
37573
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37574
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37575
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
37576
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37577
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37578
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
37579
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37580
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37581
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
|
37582
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37583
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37584
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
|
37585
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37586
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37587
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
|
37588
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37589
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37590
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37591
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37592
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
37593
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37594
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37595
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
37596
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37597
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37598
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
37599
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37601
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
|
37602
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37603
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37604
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
|
37605
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37606
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37607
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
|
37608
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37609
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
|
37610
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37611
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37612
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
37613
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37614
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37615
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
37616
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37617
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37618
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
37619
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37620
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37621
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
|
37622
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37623
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37624
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
|
37625
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37626
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37627
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]
|
37628
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37629
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
37630
|
+
Connecting to database specified by database.yml
|
37631
|
+
[1m[36m (3.5ms)[0m [1mselect sqlite_version(*)[0m
|
37632
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
37633
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "dummy_dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
37634
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
37635
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer) [0m
|
37636
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)
|
37637
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "dummy_user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "dummy_user_id" integer) [0m
|
37638
|
+
Connecting to database specified by database.yml
|
37639
|
+
[1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
|
37640
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
37641
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "dummy_dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
37642
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
37643
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer) [0m
|
37644
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)
|
37645
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "dummy_user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "dummy_user_id" integer) [0m
|
37646
|
+
Connecting to database specified by database.yml
|
37647
|
+
[1m[36m (3.5ms)[0m [1mselect sqlite_version(*)[0m
|
37648
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
37649
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
37650
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
37651
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer) [0m
|
37652
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)
|
37653
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "dummy_user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "dummy_user_id" integer) [0m
|
37654
|
+
[1m[35mDummyUser Load (2.8ms)[0m SELECT "dummy_users".* FROM "dummy_users"
|
37655
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37656
|
+
[1m[35mSQL (41.5ms)[0m INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:54:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
|
37657
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37658
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37659
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:54:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
|
37660
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37661
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37662
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:54:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
|
37663
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37664
|
+
[1m[35mDummyUser Load (0.3ms)[0m SELECT "dummy_users".* FROM "dummy_users" LIMIT 25 OFFSET 0
|
37665
|
+
[1m[36mDummyUser Load (0.2ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" [0m
|
37666
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37667
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "dummy_users" WHERE "dummy_users"."id" = ?[0m [["id", 1]]
|
37668
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37669
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37670
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 2]]
|
37671
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37672
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37673
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "dummy_users" WHERE "dummy_users"."id" = ?[0m [["id", 3]]
|
37674
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37675
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37676
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:54:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
|
37677
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37678
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37679
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:54:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
|
37680
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37681
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37682
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:54:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
|
37683
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37684
|
+
[1m[35mDummyUser Load (0.2ms)[0m SELECT "dummy_users".* FROM "dummy_users"
|
37685
|
+
[1m[36mDummyUser Load (0.2ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" [0m
|
37686
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37687
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "dummy_users" WHERE "dummy_users"."id" = ?[0m [["id", 4]]
|
37688
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37689
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37690
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 5]]
|
37691
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37692
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37693
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "dummy_users" WHERE "dummy_users"."id" = ?[0m [["id", 6]]
|
37694
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37695
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37696
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:54:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
|
37697
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37698
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37699
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:54:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
|
37700
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37701
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37702
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:54:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
|
37703
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37704
|
+
[1m[35mDummyUser Load (0.3ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE (("dummy_users"."age" = 10 AND "dummy_users"."created_at" >= '2013-04-06 00:00:00.000000' AND "dummy_users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
|
37705
|
+
[1m[36mDummyUser Load (0.2ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" [0m
|
37706
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37707
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "dummy_users" WHERE "dummy_users"."id" = ?[0m [["id", 7]]
|
37708
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37709
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37710
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 8]]
|
37711
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37712
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37713
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "dummy_users" WHERE "dummy_users"."id" = ?[0m [["id", 9]]
|
37714
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37715
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37716
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:54:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
|
37717
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37718
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37719
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:54:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
|
37720
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37721
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37722
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:54:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]
|
37723
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37724
|
+
[1m[35mDummyUser Load (0.3ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."age" = 34 LIMIT 25 OFFSET 0
|
37725
|
+
Connecting to database specified by database.yml
|
37726
|
+
[1m[36m (1.8ms)[0m [1mselect sqlite_version(*)[0m
|
37727
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
37728
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
37729
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
37730
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
37731
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
37732
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
37733
|
+
[1m[35mUser Load (2.2ms)[0m SELECT "users".* FROM "users"
|
37734
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37735
|
+
[1m[35mSQL (39.7ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:15 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]
|
37736
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37737
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37738
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:15 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]
|
37739
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37740
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37741
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:15 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]
|
37742
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37743
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37744
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37745
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37746
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
37747
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37748
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37749
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
37750
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37751
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37752
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
37753
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37754
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37755
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:15 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]
|
37756
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37757
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37758
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:15 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]
|
37759
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37760
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37761
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:15 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]
|
37762
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37763
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
37764
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
37765
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37766
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37767
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37768
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
37769
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37770
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37771
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
37772
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37773
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37774
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
37775
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37776
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37777
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:18 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00]]
|
37778
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37779
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37780
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:18 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00]]
|
37781
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37782
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37783
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:18 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00]]
|
37784
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37785
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37786
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37787
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
|
37788
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37789
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37790
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 10]]
|
37791
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37792
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1[0m
|
37793
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37794
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37795
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
|
37796
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37797
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37798
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
37799
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37800
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37801
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
37802
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37803
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37804
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
37805
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37806
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37807
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
|
37808
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37809
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37810
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
|
37811
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37812
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37813
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
|
37814
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37815
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
37816
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37817
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37818
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
37819
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37820
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37821
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
37822
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37823
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37824
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
37825
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37826
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37827
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
|
37828
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37829
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37830
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
|
37831
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37832
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37833
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
|
37834
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37835
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37836
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37837
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37838
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
37839
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37840
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37841
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
37842
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37843
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37844
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
37845
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37846
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37847
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
|
37848
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37849
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37850
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
|
37851
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37852
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37853
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
|
37854
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37855
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
|
37856
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37857
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37858
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
37859
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37860
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37861
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
37862
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37863
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37864
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
37865
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37866
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37867
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
|
37868
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37869
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37870
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
|
37871
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37872
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37873
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]
|
37874
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37875
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
37876
|
+
Connecting to database specified by database.yml
|
37877
|
+
[1m[36m (3.4ms)[0m [1mselect sqlite_version(*)[0m
|
37878
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
37879
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
37880
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
37881
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
37882
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
37883
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
37884
|
+
[1m[35mUser Load (2.2ms)[0m SELECT "users".* FROM "users"
|
37885
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37886
|
+
[1m[35mSQL (6.5ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:47 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]
|
37887
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37888
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37889
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:47 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]
|
37890
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37891
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37892
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:47 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]
|
37893
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37894
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
|
37895
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37896
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37897
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
37898
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37899
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37900
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
37901
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37902
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37903
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
37904
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37905
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37906
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:47 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]
|
37907
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37908
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37909
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:47 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]
|
37910
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37911
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37912
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:47 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]
|
37913
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37914
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
37915
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
37916
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37917
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37918
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37919
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
37920
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37921
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37922
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
37923
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37924
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37925
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
37926
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37927
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37928
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:50 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00]]
|
37929
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37930
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37931
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:50 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00]]
|
37932
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37933
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37934
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:50 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00]]
|
37935
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37936
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37937
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37938
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37939
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
37940
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37941
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37942
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
37943
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37944
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37945
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
37946
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37947
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37948
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:51 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
|
37949
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37950
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37951
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:51 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
|
37952
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37953
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37954
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:51 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
|
37955
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37956
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
37957
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37958
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37959
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
37960
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37961
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37962
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
|
37963
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37964
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37965
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
|
37966
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37967
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37968
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:51 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
|
37969
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37970
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37971
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:51 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
|
37972
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37973
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37974
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:51 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
|
37975
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37976
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
37977
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37978
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37979
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
37980
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37981
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37982
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
|
37983
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37984
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37985
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
|
37986
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37987
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37988
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:51 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
|
37989
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37990
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37991
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:51 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
|
37992
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37993
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37994
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:51 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
|
37995
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
37996
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
|
37997
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
37998
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37999
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
38000
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38001
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38002
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
|
38003
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38004
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38005
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
|
38006
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38007
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38008
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:51 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
|
38009
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38010
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38011
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:51 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
|
38012
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38013
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38014
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:51 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
|
38015
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38016
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
38017
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38018
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]
|
38019
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38020
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38021
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 22]]
|
38022
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38023
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1[0m
|
38024
|
+
Connecting to database specified by database.yml
|
38025
|
+
[1m[36m (3.5ms)[0m [1mselect sqlite_version(*)[0m
|
38026
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
38027
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
38028
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
38029
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
38030
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
38031
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
38032
|
+
[1m[35mUser Load (2.2ms)[0m SELECT "users".* FROM "users"
|
38033
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38034
|
+
[1m[35mSQL (6.9ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:36 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
|
38035
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38036
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38037
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:36 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
|
38038
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38039
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38040
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:36 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
|
38041
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38042
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
38043
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
38044
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38045
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
38046
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38047
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38048
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
38049
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38050
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38051
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
38052
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38053
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38054
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:36 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
|
38055
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38056
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38057
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:36 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
|
38058
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38059
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38060
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:36 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
|
38061
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38062
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
38063
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
38064
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38065
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
38066
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38067
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38068
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
38069
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38070
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38071
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
38072
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38073
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38074
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:36 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
|
38075
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38076
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38077
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:36 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
|
38078
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38079
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38080
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:36 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
|
38081
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38082
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0
|
38083
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
38084
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38085
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
38086
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38087
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38088
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
38089
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38090
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38091
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
38092
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38093
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38094
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:36 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
|
38095
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38096
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38097
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:36 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
|
38098
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38099
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38100
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:36 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
|
38101
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38102
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
38103
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38104
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]
|
38105
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38106
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38107
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 13]]
|
38108
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38109
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1[0m
|
38110
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
38111
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38112
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
|
38113
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38114
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38115
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
38116
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38117
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38118
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
38119
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38120
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38121
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
38122
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38123
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38124
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:37 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]
|
38125
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38126
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38127
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:37 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]
|
38128
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38129
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38130
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:37 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]
|
38131
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38132
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
38133
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
38134
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38135
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
38136
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38137
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38138
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
38139
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38140
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38141
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
38142
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38143
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38144
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:37 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]
|
38145
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38146
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38147
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:37 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]
|
38148
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38149
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38150
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:37 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]
|
38151
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38152
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
38153
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
38154
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
38155
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
38156
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38157
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
38158
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38159
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38160
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
38161
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38162
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38163
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
38164
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38165
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38166
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00]]
|
38167
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38168
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38169
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00]]
|
38170
|
+
[1m[35m (0.1ms)[0m commit transaction
|
38171
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38172
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00]]
|
38173
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
38174
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|