query_report 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,10 +7,16 @@
|
|
7
7
|
</thead>
|
8
8
|
|
9
9
|
<tbody>
|
10
|
-
<% report.
|
10
|
+
<% records = report.has_any_rowspan? ? report.records_with_rowspan : report.records %>
|
11
|
+
<% records.each do |record| %>
|
11
12
|
<tr>
|
12
13
|
<% report.columns.each do |column| %>
|
13
|
-
|
14
|
+
<% value = record[column.humanize] %>
|
15
|
+
<% if value.kind_of?(Hash) %>
|
16
|
+
<td rowspan="<%= value[:rowspan] %>"><%= value[:content] %></td>
|
17
|
+
<% elsif record.has_key?(column.humanize) %>
|
18
|
+
<td><%= value %></td>
|
19
|
+
<% end %>
|
14
20
|
<% end %>
|
15
21
|
</tr>
|
16
22
|
<% end %>
|
data/lib/query_report/column.rb
CHANGED
@@ -15,6 +15,7 @@ module QueryReport
|
|
15
15
|
# options[:comp] => the comparators used for ransack search, [:gteq, :lteq]
|
16
16
|
# options[:show_total] => set true to calculate total for that column
|
17
17
|
# options[:only_on_web] => the column will appear on the web and not appear in PDF or csv if set to true
|
18
|
+
# options[:rowspan] => the rows with same values in the same column will span if set to true
|
18
19
|
def column(name, options={}, &block)
|
19
20
|
@columns << Column.new(self, name, options, block)
|
20
21
|
end
|
@@ -47,7 +48,7 @@ module QueryReport
|
|
47
48
|
|
48
49
|
def initialize(report, column_name, options={}, block = nil)
|
49
50
|
@report, @name, @options = report, column_name, options
|
50
|
-
@type = @report.model_class.columns_hash[column_name.to_s].try(:type) || options[:type] || :string
|
51
|
+
@type = @report.model_class.columns_hash[column_name.to_s].try(:type) || options[:type] || :string rescue :string
|
51
52
|
@data = block || column_name.to_sym
|
52
53
|
end
|
53
54
|
|
@@ -59,6 +60,10 @@ module QueryReport
|
|
59
60
|
@options[:sortable] == true
|
60
61
|
end
|
61
62
|
|
63
|
+
def rowspan?
|
64
|
+
@options[:rowspan] == true
|
65
|
+
end
|
66
|
+
|
62
67
|
def humanize
|
63
68
|
@humanize ||= options[:as] || @report.model_class.human_attribute_name(name)
|
64
69
|
end
|
data/lib/query_report/record.rb
CHANGED
@@ -42,5 +42,38 @@ module QueryReport
|
|
42
42
|
Hash[*array.flatten]
|
43
43
|
end
|
44
44
|
end
|
45
|
+
|
46
|
+
def has_any_rowspan?
|
47
|
+
@has_any_rowspan = @columns.any?(&:rowspan?) if @has_any_rowspan.nil?
|
48
|
+
@has_any_rowspan
|
49
|
+
end
|
50
|
+
|
51
|
+
def records_with_rowspan
|
52
|
+
@records_with_rowspan ||= map_rowspan(records)
|
53
|
+
end
|
54
|
+
|
55
|
+
def all_records_with_rowspan
|
56
|
+
@all_records_with_rowspan ||= map_rowspan(all_records)
|
57
|
+
end
|
58
|
+
|
59
|
+
def map_rowspan(rec)
|
60
|
+
last_reset_index = @columns.select(&:rowspan?).inject({}) { |hash, column| hash[column.humanize] = 0; hash }
|
61
|
+
last_column_content = {}
|
62
|
+
rec.each_with_index do |row, index|
|
63
|
+
last_reset_index.each do |col, last_index|
|
64
|
+
content = row[col]
|
65
|
+
last_content = last_column_content[col]
|
66
|
+
if index == 0 || content != last_content
|
67
|
+
last_column_content[col] = content
|
68
|
+
last_reset_index[col] = index
|
69
|
+
#initialize
|
70
|
+
row[col] = {content: content, rowspan: 1}
|
71
|
+
elsif content == last_content
|
72
|
+
rec[last_index][col][:rowspan] += 1
|
73
|
+
row.delete col
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
45
78
|
end
|
46
79
|
end
|
@@ -54,12 +54,12 @@ module QueryReport
|
|
54
54
|
end
|
55
55
|
|
56
56
|
def table_content_for(report)
|
57
|
-
table_items = report.
|
57
|
+
table_items = report.all_records_with_rowspan
|
58
58
|
items = table_items.map do |item|
|
59
59
|
item_values = []
|
60
60
|
|
61
61
|
report_columns.collect(&:humanize).each do |column|
|
62
|
-
item_values << fix_content(item[column].
|
62
|
+
item_values << fix_content(item[column]) if item.has_key? column
|
63
63
|
end
|
64
64
|
item_values
|
65
65
|
end
|
@@ -90,7 +90,7 @@ module QueryReport
|
|
90
90
|
end
|
91
91
|
|
92
92
|
def fix_content(content)
|
93
|
-
content
|
93
|
+
content.kind_of?(Hash) ? content : content.to_s
|
94
94
|
end
|
95
95
|
|
96
96
|
private
|
data/lib/query_report/version.rb
CHANGED
@@ -44479,3 +44479,945 @@ Connecting to database specified by database.yml
|
|
44479
44479
|
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 06 Oct 2013 06:16:02 UTC +00:00], ["dob", Sat, 06 Oct 1979 06:16:02 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 06 Oct 2013 06:16:02 UTC +00:00]]
|
44480
44480
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44481
44481
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
44482
|
+
Connecting to database specified by database.yml
|
44483
|
+
Connecting to database specified by database.yml
|
44484
|
+
Connecting to database specified by database.yml
|
44485
|
+
Connecting to database specified by database.yml
|
44486
|
+
Connecting to database specified by database.yml
|
44487
|
+
Connecting to database specified by database.yml
|
44488
|
+
Connecting to database specified by database.yml
|
44489
|
+
Connecting to database specified by database.yml
|
44490
|
+
Connecting to database specified by database.yml
|
44491
|
+
Connecting to database specified by database.yml
|
44492
|
+
Connecting to database specified by database.yml
|
44493
|
+
Connecting to database specified by database.yml
|
44494
|
+
Connecting to database specified by database.yml
|
44495
|
+
Connecting to database specified by database.yml
|
44496
|
+
Connecting to database specified by database.yml
|
44497
|
+
Connecting to database specified by database.yml
|
44498
|
+
Connecting to database specified by database.yml
|
44499
|
+
Connecting to database specified by database.yml
|
44500
|
+
[1m[36m (5.3ms)[0m [1mselect sqlite_version(*)[0m
|
44501
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
44502
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
44503
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
44504
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
44505
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
44506
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
44507
|
+
[1m[35m (0.2ms)[0m begin transaction
|
44508
|
+
[1m[36mSQL (18.5ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 30], ["created_at", Tue, 08 Oct 2013 13:18:36 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 08 Oct 2013 13:18:36 UTC +00:00]]
|
44509
|
+
[1m[35m (0.2ms)[0m commit transaction
|
44510
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
44511
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
44512
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44513
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
44514
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44515
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44516
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
44517
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44518
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44519
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 08 Oct 2013 13:18:36 UTC +00:00], ["dob", Wed, 08 Oct 2003 13:18:36 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 08 Oct 2013 13:18:36 UTC +00:00]]
|
44520
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44521
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44522
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Tue, 08 Oct 2013 13:18:36 UTC +00:00], ["dob", Fri, 08 Oct 1993 13:18:36 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 08 Oct 2013 13:18:36 UTC +00:00]]
|
44523
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44524
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44525
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 08 Oct 2013 13:18:36 UTC +00:00], ["dob", Mon, 08 Oct 1979 13:18:36 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 08 Oct 2013 13:18:36 UTC +00:00]]
|
44526
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44527
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
44528
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44529
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44530
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
44531
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44532
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44533
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
44534
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44535
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44536
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
44537
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44538
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44539
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 08 Oct 2013 13:18:36 UTC +00:00], ["dob", Wed, 08 Oct 2003 13:18:36 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 08 Oct 2013 13:18:36 UTC +00:00]]
|
44540
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44541
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44542
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Tue, 08 Oct 2013 13:18:36 UTC +00:00], ["dob", Fri, 08 Oct 1993 13:18:36 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 08 Oct 2013 13:18:36 UTC +00:00]]
|
44543
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44544
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44545
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 08 Oct 2013 13:18:36 UTC +00:00], ["dob", Mon, 08 Oct 1979 13:18:36 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 08 Oct 2013 13:18:36 UTC +00:00]]
|
44546
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44547
|
+
[1m[35m (0.3ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
44548
|
+
[1m[36m (0.2ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
44549
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users"
|
44550
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44551
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44552
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
44553
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44554
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44555
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
44556
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44557
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44558
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
44559
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44560
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44561
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 08 Oct 2013 13:18:40 UTC +00:00], ["dob", Wed, 08 Oct 2003 13:18:40 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 08 Oct 2013 13:18:40 UTC +00:00]]
|
44562
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44563
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44564
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Tue, 08 Oct 2013 13:18:40 UTC +00:00], ["dob", Fri, 08 Oct 1993 13:18:40 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 08 Oct 2013 13:18:40 UTC +00:00]]
|
44565
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44566
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44567
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 08 Oct 2013 13:18:40 UTC +00:00], ["dob", Mon, 08 Oct 1979 13:18:40 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 08 Oct 2013 13:18:40 UTC +00:00]]
|
44568
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44569
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
44570
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44571
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44572
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
44573
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44574
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44575
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
44576
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44577
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44578
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
44579
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44580
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44581
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00], ["dob", Wed, 08 Oct 2003 13:18:41 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00]]
|
44582
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44583
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44584
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00], ["dob", Fri, 08 Oct 1993 13:18:41 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00]]
|
44585
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44586
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44587
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00]]
|
44588
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44589
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
44590
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44591
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44592
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
44593
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44594
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44595
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
44596
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44597
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44598
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
44599
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44601
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00], ["dob", Wed, 08 Oct 2003 13:18:41 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00]]
|
44602
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44603
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44604
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00], ["dob", Fri, 08 Oct 1993 13:18:41 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00]]
|
44605
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44606
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44607
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00]]
|
44608
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44609
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
44610
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44611
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44612
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
44613
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44614
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44615
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
44616
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44617
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44618
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
44619
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44620
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44621
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00], ["dob", Wed, 08 Oct 2003 13:18:41 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00]]
|
44622
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44623
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44624
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00], ["dob", Fri, 08 Oct 1993 13:18:41 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00]]
|
44625
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44626
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44627
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00]]
|
44628
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44629
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE (("users"."dob" >= '1992-10-08 13:18:41.000000' AND "users"."dob" <= '2013-11-08 13:18:41.000000')) LIMIT 25 OFFSET 0
|
44630
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44631
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44632
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
44633
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44634
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44635
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
44636
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44637
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44638
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
44639
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44640
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44641
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00], ["dob", Wed, 08 Oct 2003 13:18:41 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00]]
|
44642
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44643
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44644
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00], ["dob", Fri, 08 Oct 1993 13:18:41 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00]]
|
44645
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44646
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44647
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Tue, 08 Oct 2013 13:18:41 UTC +00:00]]
|
44648
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44649
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
44650
|
+
Connecting to database specified by database.yml
|
44651
|
+
Connecting to database specified by database.yml
|
44652
|
+
Connecting to database specified by database.yml
|
44653
|
+
Connecting to database specified by database.yml
|
44654
|
+
Connecting to database specified by database.yml
|
44655
|
+
Connecting to database specified by database.yml
|
44656
|
+
Connecting to database specified by database.yml
|
44657
|
+
Connecting to database specified by database.yml
|
44658
|
+
Connecting to database specified by database.yml
|
44659
|
+
Connecting to database specified by database.yml
|
44660
|
+
Connecting to database specified by database.yml
|
44661
|
+
Connecting to database specified by database.yml
|
44662
|
+
Connecting to database specified by database.yml
|
44663
|
+
Connecting to database specified by database.yml
|
44664
|
+
Connecting to database specified by database.yml
|
44665
|
+
Connecting to database specified by database.yml
|
44666
|
+
Connecting to database specified by database.yml
|
44667
|
+
Connecting to database specified by database.yml
|
44668
|
+
Connecting to database specified by database.yml
|
44669
|
+
Connecting to database specified by database.yml
|
44670
|
+
Connecting to database specified by database.yml
|
44671
|
+
Connecting to database specified by database.yml
|
44672
|
+
Connecting to database specified by database.yml
|
44673
|
+
Connecting to database specified by database.yml
|
44674
|
+
[1m[36m (1.5ms)[0m [1mselect sqlite_version(*)[0m
|
44675
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
44676
|
+
[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
|
44677
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
44678
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
44679
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
44680
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
44681
|
+
[1m[35mUser Load (14.3ms)[0m SELECT "users".* FROM "users"
|
44682
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44683
|
+
[1m[35mSQL (12.9ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 04:47:06 UTC +00:00], ["dob", Thu, 09 Oct 2003 04:47:06 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 04:47:06 UTC +00:00]]
|
44684
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44685
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44686
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 04:47:06 UTC +00:00], ["dob", Sat, 09 Oct 1993 04:47:06 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 04:47:06 UTC +00:00]]
|
44687
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44688
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44689
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 04:47:06 UTC +00:00], ["dob", Tue, 09 Oct 1979 04:47:06 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 04:47:06 UTC +00:00]]
|
44690
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44691
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
44692
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44693
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44694
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
44695
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44696
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44697
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
44698
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44699
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44700
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
44701
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44702
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44703
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 04:47:06 UTC +00:00], ["dob", Thu, 09 Oct 2003 04:47:06 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 04:47:06 UTC +00:00]]
|
44704
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44705
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44706
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 04:47:06 UTC +00:00], ["dob", Sat, 09 Oct 1993 04:47:06 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 04:47:06 UTC +00:00]]
|
44707
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44708
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44709
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 04:47:06 UTC +00:00], ["dob", Tue, 09 Oct 1979 04:47:06 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 04:47:06 UTC +00:00]]
|
44710
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44711
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
44712
|
+
[1m[36m (0.0ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
44713
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
44714
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44715
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44716
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
44717
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44718
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44719
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
44720
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44721
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44722
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
44723
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44724
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44725
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00], ["dob", Thu, 09 Oct 2003 04:47:07 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00]]
|
44726
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44727
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44728
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00], ["dob", Sat, 09 Oct 1993 04:47:07 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00]]
|
44729
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44730
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44731
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00], ["dob", Tue, 09 Oct 1979 04:47:07 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00]]
|
44732
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44733
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
44734
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44735
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44736
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
44737
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44738
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44739
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
44740
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44741
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44742
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
44743
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44744
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44745
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00], ["dob", Thu, 09 Oct 2003 04:47:07 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00]]
|
44746
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44747
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44748
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00], ["dob", Sat, 09 Oct 1993 04:47:07 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00]]
|
44749
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44750
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44751
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00]]
|
44752
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44753
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
44754
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44755
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44756
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
44757
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44758
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44759
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
|
44760
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44761
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44762
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
|
44763
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44764
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44765
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00], ["dob", Thu, 09 Oct 2003 04:47:07 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00]]
|
44766
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44767
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44768
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00], ["dob", Sat, 09 Oct 1993 04:47:07 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00]]
|
44769
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44770
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44771
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00]]
|
44772
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44773
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
44774
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44775
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44776
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
44777
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44778
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44779
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
|
44780
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44781
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44782
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
|
44783
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44784
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44785
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00], ["dob", Thu, 09 Oct 2003 04:47:07 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00]]
|
44786
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44787
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44788
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00], ["dob", Sat, 09 Oct 1993 04:47:07 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00]]
|
44789
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44790
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44791
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00]]
|
44792
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44793
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE (("users"."dob" >= '1992-10-09 04:47:07.000000' AND "users"."dob" <= '2013-11-09 04:47:07.000000')) LIMIT 25 OFFSET 0
|
44794
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44795
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44796
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
44797
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44798
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44799
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
|
44800
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44801
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44802
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
|
44803
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44804
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44805
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00], ["dob", Thu, 09 Oct 2003 04:47:07 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00]]
|
44806
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44807
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44808
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00], ["dob", Sat, 09 Oct 1993 04:47:07 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00]]
|
44809
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44810
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44811
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00]]
|
44812
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44813
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
44814
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44815
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 09 Oct 2013 04:47:07 UTC +00:00]]
|
44816
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44817
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44818
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 22]]
|
44819
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44820
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1[0m
|
44821
|
+
Connecting to database specified by database.yml
|
44822
|
+
[1m[36m (1.3ms)[0m [1mselect sqlite_version(*)[0m
|
44823
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
44824
|
+
[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
|
44825
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
44826
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
44827
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
44828
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
44829
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44830
|
+
[1m[36mSQL (3.9ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 30], ["created_at", Wed, 09 Oct 2013 05:04:13 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 09 Oct 2013 05:04:13 UTC +00:00]]
|
44831
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44832
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44833
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
44834
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44835
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
44836
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44837
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44838
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
44839
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44840
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44841
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:04:13 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:04:13 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:04:13 UTC +00:00]]
|
44842
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44843
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44844
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:04:13 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:04:13 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:04:13 UTC +00:00]]
|
44845
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44846
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44847
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:04:13 UTC +00:00], ["dob", Tue, 09 Oct 1979 05:04:13 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:04:13 UTC +00:00]]
|
44848
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44849
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
44850
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44851
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44852
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
44853
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44854
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44855
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
44856
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44857
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44858
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
44859
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44860
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44861
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:04:13 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:04:13 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:04:13 UTC +00:00]]
|
44862
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44863
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44864
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:04:13 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:04:13 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:04:13 UTC +00:00]]
|
44865
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44866
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44867
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:04:13 UTC +00:00], ["dob", Tue, 09 Oct 1979 05:04:13 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:04:13 UTC +00:00]]
|
44868
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44869
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
44870
|
+
[1m[36m (0.0ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
44871
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
44872
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44873
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44874
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
44875
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44876
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44877
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
44878
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44879
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44880
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
44881
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44882
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44883
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:04:15 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00]]
|
44884
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44885
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44886
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:04:15 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00]]
|
44887
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44888
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44889
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00], ["dob", Tue, 09 Oct 1979 05:04:15 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00]]
|
44890
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44891
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
44892
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44893
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44894
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
44895
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44896
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44897
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
44898
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44899
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44900
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
44901
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44902
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44903
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:04:15 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00]]
|
44904
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44905
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44906
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:04:15 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00]]
|
44907
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44908
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44909
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00]]
|
44910
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44911
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
44912
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44913
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44914
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
44915
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44916
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44917
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
44918
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44919
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44920
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
44921
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44922
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44923
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:04:15 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00]]
|
44924
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44925
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44926
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:04:15 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00]]
|
44927
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44928
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44929
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00]]
|
44930
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44931
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
44932
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44933
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44934
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
44935
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44936
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44937
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
44938
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44939
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44940
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
44941
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44942
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44943
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:04:15 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00]]
|
44944
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44945
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44946
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:04:15 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00]]
|
44947
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44948
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44949
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00]]
|
44950
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44951
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE (("users"."dob" >= '1992-10-09 05:04:15.000000' AND "users"."dob" <= '2013-11-09 05:04:15.000000')) LIMIT 25 OFFSET 0
|
44952
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44953
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44954
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
44955
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44956
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44957
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
44958
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44959
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44960
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
44961
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44962
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44963
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:04:15 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00]]
|
44964
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44965
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44966
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:04:15 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00]]
|
44967
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44968
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44969
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:04:15 UTC +00:00]]
|
44970
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44971
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
44972
|
+
Connecting to database specified by database.yml
|
44973
|
+
Connecting to database specified by database.yml
|
44974
|
+
Connecting to database specified by database.yml
|
44975
|
+
[1m[36m (1.3ms)[0m [1mselect sqlite_version(*)[0m
|
44976
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
44977
|
+
[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
|
44978
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
44979
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
44980
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
44981
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
44982
|
+
[1m[35mUser Load (0.9ms)[0m SELECT "users".* FROM "users"
|
44983
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44984
|
+
[1m[35mSQL (2.7ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:30:39 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:30:39 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:30:39 UTC +00:00]]
|
44985
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44986
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44987
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:30:39 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:30:39 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:30:39 UTC +00:00]]
|
44988
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44989
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44990
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:30:39 UTC +00:00], ["dob", Tue, 09 Oct 1979 05:30:39 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:30:39 UTC +00:00]]
|
44991
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44992
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
44993
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
44994
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44995
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
44996
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44997
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44998
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
44999
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45000
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45001
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
45002
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45003
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45004
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:30:39 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:30:39 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:30:39 UTC +00:00]]
|
45005
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45006
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45007
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:30:39 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:30:39 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:30:39 UTC +00:00]]
|
45008
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45009
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45010
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:30:39 UTC +00:00], ["dob", Tue, 09 Oct 1979 05:30:39 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:30:39 UTC +00:00]]
|
45011
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45012
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
45013
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
45014
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45015
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45016
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45017
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
45018
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45019
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45020
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
45021
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45022
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45023
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
45024
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45025
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45026
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:30:41 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00]]
|
45027
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45028
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45029
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:30:41 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00]]
|
45030
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45031
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45032
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00], ["dob", Tue, 09 Oct 1979 05:30:41 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00]]
|
45033
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45034
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45035
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45036
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00]]
|
45037
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45038
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45039
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 10]]
|
45040
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45041
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1[0m
|
45042
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45043
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45044
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]
|
45045
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45046
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45047
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
45048
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45049
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45050
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
45051
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45052
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45053
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
45054
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45055
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45056
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:30:41 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00]]
|
45057
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45058
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45059
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:30:41 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00]]
|
45060
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45061
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45062
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00]]
|
45063
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45064
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
45065
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45066
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45067
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
45068
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45069
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45070
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
45071
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45072
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45073
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
45074
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45075
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45076
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:30:41 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00]]
|
45077
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45078
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45079
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:30:41 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00]]
|
45080
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45081
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45082
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00]]
|
45083
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45084
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45085
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45086
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45087
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
45088
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45089
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45090
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
45091
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45092
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45093
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
45094
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45095
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45096
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:30:41 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00]]
|
45097
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45098
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45099
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:30:41 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00]]
|
45100
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45101
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45102
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00]]
|
45103
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45104
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE (("users"."dob" >= '1992-10-09 05:30:41.000000' AND "users"."dob" <= '2013-11-09 05:30:41.000000')) LIMIT 25 OFFSET 0
|
45105
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45106
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45107
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
45108
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45109
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45110
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
45111
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45112
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45113
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
45114
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45115
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45116
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:30:41 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00]]
|
45117
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45118
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45119
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:30:41 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00]]
|
45120
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45121
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45122
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:30:41 UTC +00:00]]
|
45123
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45124
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
45125
|
+
Connecting to database specified by database.yml
|
45126
|
+
[1m[36m (1.3ms)[0m [1mselect sqlite_version(*)[0m
|
45127
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
45128
|
+
[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
|
45129
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
45130
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
45131
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
45132
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
45133
|
+
[1m[35mUser Load (2.5ms)[0m SELECT "users".* FROM "users"
|
45134
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45135
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:32:16 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:32:16 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:32:16 UTC +00:00]]
|
45136
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45137
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45138
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:32:16 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:32:16 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:32:16 UTC +00:00]]
|
45139
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45140
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45141
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:32:16 UTC +00:00], ["dob", Tue, 09 Oct 1979 05:32:16 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:32:16 UTC +00:00]]
|
45142
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
45143
|
+
[1m[35m (0.1ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
45144
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
45145
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45146
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45147
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45148
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
45149
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45150
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45151
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
|
45152
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45153
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45154
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 3]]
|
45155
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45156
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45157
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:32:18 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45158
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45159
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45160
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:32:18 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45161
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45162
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45163
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", Tue, 09 Oct 1979 05:32:18 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45164
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45165
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45166
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45167
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45168
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
45169
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45170
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45171
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
|
45172
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45173
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45174
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 6]]
|
45175
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45176
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45177
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:32:18 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45178
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45179
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45180
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:32:18 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45181
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45182
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45183
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", Tue, 09 Oct 1979 05:32:18 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45184
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45185
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users"
|
45186
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45187
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45188
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
45189
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45190
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45191
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]
|
45192
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45193
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45194
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
45195
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45196
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45197
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:32:18 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45198
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45199
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45200
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:32:18 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45201
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45202
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45203
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45204
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45205
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
45206
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45207
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45208
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
45209
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45210
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45211
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
|
45212
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45213
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45214
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
|
45215
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45216
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45217
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:32:18 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45218
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45219
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45220
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:32:18 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45221
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45222
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45223
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45224
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45225
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45226
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45227
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45228
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
45229
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45230
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45231
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
|
45232
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45233
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45234
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
|
45235
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45236
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45237
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:32:18 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45238
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45239
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45240
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:32:18 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45241
|
+
[1m[35m (0.1ms)[0m commit transaction
|
45242
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45243
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45244
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45245
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE (("users"."dob" >= '1992-10-09 05:32:18.000000' AND "users"."dob" <= '2013-11-09 05:32:18.000000')) LIMIT 25 OFFSET 0
|
45246
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45247
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45248
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
45249
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45250
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45251
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
|
45252
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45253
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45254
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
|
45255
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45256
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45257
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:32:18 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45258
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45259
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45260
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:32:18 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45261
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45262
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45263
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45264
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45265
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
45266
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45267
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 09 Oct 2013 05:32:18 UTC +00:00]]
|
45268
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45269
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45270
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?)[0m [["book_id", nil], ["user_id", 22]]
|
45271
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45272
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1[0m
|
45273
|
+
Connecting to database specified by database.yml
|
45274
|
+
[1m[36m (1.3ms)[0m [1mselect sqlite_version(*)[0m
|
45275
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)
|
45276
|
+
[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
|
45277
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
|
45278
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer) [0m
|
45279
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)
|
45280
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer) [0m
|
45281
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45282
|
+
[1m[36mSQL (4.3ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 30], ["created_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00]]
|
45283
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45284
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45285
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]
|
45286
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45287
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
45288
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45289
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45290
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
45291
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45292
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45293
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:48:09 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00]]
|
45294
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45295
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45296
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:48:09 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00]]
|
45297
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45298
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45299
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00], ["dob", Tue, 09 Oct 1979 05:48:09 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00]]
|
45300
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45301
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45302
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45303
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45304
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 2]]
|
45305
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45306
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45307
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
|
45308
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45309
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45310
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 4]]
|
45311
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45312
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45313
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:48:09 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00]]
|
45314
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45315
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45316
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:48:09 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00]]
|
45317
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45318
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45319
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00], ["dob", Tue, 09 Oct 1979 05:48:09 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00]]
|
45320
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45321
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45322
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45323
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45324
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 5]]
|
45325
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45326
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45327
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
|
45328
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45329
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45330
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 7]]
|
45331
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45332
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45333
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:48:09 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00]]
|
45334
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45335
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45336
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:48:09 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00]]
|
45337
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45338
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45339
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00], ["dob", Tue, 09 Oct 1979 05:48:09 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:48:09 UTC +00:00]]
|
45340
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45341
|
+
[1m[35m (0.2ms)[0m SELECT AVG("users"."age") AS avg_id FROM "users"
|
45342
|
+
[1m[36m (0.1ms)[0m [1mSELECT AVG("users"."age") AS avg_id FROM "users" [0m
|
45343
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45344
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45345
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45346
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 8]]
|
45347
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45348
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45349
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
|
45350
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45351
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45352
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
45353
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45354
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45355
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:48:11 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00]]
|
45356
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45357
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45358
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:48:11 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00]]
|
45359
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45360
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45361
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00]]
|
45362
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45363
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0
|
45364
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45365
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45366
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
45367
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45368
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45369
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
|
45370
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45371
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45372
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
45373
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45374
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45375
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:48:11 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00]]
|
45376
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45377
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45378
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:48:11 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00]]
|
45379
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45380
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45381
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00]]
|
45382
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45383
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE (("users"."dob" >= '1992-10-09 05:48:11.000000' AND "users"."dob" <= '2013-11-09 05:48:11.000000')) LIMIT 25 OFFSET 0
|
45384
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45385
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45386
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
45387
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45388
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45389
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
|
45390
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45391
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45392
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
45393
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45394
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45395
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:48:11 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00]]
|
45396
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45397
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45398
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:48:11 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00]]
|
45399
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45400
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45401
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00]]
|
45402
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45403
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
45404
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
45405
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45406
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
45407
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45408
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45409
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
|
45410
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45411
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45412
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
45413
|
+
[1m[35m (0.1ms)[0m commit transaction
|
45414
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45415
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00], ["dob", Thu, 09 Oct 2003 05:48:11 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00]]
|
45416
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45417
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45418
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["created_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00], ["dob", Sat, 09 Oct 1993 05:48:11 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00]]
|
45419
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45420
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45421
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00], ["dob", nil], ["name", "User#3"], ["updated_at", Wed, 09 Oct 2013 05:48:11 UTC +00:00]]
|
45422
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45423
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 25 OFFSET 0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: query_report
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-10-
|
12
|
+
date: 2013-10-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|