query_report 1.0.15 → 1.0.16
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/query_report/_record_footer.html.erb +1 -1
- data/app/views/query_report/_records.html.erb +1 -1
- data/app/views/query_report/list.html.erb +1 -1
- data/lib/query_report/chart/chart_base.rb +0 -1
- data/lib/query_report/column.rb +1 -1
- data/lib/query_report/report_pdf.rb +25 -6
- data/lib/query_report/version.rb +1 -1
- data/test/dummy/log/development.log +1102 -0
- metadata +2 -2
@@ -2,7 +2,7 @@
|
|
2
2
|
<tfoot>
|
3
3
|
<tr>
|
4
4
|
<% report.column_total_with_colspan.each do |total_with_colspan| %>
|
5
|
-
<td colspan="<%= total_with_colspan[:colspan] %>"
|
5
|
+
<td colspan="<%= total_with_colspan[:colspan] %>" class="queryreport-td-align-right"><%= total_with_colspan[:content] %></td>
|
6
6
|
<% end %>
|
7
7
|
</tr>
|
8
8
|
</tfoot>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
<% report.columns.each do |column| %>
|
14
14
|
<% value = record[column.humanize]
|
15
15
|
align = column.align
|
16
|
-
align_attr = align ? "align
|
16
|
+
align_attr = align ? "class=queryreport-td-align-#{align.to_s}" : ''
|
17
17
|
%>
|
18
18
|
<% if value.kind_of?(Hash) %>
|
19
19
|
<td rowspan="<%= value[:rowspan] %>" <%= align_attr %> ><%= value[:content] %></td>
|
@@ -1 +1 @@
|
|
1
|
-
<%= render :partial => "query_report/
|
1
|
+
<%= render :partial => "query_report/list", locals: {report: @report} %>
|
@@ -38,7 +38,6 @@ module QueryReport
|
|
38
38
|
options = {:title => title, backgroundColor: 'transparent'}.merge(@options)
|
39
39
|
chart_type = "#{type}_chart".classify
|
40
40
|
chart_type = "GoogleVisualr::Interactive::#{chart_type}".constantize
|
41
|
-
ap @data_table.as_json
|
42
41
|
chart_type.new(@data_table, options)
|
43
42
|
end
|
44
43
|
|
data/lib/query_report/column.rb
CHANGED
@@ -30,7 +30,7 @@ module QueryReport
|
|
30
30
|
title = total_text_printed ? '' : I18n.t('query_report.total')
|
31
31
|
total_with_colspan << (colspan == 1 ? {content: title} : {content: title, colspan: colspan})
|
32
32
|
end
|
33
|
-
total_with_colspan << {content: column.total}
|
33
|
+
total_with_colspan << {content: column.total, align: column.align}
|
34
34
|
total_text_printed = true
|
35
35
|
colspan = 0
|
36
36
|
else
|
@@ -54,30 +54,44 @@ module QueryReport
|
|
54
54
|
end
|
55
55
|
|
56
56
|
def alignment_hash
|
57
|
-
|
58
|
-
|
59
|
-
|
57
|
+
@alignment_hash ||= report.columns.inject({}) do |col_hash, col|
|
58
|
+
col_hash[col.humanize] = col.align if col.align; col_hash
|
59
|
+
end
|
60
60
|
end
|
61
61
|
|
62
62
|
def table_content_for(report)
|
63
63
|
table_items = report.all_records_with_rowspan
|
64
|
+
|
64
65
|
items = table_items.map do |item|
|
65
66
|
item_values = []
|
66
67
|
|
67
68
|
report_columns.collect(&:humanize).each do |column|
|
68
|
-
item_values <<
|
69
|
+
item_values << prepare_content(column, item) if item.has_key? column
|
69
70
|
end
|
70
71
|
item_values
|
71
72
|
end
|
72
73
|
|
73
74
|
if report.has_total?
|
74
75
|
items = items << report.column_total_with_colspan.collect do |total|
|
75
|
-
total[:
|
76
|
+
total[:content] = fix_content(total[:content]) if total.kind_of?(Hash)
|
77
|
+
total
|
76
78
|
end
|
77
79
|
end
|
78
80
|
items
|
79
81
|
end
|
80
82
|
|
83
|
+
def prepare_content(column, item)
|
84
|
+
content = fix_content(item[column])
|
85
|
+
if alignment_hash[column]
|
86
|
+
if content.kind_of? Hash
|
87
|
+
content[:align] = alignment_hash[column]
|
88
|
+
else
|
89
|
+
content = {content: fix_content(content), align: alignment_hash[column]}
|
90
|
+
end
|
91
|
+
end
|
92
|
+
content
|
93
|
+
end
|
94
|
+
|
81
95
|
def render_table_with(report)
|
82
96
|
items = [humanized_table_header]
|
83
97
|
items += table_content_for(report)
|
@@ -96,7 +110,12 @@ module QueryReport
|
|
96
110
|
end
|
97
111
|
|
98
112
|
def fix_content(content)
|
99
|
-
content.kind_of?(Hash)
|
113
|
+
if content.kind_of?(Hash)
|
114
|
+
content[:content] = content[:content].to_s
|
115
|
+
content
|
116
|
+
else
|
117
|
+
content.to_s
|
118
|
+
end
|
100
119
|
end
|
101
120
|
|
102
121
|
private
|
data/lib/query_report/version.rb
CHANGED
@@ -46520,3 +46520,1105 @@ Connecting to database specified by database.yml
|
|
46520
46520
|
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 22]]
|
46521
46521
|
[1m[35m (0.0ms)[0m commit transaction
|
46522
46522
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1[0m
|
46523
|
+
Connecting to database specified by database.yml
|
46524
|
+
|
46525
|
+
|
46526
|
+
Started GET "/" for 127.0.0.1 at 2013-11-03 14:56:56 +0600
|
46527
|
+
Processing by InvoicesController#index as HTML
|
46528
|
+
[1m[36m (0.6ms)[0m [1mSELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-06-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-12-03 00:00:00.000000' AND "invoices"."paid" = 'f'))[0m
|
46529
|
+
[1m[35m (0.4ms)[0m SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-06-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-12-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
|
46530
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-06-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-12-03 00:00:00.000000' AND "invoices"."paid" = 'f'))[0m
|
46531
|
+
[1m[35mCACHE (0.0ms)[0m SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-06-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-12-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
|
46532
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-06-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-12-03 00:00:00.000000' AND "invoices"."paid" = 'f'))[0m
|
46533
|
+
[1m[35mCACHE (0.0ms)[0m SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-06-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-12-03 00:00:00.000000' AND "invoices"."paid" = 'f'))
|
46534
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (88.4ms)
|
46535
|
+
Completed 500 Internal Server Error in 355ms
|
46536
|
+
|
46537
|
+
ActionView::Template::Error (Missing partial query_report/_list with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder]}. Searched in:
|
46538
|
+
* "/home/jitu/projects/query_report/test/dummy/app/views"
|
46539
|
+
* "/home/jitu/projects/query_report/app/views"
|
46540
|
+
* "/usr/local/rvm/gems/ruby-1.9.3-p429/gems/kaminari-0.14.1/app/views"
|
46541
|
+
):
|
46542
|
+
1: <%= render :partial => "query_report/_list", locals: {report: @report} %>
|
46543
|
+
app/controllers/invoices_controller.rb:10:in `index'
|
46544
|
+
|
46545
|
+
|
46546
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms)
|
46547
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms)
|
46548
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.6ms)
|
46549
|
+
Connecting to database specified by database.yml
|
46550
|
+
[1m[36m (3.5ms)[0m [1mselect sqlite_version(*)[0m
|
46551
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
46552
|
+
[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
|
46553
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
46554
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
46555
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
46556
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
46557
|
+
Connecting to database specified by database.yml
|
46558
|
+
[1m[36m (3.4ms)[0m [1mselect sqlite_version(*)[0m
|
46559
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
46560
|
+
[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
|
46561
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
46562
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
46563
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
46564
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
46565
|
+
[1m[35mUser Load (2.3ms)[0m SELECT "users".* FROM "users"
|
46566
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46567
|
+
[1m[35mSQL (6.8ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:07:36 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:07:36 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:07:36 UTC +00:00]]
|
46568
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46569
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46570
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:07:36 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:07:36 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:07:36 UTC +00:00]]
|
46571
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46572
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46573
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:07:36 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:07:36 UTC +00:00]]
|
46574
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46575
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
46576
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46577
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
46578
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46579
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46580
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
46581
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46582
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46583
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
46584
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46585
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46586
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 10], ["created_at", Sun, 03 Nov 2013 09:07:36 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:07:36 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:07:36 UTC +00:00]]
|
46587
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46588
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46589
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 03 Nov 2013 09:07:36 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:07:36 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:07:36 UTC +00:00]]
|
46590
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46591
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46592
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 34], ["created_at", Sun, 03 Nov 2013 09:07:36 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:07:36 UTC +00:00]]
|
46593
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46594
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
46595
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
|
46596
|
+
Connecting to database specified by database.yml
|
46597
|
+
[1m[36m (1.8ms)[0m [1mselect sqlite_version(*)[0m
|
46598
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
46599
|
+
[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
|
46600
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
46601
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
46602
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
46603
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
46604
|
+
[1m[35mUser Load (1.4ms)[0m SELECT "users".* FROM "users"
|
46605
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46606
|
+
[1m[35mSQL (26.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:08:51 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:08:51 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:08:51 UTC +00:00]]
|
46607
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46608
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46609
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:08:51 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:08:51 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:08:51 UTC +00:00]]
|
46610
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46611
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46612
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:08:51 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:08:51 UTC +00:00]]
|
46613
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46614
|
+
Connecting to database specified by database.yml
|
46615
|
+
[1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
|
46616
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
46617
|
+
[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
|
46618
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
46619
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
46620
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
46621
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
46622
|
+
[1m[35mUser Load (2.2ms)[0m SELECT "users".* FROM "users"
|
46623
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46624
|
+
[1m[35mSQL (6.6ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:09:28 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:09:27 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:09:28 UTC +00:00]]
|
46625
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46626
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46627
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:09:28 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:09:28 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:09:28 UTC +00:00]]
|
46628
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46629
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46630
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:09:28 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:09:28 UTC +00:00]]
|
46631
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46632
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
|
46633
|
+
Connecting to database specified by database.yml
|
46634
|
+
[1m[36m (35.9ms)[0m [1mselect sqlite_version(*)[0m
|
46635
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
46636
|
+
[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
|
46637
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
46638
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
46639
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
46640
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
46641
|
+
[1m[35mUser Load (2.3ms)[0m SELECT "users".* FROM "users"
|
46642
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46643
|
+
[1m[35mSQL (6.8ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:10:24 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:10:24 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:10:24 UTC +00:00]]
|
46644
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46645
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46646
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:10:24 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:10:24 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:10:24 UTC +00:00]]
|
46647
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46648
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46649
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:10:24 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:10:24 UTC +00:00]]
|
46650
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46651
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
|
46652
|
+
Connecting to database specified by database.yml
|
46653
|
+
[1m[36m (3.4ms)[0m [1mselect sqlite_version(*)[0m
|
46654
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
46655
|
+
[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
|
46656
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
46657
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
46658
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
46659
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
46660
|
+
[1m[35mUser Load (2.2ms)[0m SELECT "users".* FROM "users"
|
46661
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46662
|
+
[1m[35mSQL (6.9ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:11:04 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:11:04 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:11:04 UTC +00:00]]
|
46663
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46664
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46665
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:11:04 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:11:04 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:11:04 UTC +00:00]]
|
46666
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46667
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46668
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:11:04 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:11:04 UTC +00:00]]
|
46669
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46670
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
46671
|
+
Connecting to database specified by database.yml
|
46672
|
+
[1m[36m (22.0ms)[0m [1mselect sqlite_version(*)[0m
|
46673
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
46674
|
+
[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
|
46675
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
46676
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
46677
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
46678
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
46679
|
+
[1m[35mUser Load (1.2ms)[0m SELECT "users".* FROM "users"
|
46680
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46681
|
+
[1m[35mSQL (6.5ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:11:40 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:11:40 UTC +00:00]]
|
46682
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46683
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46684
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:11:40 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:11:40 UTC +00:00]]
|
46685
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46686
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46687
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:11:40 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:11:40 UTC +00:00]]
|
46688
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46689
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
46690
|
+
Connecting to database specified by database.yml
|
46691
|
+
[1m[36m (35.2ms)[0m [1mselect sqlite_version(*)[0m
|
46692
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
46693
|
+
[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
|
46694
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
46695
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
46696
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
46697
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
46698
|
+
[1m[35mUser Load (2.4ms)[0m SELECT "users".* FROM "users"
|
46699
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46700
|
+
[1m[35mSQL (6.5ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:14:49 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46701
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46702
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46703
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:14:49 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46704
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46705
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46706
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46707
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46708
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
46709
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
46710
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46711
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
46712
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46713
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46714
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
46715
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46716
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46717
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
46718
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46719
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46720
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:14:49 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46721
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46722
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46723
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:14:49 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46724
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46725
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46726
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46727
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46728
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
46729
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
46730
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46731
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
46732
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46733
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46734
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
46735
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46736
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46737
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
46738
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46739
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46740
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:14:49 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46741
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46742
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46743
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:14:49 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46744
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46745
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46746
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46747
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46748
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE (("users"."dob" >= '1992-11-03 09:14:49.000000' AND "users"."dob" <= '2013-12-03 09:14:49.000000')) LIMIT 25 OFFSET 0
|
46749
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
46750
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46751
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
46752
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46753
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46754
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
46755
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46756
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46757
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
46758
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46759
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46760
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:14:49 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46761
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46762
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46763
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:14:49 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46764
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46765
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46766
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46767
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46768
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
46769
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46770
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46771
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46772
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46773
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 13]]
|
46774
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46775
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1[0m
|
46776
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
|
46777
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46778
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
|
46779
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46780
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46781
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
46782
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46783
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46784
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
46785
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46786
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46787
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
46788
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46789
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46790
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:14:49 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46791
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46792
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46793
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:14:49 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46794
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46795
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46796
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46797
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46798
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
46799
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
46800
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46801
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
46802
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46803
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46804
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
46805
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46806
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46807
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
46808
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46809
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46810
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:14:49 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46811
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46812
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46813
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:14:49 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46814
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46815
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46816
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00], ["dob", Sat, 03 Nov 1979 09:14:49 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:14:49 UTC +00:00]]
|
46817
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46818
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
46819
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
46820
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46821
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
46822
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46823
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46824
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
46825
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46826
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46827
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
46828
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46829
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46830
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:14:50 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:14:50 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:14:50 UTC +00:00]]
|
46831
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46832
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46833
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:14:50 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:14:50 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:14:50 UTC +00:00]]
|
46834
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46835
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46836
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:14:50 UTC +00:00], ["dob", Sat, 03 Nov 1979 09:14:50 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:14:50 UTC +00:00]]
|
46837
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46838
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
46839
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
46840
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46841
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 20]]
|
46842
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46843
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46844
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 21]]
|
46845
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46846
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46847
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 22]]
|
46848
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46849
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46850
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:14:50 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:14:50 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:14:50 UTC +00:00]]
|
46851
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46852
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46853
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:14:50 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:14:50 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:14:50 UTC +00:00]]
|
46854
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46855
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46856
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:14:50 UTC +00:00], ["dob", Sat, 03 Nov 1979 09:14:50 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:14:50 UTC +00:00]]
|
46857
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46858
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
46859
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
46860
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
46861
|
+
Connecting to database specified by database.yml
|
46862
|
+
[1m[36m (3.6ms)[0m [1mselect sqlite_version(*)[0m
|
46863
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
46864
|
+
[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
|
46865
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
46866
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
46867
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
46868
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
46869
|
+
[1m[35mUser Load (2.2ms)[0m SELECT "users".* FROM "users"
|
46870
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46871
|
+
[1m[35mSQL (6.7ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:22:49 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:22:49 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:22:49 UTC +00:00]]
|
46872
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46873
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46874
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:22:49 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:22:49 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:22:49 UTC +00:00]]
|
46875
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46876
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46877
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:22:49 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:22:49 UTC +00:00]]
|
46878
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46879
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
46880
|
+
Connecting to database specified by database.yml
|
46881
|
+
[1m[36m (35.4ms)[0m [1mselect sqlite_version(*)[0m
|
46882
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
46883
|
+
[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
|
46884
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
46885
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
46886
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
46887
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
46888
|
+
[1m[35mUser Load (2.2ms)[0m SELECT "users".* FROM "users"
|
46889
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46890
|
+
[1m[35mSQL (6.5ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:25:12 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:25:12 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:25:12 UTC +00:00]]
|
46891
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46892
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46893
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:25:12 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:25:12 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:25:12 UTC +00:00]]
|
46894
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46895
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46896
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:25:12 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:25:12 UTC +00:00]]
|
46897
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46898
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
|
46899
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" LIMIT 25 OFFSET 0[0m
|
46900
|
+
Connecting to database specified by database.yml
|
46901
|
+
[1m[36m (35.9ms)[0m [1mselect sqlite_version(*)[0m
|
46902
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
46903
|
+
[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
|
46904
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
46905
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
46906
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
46907
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
46908
|
+
[1m[35mUser Load (2.4ms)[0m SELECT "users".* FROM "users"
|
46909
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46910
|
+
[1m[35mSQL (7.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:30:51 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:30:51 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:30:51 UTC +00:00]]
|
46911
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46912
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46913
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:30:51 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:30:51 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:30:51 UTC +00:00]]
|
46914
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46915
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46916
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:30:51 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:30:51 UTC +00:00]]
|
46917
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46918
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
46919
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" LIMIT 25 OFFSET 0[0m
|
46920
|
+
Connecting to database specified by database.yml
|
46921
|
+
[1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
|
46922
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
46923
|
+
[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
|
46924
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
46925
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
46926
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
46927
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
46928
|
+
[1m[35mUser Load (2.2ms)[0m SELECT "users".* FROM "users"
|
46929
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46930
|
+
[1m[35mSQL (39.6ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 09:36:10 UTC +00:00], ["dob", Mon, 03 Nov 2003 09:36:10 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 09:36:10 UTC +00:00]]
|
46931
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46932
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46933
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 09:36:10 UTC +00:00], ["dob", Wed, 03 Nov 1993 09:36:10 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 09:36:10 UTC +00:00]]
|
46934
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46935
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46936
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 09:36:10 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 09:36:10 UTC +00:00]]
|
46937
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46938
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
46939
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" LIMIT 25 OFFSET 0[0m
|
46940
|
+
Connecting to database specified by database.yml
|
46941
|
+
[1m[36m (3.2ms)[0m [1mselect sqlite_version(*)[0m
|
46942
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
46943
|
+
[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
|
46944
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
46945
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
46946
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
46947
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
46948
|
+
[1m[35mUser Load (2.5ms)[0m SELECT "users".* FROM "users"
|
46949
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46950
|
+
[1m[35mSQL (6.5ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", Mon, 03 Nov 2003 10:17:05 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
46951
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46952
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46953
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", Wed, 03 Nov 1993 10:17:05 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
46954
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46955
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46956
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
46957
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46958
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
46959
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
46960
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46961
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
46962
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46963
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46964
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
46965
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46966
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46967
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
46968
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46969
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46970
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", Mon, 03 Nov 2003 10:17:05 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
46971
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46972
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46973
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", Wed, 03 Nov 1993 10:17:05 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
46974
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46975
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46976
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
46977
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46978
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
46979
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
46980
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46981
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
46982
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46983
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46984
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
46985
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46986
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46987
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
46988
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46989
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46990
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", Mon, 03 Nov 2003 10:17:05 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
46991
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
46992
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46993
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", Wed, 03 Nov 1993 10:17:05 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
46994
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46995
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46996
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
46997
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46998
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE (("users"."dob" >= '1992-11-03 10:17:05.000000' AND "users"."dob" <= '2013-12-03 10:17:05.000000')) LIMIT 25 OFFSET 0
|
46999
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47000
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47001
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
47002
|
+
[1m[35m (0.1ms)[0m commit transaction
|
47003
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47004
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
47005
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47006
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47007
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
47008
|
+
[1m[35m (0.1ms)[0m commit transaction
|
47009
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47010
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", Mon, 03 Nov 2003 10:17:05 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
47011
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47012
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47013
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", Wed, 03 Nov 1993 10:17:05 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
47014
|
+
[1m[35m (0.1ms)[0m commit transaction
|
47015
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47016
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
47017
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47018
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
47019
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47020
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47021
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
47022
|
+
[1m[35m (0.1ms)[0m commit transaction
|
47023
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47024
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
|
47025
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47026
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47027
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
|
47028
|
+
[1m[35m (0.1ms)[0m commit transaction
|
47029
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47030
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", Mon, 03 Nov 2003 10:17:05 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
47031
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47032
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47033
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", Wed, 03 Nov 1993 10:17:05 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
47034
|
+
[1m[35m (0.1ms)[0m commit transaction
|
47035
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47036
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", Sat, 03 Nov 1979 10:17:05 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
47037
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47038
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
47039
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47040
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47041
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
47042
|
+
[1m[35m (0.1ms)[0m commit transaction
|
47043
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47044
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
|
47045
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47046
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47047
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
|
47048
|
+
[1m[35m (0.1ms)[0m commit transaction
|
47049
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47050
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", Mon, 03 Nov 2003 10:17:05 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
47051
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47052
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47053
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", Wed, 03 Nov 1993 10:17:05 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
47054
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47055
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47056
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00], ["dob", Sat, 03 Nov 1979 10:17:05 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 10:17:05 UTC +00:00]]
|
47057
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47058
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
47059
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
47060
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
47061
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47062
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47063
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
47064
|
+
[1m[35m (0.1ms)[0m commit transaction
|
47065
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47066
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
|
47067
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47068
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47069
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
|
47070
|
+
[1m[35m (0.1ms)[0m commit transaction
|
47071
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47072
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 10:17:08 UTC +00:00], ["dob", Mon, 03 Nov 2003 10:17:08 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 10:17:08 UTC +00:00]]
|
47073
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47074
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47075
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 10:17:08 UTC +00:00], ["dob", Wed, 03 Nov 1993 10:17:08 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 10:17:08 UTC +00:00]]
|
47076
|
+
[1m[35m (0.1ms)[0m commit transaction
|
47077
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47078
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 10:17:08 UTC +00:00], ["dob", Sat, 03 Nov 1979 10:17:08 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 10:17:08 UTC +00:00]]
|
47079
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47080
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
47081
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47082
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 03 Nov 2013 10:17:09 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 03 Nov 2013 10:17:09 UTC +00:00]]
|
47083
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47084
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47085
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 22]]
|
47086
|
+
[1m[35m (0.1ms)[0m commit transaction
|
47087
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1[0m
|
47088
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
|
47089
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47090
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
|
47091
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47092
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47093
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 20]]
|
47094
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47095
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47096
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 21]]
|
47097
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47098
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47099
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 22]]
|
47100
|
+
[1m[35m (0.1ms)[0m commit transaction
|
47101
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47102
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 03 Nov 2013 10:17:09 UTC +00:00], ["dob", Mon, 03 Nov 2003 10:17:09 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 03 Nov 2013 10:17:09 UTC +00:00]]
|
47103
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47104
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47105
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 03 Nov 2013 10:17:09 UTC +00:00], ["dob", Wed, 03 Nov 1993 10:17:09 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 03 Nov 2013 10:17:09 UTC +00:00]]
|
47106
|
+
[1m[35m (0.1ms)[0m commit transaction
|
47107
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47108
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 03 Nov 2013 10:17:09 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 03 Nov 2013 10:17:09 UTC +00:00]]
|
47109
|
+
[1m[36m (0.2ms)[0m [1mcommit transaction[0m
|
47110
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
47111
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" LIMIT 25 OFFSET 0[0m
|
47112
|
+
Connecting to database specified by database.yml
|
47113
|
+
[1m[36m (1.5ms)[0m [1mselect sqlite_version(*)[0m
|
47114
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
47115
|
+
[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
|
47116
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
47117
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
47118
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
47119
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
47120
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47121
|
+
[1m[36mSQL (4.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 30], ["created_at", Sun, 10 Nov 2013 12:52:46 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 10 Nov 2013 12:52:46 UTC +00:00]]
|
47122
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47123
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47124
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
47125
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47126
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
47127
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47128
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47129
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
47130
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47131
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47132
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 10 Nov 2013 12:52:46 UTC +00:00], ["dob", Mon, 10 Nov 2003 12:52:46 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 10 Nov 2013 12:52:46 UTC +00:00]]
|
47133
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47134
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47135
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 10 Nov 2013 12:52:46 UTC +00:00], ["dob", Wed, 10 Nov 1993 12:52:46 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 10 Nov 2013 12:52:46 UTC +00:00]]
|
47136
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47137
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47138
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 10 Nov 2013 12:52:46 UTC +00:00], ["dob", Sat, 10 Nov 1979 12:52:46 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 10 Nov 2013 12:52:46 UTC +00:00]]
|
47139
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47140
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47141
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47142
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47143
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
47144
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47145
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47146
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
47147
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47148
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47149
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
47150
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47151
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47152
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 10 Nov 2013 12:52:46 UTC +00:00], ["dob", Mon, 10 Nov 2003 12:52:46 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 10 Nov 2013 12:52:46 UTC +00:00]]
|
47153
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47154
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47155
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 10 Nov 2013 12:52:46 UTC +00:00], ["dob", Wed, 10 Nov 1993 12:52:46 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 10 Nov 2013 12:52:46 UTC +00:00]]
|
47156
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47157
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47158
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 10 Nov 2013 12:52:46 UTC +00:00], ["dob", Sat, 10 Nov 1979 12:52:46 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 10 Nov 2013 12:52:46 UTC +00:00]]
|
47159
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47160
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
47161
|
+
[1m[36m (0.0ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
47162
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47163
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47164
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47165
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
47166
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47167
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47168
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
47169
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47170
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47171
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
47172
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47173
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47174
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", Mon, 10 Nov 2003 12:52:47 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47175
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47176
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47177
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", Wed, 10 Nov 1993 12:52:47 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47178
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47179
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47180
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", Sat, 10 Nov 1979 12:52:47 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47181
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47182
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47183
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47184
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47185
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
47186
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47187
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47188
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
47189
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47190
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47191
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
47192
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47193
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47194
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", Mon, 10 Nov 2003 12:52:47 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47195
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47196
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47197
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", Wed, 10 Nov 1993 12:52:47 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47198
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47199
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47200
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47201
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47202
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
47203
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47204
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47205
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
47206
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47207
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47208
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
47209
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47210
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47211
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
47212
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47213
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47214
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", Mon, 10 Nov 2003 12:52:47 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47215
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47216
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47217
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", Wed, 10 Nov 1993 12:52:47 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47218
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47219
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47220
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47221
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47222
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47223
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47224
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47225
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
47226
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47227
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47228
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
47229
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47230
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47231
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
47232
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47233
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47234
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", Mon, 10 Nov 2003 12:52:47 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47235
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47236
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47237
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", Wed, 10 Nov 1993 12:52:47 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47238
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47239
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47240
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47241
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47242
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE (("users"."dob" >= '1992-11-10 12:52:47.000000' AND "users"."dob" <= '2013-12-10 12:52:47.000000')) LIMIT 25 OFFSET 0
|
47243
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47244
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47245
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
47246
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47247
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47248
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
47249
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47250
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47251
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
47252
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47253
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47254
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", Mon, 10 Nov 2003 12:52:47 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47255
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47256
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47257
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", Wed, 10 Nov 1993 12:52:47 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47258
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47259
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47260
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47261
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47262
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
47263
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47264
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47265
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 20]]
|
47266
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47267
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47268
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 21]]
|
47269
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47270
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47271
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 22]]
|
47272
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47273
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47274
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", Mon, 10 Nov 2003 12:52:47 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47275
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47276
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47277
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", Wed, 10 Nov 1993 12:52:47 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47278
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47279
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47280
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Sun, 10 Nov 2013 12:52:47 UTC +00:00]]
|
47281
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47282
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47283
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" LIMIT 25 OFFSET 0[0m
|
47284
|
+
Connecting to database specified by database.yml
|
47285
|
+
[1m[36m (22.7ms)[0m [1mselect sqlite_version(*)[0m
|
47286
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
47287
|
+
[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
|
47288
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
47289
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
47290
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
47291
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
47292
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47293
|
+
[1m[36mSQL (24.5ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 30], ["created_at", Mon, 11 Nov 2013 04:25:06 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Mon, 11 Nov 2013 04:25:06 UTC +00:00]]
|
47294
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47295
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47296
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
47297
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47298
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
47299
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47300
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47301
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
47302
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47303
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47304
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Mon, 11 Nov 2013 04:25:06 UTC +00:00], ["dob", Tue, 11 Nov 2003 04:25:06 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 11 Nov 2013 04:25:06 UTC +00:00]]
|
47305
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47306
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47307
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Mon, 11 Nov 2013 04:25:06 UTC +00:00], ["dob", Thu, 11 Nov 1993 04:25:06 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 11 Nov 2013 04:25:06 UTC +00:00]]
|
47308
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47309
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47310
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Mon, 11 Nov 2013 04:25:06 UTC +00:00], ["dob", Sun, 11 Nov 1979 04:25:06 UTC +00:00], ["name", "User#3"], ["updated_at", Mon, 11 Nov 2013 04:25:06 UTC +00:00]]
|
47311
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47312
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
47313
|
+
[1m[36m (0.0ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
47314
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47315
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47316
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47317
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
47318
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47319
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47320
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
47321
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47322
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47323
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
47324
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47325
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47326
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", Tue, 11 Nov 2003 04:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47327
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47328
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47329
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", Thu, 11 Nov 1993 04:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47330
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47331
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47332
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", Sun, 11 Nov 1979 04:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47333
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47334
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47335
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47336
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47337
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
47338
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47339
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47340
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
47341
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47342
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47343
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
47344
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47345
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47346
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", Tue, 11 Nov 2003 04:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47347
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47348
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47349
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", Thu, 11 Nov 1993 04:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47350
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47351
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47352
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", Sun, 11 Nov 1979 04:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47353
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47354
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47355
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47356
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47357
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
47358
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47359
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47360
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
47361
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47362
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47363
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
47364
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47365
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47366
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", Tue, 11 Nov 2003 04:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47367
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47368
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47369
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", Thu, 11 Nov 1993 04:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47370
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47371
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47372
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47373
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47374
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47375
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" LIMIT 25 OFFSET 0[0m
|
47376
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47377
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47378
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
|
47379
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47380
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47381
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
|
47382
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47383
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47384
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
|
47385
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47386
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47387
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 10], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", Tue, 11 Nov 2003 04:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47388
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47389
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47390
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", Thu, 11 Nov 1993 04:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47391
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47392
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47393
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 34], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47394
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47395
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" LIMIT 25 OFFSET 0[0m
|
47396
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47397
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47398
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
|
47399
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47400
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47401
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
|
47402
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47403
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47404
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
|
47405
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47406
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47407
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 10], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", Tue, 11 Nov 2003 04:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47408
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47409
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47410
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", Thu, 11 Nov 1993 04:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47411
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47412
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47413
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 34], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47414
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47415
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47416
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47417
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47418
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
|
47419
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47420
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47421
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
|
47422
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47423
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47424
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
|
47425
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47426
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47427
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 10], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", Tue, 11 Nov 2003 04:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47428
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47429
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47430
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", Thu, 11 Nov 1993 04:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47431
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47432
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47433
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 34], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47434
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47435
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE (("users"."dob" >= '1992-11-11 04:25:08.000000' AND "users"."dob" <= '2013-12-11 04:25:08.000000')) LIMIT 25 OFFSET 0[0m
|
47436
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47437
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47438
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 20]]
|
47439
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47440
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47441
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 21]]
|
47442
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47443
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47444
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 22]]
|
47445
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47446
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47447
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 10], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", Tue, 11 Nov 2003 04:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47448
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47449
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47450
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", Thu, 11 Nov 1993 04:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47451
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47452
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47453
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 34], ["created_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Mon, 11 Nov 2013 04:25:08 UTC +00:00]]
|
47454
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47455
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0[0m
|
47456
|
+
Connecting to database specified by database.yml
|
47457
|
+
[1m[36m (1.3ms)[0m [1mselect sqlite_version(*)[0m
|
47458
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
47459
|
+
[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
|
47460
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
47461
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
47462
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
47463
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
47464
|
+
[1m[35mUser Load (1.0ms)[0m SELECT "users".* FROM "users"
|
47465
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47466
|
+
[1m[35mSQL (2.9ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", Tue, 11 Nov 2003 04:28:22 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47467
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47468
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47469
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", Thu, 11 Nov 1993 04:28:22 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47470
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47471
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47472
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47473
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47474
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
47475
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47476
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47477
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
47478
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47479
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47480
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
47481
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47482
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47483
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
47484
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47485
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47486
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", Tue, 11 Nov 2003 04:28:22 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47487
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47488
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47489
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", Thu, 11 Nov 1993 04:28:22 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47490
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47491
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47492
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47493
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47494
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47495
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47496
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47497
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
47498
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47499
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47500
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
47501
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47502
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47503
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
47504
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47505
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47506
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", Tue, 11 Nov 2003 04:28:22 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47507
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47508
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47509
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", Thu, 11 Nov 1993 04:28:22 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47510
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47511
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47512
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47513
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47514
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE (("users"."dob" >= '1992-11-11 04:28:22.000000' AND "users"."dob" <= '2013-12-11 04:28:22.000000')) LIMIT 25 OFFSET 0
|
47515
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47516
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47517
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
47518
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47519
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47520
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
47521
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47522
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47523
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
47524
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47525
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47526
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", Tue, 11 Nov 2003 04:28:22 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47527
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47528
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47529
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", Thu, 11 Nov 1993 04:28:22 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47530
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47531
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47532
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47533
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47534
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
47535
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47536
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47537
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
47538
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47539
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47540
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
|
47541
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47542
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47543
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
|
47544
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47545
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47546
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", Tue, 11 Nov 2003 04:28:22 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47547
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47548
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47549
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", Thu, 11 Nov 1993 04:28:22 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47550
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47551
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47552
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47553
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47554
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47555
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" LIMIT 25 OFFSET 0[0m
|
47556
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47557
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47558
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
|
47559
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47560
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47561
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
47562
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47563
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47564
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
47565
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47566
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47567
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 10], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", Tue, 11 Nov 2003 04:28:22 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47568
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47569
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47570
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", Thu, 11 Nov 1993 04:28:22 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47571
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47572
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47573
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 34], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", Sun, 11 Nov 1979 04:28:22 UTC +00:00], ["name", "User#3"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47574
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47575
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47576
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47577
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47578
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
|
47579
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47580
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47581
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
47582
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47583
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47584
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
47585
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47586
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47587
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 10], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", Tue, 11 Nov 2003 04:28:22 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47588
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47589
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47590
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", Thu, 11 Nov 1993 04:28:22 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47591
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47592
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47593
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 34], ["created_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00], ["dob", Sun, 11 Nov 1979 04:28:22 UTC +00:00], ["name", "User#3"], ["updated_at", Mon, 11 Nov 2013 04:28:22 UTC +00:00]]
|
47594
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47595
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
47596
|
+
[1m[35m (0.0ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
47597
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47598
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
47599
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47600
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
|
47601
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47602
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47603
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 20]]
|
47604
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47605
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47606
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 21]]
|
47607
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47608
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47609
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 10], ["created_at", Mon, 11 Nov 2013 04:28:23 UTC +00:00], ["dob", Tue, 11 Nov 2003 04:28:23 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 11 Nov 2013 04:28:23 UTC +00:00]]
|
47610
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47611
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47612
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Mon, 11 Nov 2013 04:28:23 UTC +00:00], ["dob", Thu, 11 Nov 1993 04:28:23 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 11 Nov 2013 04:28:23 UTC +00:00]]
|
47613
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47614
|
+
[1m[35m (0.0ms)[0m begin transaction
|
47615
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 34], ["created_at", Mon, 11 Nov 2013 04:28:23 UTC +00:00], ["dob", Sun, 11 Nov 1979 04:28:23 UTC +00:00], ["name", "User#3"], ["updated_at", Mon, 11 Nov 2013 04:28:23 UTC +00:00]]
|
47616
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47617
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
47618
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47619
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 30], ["created_at", Mon, 11 Nov 2013 04:28:23 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Mon, 11 Nov 2013 04:28:23 UTC +00:00]]
|
47620
|
+
[1m[35m (0.0ms)[0m commit transaction
|
47621
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47622
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 25]]
|
47623
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
47624
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 25 LIMIT 1
|