auditlog 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +40 -0
- data/app/models/activity.rb +15 -0
- data/app/models/version.rb +17 -0
- data/app/models/version_change.rb +22 -0
- data/config/routes.rb +2 -0
- data/lib/auditlog.rb +4 -0
- data/lib/auditlog/application_controller_helper.rb +16 -0
- data/lib/auditlog/data.rb +13 -0
- data/lib/auditlog/engine.rb +4 -0
- data/lib/auditlog/model_tracker.rb +20 -0
- data/lib/auditlog/tracker.rb +32 -0
- data/lib/auditlog/version.rb +3 -0
- data/lib/tasks/auditlog_tasks.rake +4 -0
- data/test/auditlog_test.rb +7 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/log/development.log +1286 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +15 -0
- metadata +222 -0
@@ -0,0 +1,1286 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
4
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
5
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
6
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7
|
+
[1m[35mSQL (15.3ms)[0m INSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?) [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
8
|
+
self.changes :: {"id"=>[nil, 1]}
|
9
|
+
meta_attrs :: {}
|
10
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11
|
+
Connecting to database specified by database.yml
|
12
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
13
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
14
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
15
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
16
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
17
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "object" text, "created_at" datetime)
|
18
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
19
|
+
[1m[35m (0.0ms)[0m begin transaction
|
20
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
21
|
+
self.changes :: {"id"=>[nil, 1]}
|
22
|
+
meta_attrs :: {}
|
23
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24
|
+
Connecting to database specified by database.yml
|
25
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
26
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
27
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
28
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
29
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
30
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "object" text, "created_at" datetime)
|
31
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
32
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33
|
+
[1m[36mSQL (3.1ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
34
|
+
self.changes :: {"id"=>[nil, 1]}
|
35
|
+
meta_attrs :: {}
|
36
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "object", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 16:48:00 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["object", {"id"=>1, "title"=>"Test", "status"=>nil, "story_id"=>nil, "assigned_to_id"=>nil, "hours_estimated"=>nil}], ["trackable_id", 1], ["trackable_type", "Task"]]
|
37
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "id"], ["now", 1], ["version_id", 1], ["was", nil]]
|
38
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" ORDER BY "versions"."id" DESC LIMIT 1[0m
|
40
|
+
Connecting to database specified by database.yml
|
41
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
42
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
43
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
44
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
45
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
46
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "object" text, "created_at" datetime)
|
47
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
48
|
+
[1m[35m (0.0ms)[0m begin transaction
|
49
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
50
|
+
self.changes :: {"id"=>[nil, 1]}
|
51
|
+
meta_attrs :: {}
|
52
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "object", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 16:48:11 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["object", {"id"=>1, "title"=>"Test", "status"=>nil, "story_id"=>nil, "assigned_to_id"=>nil, "hours_estimated"=>nil}], ["trackable_id", 1], ["trackable_type", "Task"]]
|
53
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "id"], ["now", 1], ["version_id", 1], ["was", nil]]
|
54
|
+
[1m[35m (0.0ms)[0m commit transaction
|
55
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" ORDER BY "versions"."id" DESC LIMIT 1[0m
|
56
|
+
Connecting to database specified by database.yml
|
57
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
58
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
59
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
60
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
61
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
62
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "object" text, "created_at" datetime)
|
63
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
64
|
+
[1m[35m (0.0ms)[0m begin transaction
|
65
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
66
|
+
self.changes :: {"id"=>[nil, 1]}
|
67
|
+
meta_attrs :: {}
|
68
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "object", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 16:48:52 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["object", {"id"=>1, "title"=>"Test", "status"=>nil, "story_id"=>nil, "assigned_to_id"=>nil, "hours_estimated"=>nil}], ["trackable_id", 1], ["trackable_type", "Task"]]
|
69
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "id"], ["now", 1], ["version_id", 1], ["was", nil]]
|
70
|
+
[1m[35m (0.0ms)[0m commit transaction
|
71
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" ORDER BY "versions"."id" DESC LIMIT 1[0m
|
72
|
+
Connecting to database specified by database.yml
|
73
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
74
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
75
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
76
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
77
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
78
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "object" text, "created_at" datetime)
|
79
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
80
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81
|
+
[1m[36mSQL (4.0ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
82
|
+
self.changes :: {"id"=>[nil, 1]}
|
83
|
+
meta_attrs :: {}
|
84
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "object", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 16:54:30 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["object", {"id"=>1, "title"=>"Test", "status"=>nil, "story_id"=>nil, "assigned_to_id"=>nil, "hours_estimated"=>nil}], ["trackable_id", 1], ["trackable_type", "Task"]]
|
85
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "id"], ["now", 1], ["version_id", 1], ["was", nil]]
|
86
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" ORDER BY "versions"."id" DESC LIMIT 1[0m
|
88
|
+
Connecting to database specified by database.yml
|
89
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
90
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
91
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
92
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
93
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
94
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "object" text, "created_at" datetime)
|
95
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
96
|
+
[1m[35m (0.0ms)[0m begin transaction
|
97
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
98
|
+
self.changes :: {"id"=>[nil, 1]}
|
99
|
+
meta_attrs :: {}
|
100
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "object", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 17:00:00 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["object", {"id"=>1, "title"=>"Test", "status"=>nil, "story_id"=>nil, "assigned_to_id"=>nil, "hours_estimated"=>nil}], ["trackable_id", 1], ["trackable_type", "Task"]]
|
101
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "id"], ["now", 1], ["version_id", 1], ["was", nil]]
|
102
|
+
[1m[35m (0.0ms)[0m commit transaction
|
103
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" ORDER BY "versions"."id" DESC LIMIT 1[0m
|
104
|
+
Connecting to database specified by database.yml
|
105
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
106
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
107
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
108
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
109
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
110
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
111
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
112
|
+
[1m[35m (0.0ms)[0m begin transaction
|
113
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
114
|
+
[1m[35m (0.0ms)[0m commit transaction
|
115
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" ORDER BY "versions"."id" DESC LIMIT 1[0m
|
116
|
+
Connecting to database specified by database.yml
|
117
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
118
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
119
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
120
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
121
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
122
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
123
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
124
|
+
[1m[35m (0.0ms)[0m begin transaction
|
125
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
126
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
127
|
+
Connecting to database specified by database.yml
|
128
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
129
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
130
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
131
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
132
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
133
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
134
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
135
|
+
[1m[35m (0.0ms)[0m begin transaction
|
136
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
137
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
138
|
+
Connecting to database specified by database.yml
|
139
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
140
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
141
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
142
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
143
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
144
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
145
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
146
|
+
[1m[35m (0.0ms)[0m begin transaction
|
147
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
148
|
+
self.changes :: {"id"=>[nil, 1]}
|
149
|
+
meta_attrs :: {}
|
150
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
151
|
+
Connecting to database specified by database.yml
|
152
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
153
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
154
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
155
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
156
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
157
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
158
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
159
|
+
[1m[35m (0.0ms)[0m begin transaction
|
160
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
161
|
+
self.changes :: {"id"=>[nil, 1]}
|
162
|
+
meta_attrs :: {}
|
163
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 17:55:14 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
164
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "id"], ["now", 1], ["version_id", 1], ["was", nil]]
|
165
|
+
[1m[35m (0.0ms)[0m commit transaction
|
166
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" ORDER BY "versions"."id" DESC LIMIT 1[0m
|
167
|
+
Connecting to database specified by database.yml
|
168
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
169
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
170
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
171
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
172
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
173
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
174
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
175
|
+
[1m[35m (0.1ms)[0m begin transaction
|
176
|
+
[1m[36mSQL (3.0ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
177
|
+
self.changes :: {"id"=>[nil, 1]}
|
178
|
+
meta_attrs :: {}
|
179
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 17:57:45 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
180
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "id"], ["now", 1], ["version_id", 1], ["was", nil]]
|
181
|
+
[1m[35m (0.0ms)[0m commit transaction
|
182
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
183
|
+
Connecting to database specified by database.yml
|
184
|
+
[1m[36m (13.7ms)[0m [1mselect sqlite_version(*)[0m
|
185
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
186
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
187
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
188
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
189
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
190
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
191
|
+
[1m[35m (0.0ms)[0m begin transaction
|
192
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
193
|
+
self.changes :: {"id"=>[nil, 1]}
|
194
|
+
meta_attrs :: {}
|
195
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 17:59:16 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
196
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "id"], ["now", 1], ["version_id", 1], ["was", nil]]
|
197
|
+
[1m[35m (0.0ms)[0m commit transaction
|
198
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
199
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
200
|
+
self.changes :: {}
|
201
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
202
|
+
[1m[35mVersion Load (0.1ms)[0m SELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'
|
203
|
+
Connecting to database specified by database.yml
|
204
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
205
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
206
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
207
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
208
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
209
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
210
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
211
|
+
[1m[35m (0.0ms)[0m begin transaction
|
212
|
+
[1m[36mSQL (2.6ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
213
|
+
self.changes :: {"id"=>[nil, 1]}
|
214
|
+
meta_attrs :: {}
|
215
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 17:59:43 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
216
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "id"], ["now", 1], ["version_id", 1], ["was", nil]]
|
217
|
+
[1m[35m (0.0ms)[0m commit transaction
|
218
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
219
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
220
|
+
self.changes :: {}
|
221
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
222
|
+
Connecting to database specified by database.yml
|
223
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
224
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
225
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
226
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
227
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
228
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
229
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
230
|
+
[1m[35m (0.0ms)[0m begin transaction
|
231
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
232
|
+
self.changes :: {"id"=>[nil, 1]}
|
233
|
+
meta_attrs :: {}
|
234
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 17:59:54 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
235
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "id"], ["now", 1], ["version_id", 1], ["was", nil]]
|
236
|
+
[1m[35m (0.0ms)[0m commit transaction
|
237
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
238
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
239
|
+
self.changes :: {}
|
240
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
241
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
242
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
243
|
+
Connecting to database specified by database.yml
|
244
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
245
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
246
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
247
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
248
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
249
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
250
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
251
|
+
[1m[35m (0.0ms)[0m begin transaction
|
252
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
253
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
254
|
+
Connecting to database specified by database.yml
|
255
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
256
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
257
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
258
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
259
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
260
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
261
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
262
|
+
[1m[35m (0.0ms)[0m begin transaction
|
263
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
264
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
265
|
+
Connecting to database specified by database.yml
|
266
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
267
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
268
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
269
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
270
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
271
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
272
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
273
|
+
[1m[35m (0.0ms)[0m begin transaction
|
274
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
275
|
+
self.changes :: {"title"=>[nil, "Test"], "id"=>[nil, 1]}
|
276
|
+
meta_attrs :: {}
|
277
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:06:06 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
278
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
279
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "id"], ["now", 1], ["version_id", 1], ["was", nil]]
|
280
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
281
|
+
[1m[35m (0.0ms)[0m begin transaction
|
282
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1[0m
|
283
|
+
self.changes :: {"title"=>["Test", "Test 1"], "hours_estimated"=>[nil, 10.0], "assigned_to_id"=>[nil, 1]}
|
284
|
+
meta_attrs :: {}
|
285
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:06:06 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
286
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
287
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
288
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
289
|
+
[1m[35m (0.0ms)[0m commit transaction
|
290
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1[0m [["id", 1]]
|
291
|
+
[1m[35mVersion Load (0.1ms)[0m SELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'
|
292
|
+
Connecting to database specified by database.yml
|
293
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
294
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
295
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
296
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
297
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
298
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
299
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
300
|
+
[1m[35m (0.0ms)[0m begin transaction
|
301
|
+
[1m[36mSQL (16.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
302
|
+
self.changes :: {}
|
303
|
+
[1m[35m (0.1ms)[0m commit transaction
|
304
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
305
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
306
|
+
self.changes :: {}
|
307
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
308
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
309
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
310
|
+
Connecting to database specified by database.yml
|
311
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
312
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
313
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
314
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
315
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
316
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
317
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
318
|
+
[1m[35m (0.0ms)[0m begin transaction
|
319
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
320
|
+
self.changes :: {}
|
321
|
+
[1m[35m (0.1ms)[0m commit transaction
|
322
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
323
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
324
|
+
self.changes :: {}
|
325
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
326
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
327
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
328
|
+
Connecting to database specified by database.yml
|
329
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
330
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
331
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
332
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
333
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
334
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
335
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
336
|
+
[1m[35m (0.0ms)[0m begin transaction
|
337
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
338
|
+
self.changes :: {"title"=>[nil, "Test"]}
|
339
|
+
meta_attrs :: {}
|
340
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:10:06 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
341
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
342
|
+
[1m[35m (0.0ms)[0m commit transaction
|
343
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
344
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
345
|
+
self.changes :: {"title"=>["Test", "Test 1"], "hours_estimated"=>[nil, 10.0], "assigned_to_id"=>[nil, 1]}
|
346
|
+
meta_attrs :: {}
|
347
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:10:06 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
348
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
349
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
350
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
351
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
352
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
353
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
354
|
+
Connecting to database specified by database.yml
|
355
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
356
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
357
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
358
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
359
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
360
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
361
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
362
|
+
[1m[35m (0.0ms)[0m begin transaction
|
363
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
364
|
+
meta_attrs :: {}
|
365
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:11:11 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
366
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
367
|
+
[1m[35m (0.0ms)[0m commit transaction
|
368
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
369
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
370
|
+
meta_attrs :: {}
|
371
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:11:11 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
372
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
373
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
374
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
375
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
376
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
377
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
378
|
+
Connecting to database specified by database.yml
|
379
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
380
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
381
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
382
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
383
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
384
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
385
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
386
|
+
[1m[35m (0.0ms)[0m begin transaction
|
387
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
388
|
+
meta_attrs :: {}
|
389
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:11:23 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
390
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
391
|
+
[1m[35m (0.0ms)[0m commit transaction
|
392
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
393
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
394
|
+
meta_attrs :: {}
|
395
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:11:23 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
396
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
397
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
398
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
399
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
400
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
401
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
402
|
+
Connecting to database specified by database.yml
|
403
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
404
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
405
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
406
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
407
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
408
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
409
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
410
|
+
[1m[35m (0.0ms)[0m begin transaction
|
411
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
412
|
+
meta_attrs :: {}
|
413
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:14:11 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
414
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
415
|
+
[1m[35m (0.0ms)[0m commit transaction
|
416
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
417
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
418
|
+
meta_attrs :: {}
|
419
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:14:11 UTC +00:00], ["done_by_id", nil], ["event", "save"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
420
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
421
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
422
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
423
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
424
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
425
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
426
|
+
Connecting to database specified by database.yml
|
427
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
428
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
429
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
430
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
431
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
432
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
433
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
434
|
+
[1m[35m (0.0ms)[0m begin transaction
|
435
|
+
[1m[36mSQL (2.6ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
436
|
+
meta_attrs :: {}
|
437
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:17:39 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
438
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
439
|
+
[1m[35m (0.0ms)[0m commit transaction
|
440
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
441
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
442
|
+
meta_attrs :: {}
|
443
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:17:39 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
444
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
445
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
446
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
447
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
448
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
449
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
450
|
+
Connecting to database specified by database.yml
|
451
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
452
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
453
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
454
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
455
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
456
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
457
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
458
|
+
[1m[35m (0.0ms)[0m begin transaction
|
459
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
460
|
+
meta_attrs :: {}
|
461
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:18:02 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
462
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
463
|
+
[1m[35m (0.0ms)[0m commit transaction
|
464
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
465
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
466
|
+
meta_attrs :: {}
|
467
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:18:02 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
468
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
469
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
470
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
471
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
472
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
473
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
474
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 1
|
475
|
+
[1m[36mVersionChange Load (0.1ms)[0m [1mSELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 2[0m
|
476
|
+
Connecting to database specified by database.yml
|
477
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
478
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
479
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
480
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
481
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
482
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
483
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
484
|
+
[1m[35m (0.0ms)[0m begin transaction
|
485
|
+
[1m[36mSQL (3.0ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
486
|
+
meta_attrs :: {}
|
487
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:18:42 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
488
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
489
|
+
[1m[35m (0.0ms)[0m commit transaction
|
490
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
491
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
492
|
+
meta_attrs :: {}
|
493
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:18:42 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
494
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
495
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
496
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
497
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
498
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
499
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
500
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 1
|
501
|
+
[1m[36mVersionChange Load (0.1ms)[0m [1mSELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 2[0m
|
502
|
+
Connecting to database specified by database.yml
|
503
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
504
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
505
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
506
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
507
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
508
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
509
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
510
|
+
[1m[35m (0.0ms)[0m begin transaction
|
511
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
512
|
+
meta_attrs :: {}
|
513
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:19:54 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
514
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
515
|
+
[1m[35m (0.0ms)[0m commit transaction
|
516
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
517
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
518
|
+
meta_attrs :: {}
|
519
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:19:54 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
520
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
521
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
522
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
523
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
524
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
525
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
526
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 1
|
527
|
+
[1m[36mVersionChange Load (0.1ms)[0m [1mSELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 2[0m
|
528
|
+
Connecting to database specified by database.yml
|
529
|
+
[1m[36m (1.2ms)[0m [1mselect sqlite_version(*)[0m
|
530
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
531
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
532
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
533
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
534
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
535
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
536
|
+
[1m[35m (0.0ms)[0m begin transaction
|
537
|
+
[1m[36mSQL (16.4ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
538
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:33:12 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
539
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
540
|
+
[1m[35m (0.0ms)[0m commit transaction
|
541
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
542
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
543
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:33:12 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
544
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
545
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
546
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
547
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
548
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
549
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
550
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 1
|
551
|
+
[1m[36mVersionChange Load (0.1ms)[0m [1mSELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 2[0m
|
552
|
+
Connecting to database specified by database.yml
|
553
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
554
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
555
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
556
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
557
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
558
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
559
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
560
|
+
[1m[35m (0.0ms)[0m begin transaction
|
561
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
562
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:34:41 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
563
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
564
|
+
[1m[35m (0.0ms)[0m commit transaction
|
565
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
566
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
567
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:34:41 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
568
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
569
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
570
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
571
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
572
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
573
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
574
|
+
Connecting to database specified by database.yml
|
575
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
576
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
577
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
578
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
579
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
580
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
581
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
582
|
+
[1m[35m (0.0ms)[0m begin transaction
|
583
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
584
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:35:28 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
585
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
586
|
+
[1m[35m (0.0ms)[0m commit transaction
|
587
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
588
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
589
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:35:28 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
590
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
591
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
592
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
593
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
594
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
595
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
596
|
+
Connecting to database specified by database.yml
|
597
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
598
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
599
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
600
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
601
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
602
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
603
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
604
|
+
[1m[35m (0.0ms)[0m begin transaction
|
605
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
606
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:35:53 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
607
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
608
|
+
[1m[35m (0.0ms)[0m commit transaction
|
609
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
610
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
611
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:35:53 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
612
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
613
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
614
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
615
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
616
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
617
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
618
|
+
[1m[35mVersion Load (0.1ms)[0m SELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'
|
619
|
+
Connecting to database specified by database.yml
|
620
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
621
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
622
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
623
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
624
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
625
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
626
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
627
|
+
[1m[35m (0.0ms)[0m begin transaction
|
628
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
629
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:36:08 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
630
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
631
|
+
[1m[35m (0.0ms)[0m commit transaction
|
632
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
633
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
634
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:36:08 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
635
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
636
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
637
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
638
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
639
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
640
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
641
|
+
Connecting to database specified by database.yml
|
642
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
643
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
644
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
645
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
646
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
647
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
648
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
649
|
+
[1m[35m (0.0ms)[0m begin transaction
|
650
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
651
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:36:22 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
652
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
653
|
+
[1m[35m (0.0ms)[0m commit transaction
|
654
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
655
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
656
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:36:22 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
657
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
658
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
659
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
660
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
661
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
662
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
663
|
+
Connecting to database specified by database.yml
|
664
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
665
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
666
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
667
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
668
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
669
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
670
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
671
|
+
[1m[35m (0.0ms)[0m begin transaction
|
672
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
673
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:37:46 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
674
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
675
|
+
[1m[35m (0.0ms)[0m commit transaction
|
676
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
677
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
678
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:37:46 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
679
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
680
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
681
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
682
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
683
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
684
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
685
|
+
Connecting to database specified by database.yml
|
686
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
687
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
688
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
689
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
690
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
691
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
692
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
693
|
+
[1m[35m (0.0ms)[0m begin transaction
|
694
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
695
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:37:57 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
696
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
697
|
+
[1m[35m (0.0ms)[0m commit transaction
|
698
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
699
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
700
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:37:57 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
701
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
702
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
703
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
704
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
705
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
706
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
707
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 1
|
708
|
+
Connecting to database specified by database.yml
|
709
|
+
[1m[36m (1.2ms)[0m [1mselect sqlite_version(*)[0m
|
710
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
711
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
712
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
713
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
714
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
715
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
716
|
+
[1m[35m (0.1ms)[0m begin transaction
|
717
|
+
[1m[36mSQL (3.1ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
718
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:41:02 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
719
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
720
|
+
[1m[35m (0.0ms)[0m commit transaction
|
721
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
722
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
723
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:41:02 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
724
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
725
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
726
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
727
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
728
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
729
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
730
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 1
|
731
|
+
Connecting to database specified by database.yml
|
732
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
733
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
734
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
735
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
736
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
737
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
738
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
739
|
+
[1m[35m (0.0ms)[0m begin transaction
|
740
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
741
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:41:32 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
742
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
743
|
+
[1m[35m (0.0ms)[0m commit transaction
|
744
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
745
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
746
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:41:32 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
747
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
748
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
749
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
750
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
751
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
752
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
753
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 1
|
754
|
+
Connecting to database specified by database.yml
|
755
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
756
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
757
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
758
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
759
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
760
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
761
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
762
|
+
[1m[35m (0.0ms)[0m begin transaction
|
763
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
764
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:43:00 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
765
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
766
|
+
[1m[35m (0.0ms)[0m commit transaction
|
767
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
768
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
769
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:43:00 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
770
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
771
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
772
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
773
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
774
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
775
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
776
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 1
|
777
|
+
[1m[36mVersionChange Load (0.1ms)[0m [1mSELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 2[0m
|
778
|
+
Connecting to database specified by database.yml
|
779
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
780
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
781
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
782
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
783
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
784
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
785
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
786
|
+
[1m[35m (0.0ms)[0m begin transaction
|
787
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
788
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:43:21 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
789
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
790
|
+
[1m[35m (0.0ms)[0m commit transaction
|
791
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
792
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
793
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:43:21 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
794
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
795
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
796
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
797
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
798
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
799
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
800
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 1
|
801
|
+
[1m[36mVersionChange Load (0.1ms)[0m [1mSELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 2[0m
|
802
|
+
Connecting to database specified by database.yml
|
803
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
804
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
805
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
806
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
807
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
808
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
809
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
810
|
+
[1m[35m (0.0ms)[0m begin transaction
|
811
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
812
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:43:45 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
813
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
814
|
+
[1m[35m (0.0ms)[0m commit transaction
|
815
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
816
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
817
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:43:45 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
818
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
819
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
820
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
821
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
822
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
823
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
824
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 1
|
825
|
+
[1m[36mVersionChange Load (0.1ms)[0m [1mSELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 2[0m
|
826
|
+
Connecting to database specified by database.yml
|
827
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
828
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
829
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
830
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
831
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
832
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
833
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
834
|
+
[1m[35m (0.0ms)[0m begin transaction
|
835
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
836
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 18:44:09 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
837
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
838
|
+
[1m[35m (0.0ms)[0m commit transaction
|
839
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
840
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
841
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 18:44:09 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
842
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
843
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
844
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
845
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
846
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
847
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
848
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 1
|
849
|
+
[1m[36mVersionChange Load (0.1ms)[0m [1mSELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 2[0m
|
850
|
+
Connecting to database specified by database.yml
|
851
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
852
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
853
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
854
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
855
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
856
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
857
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
858
|
+
[1m[35m (0.0ms)[0m begin transaction
|
859
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
860
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 19:57:29 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
861
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
862
|
+
[1m[35m (0.0ms)[0m commit transaction
|
863
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
864
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
865
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 19:57:29 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
866
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
867
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
868
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
869
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
870
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
|
871
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
872
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 1
|
873
|
+
[1m[36mVersionChange Load (0.1ms)[0m [1mSELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 2[0m
|
874
|
+
Connecting to database specified by database.yml
|
875
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
876
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
877
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
878
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
879
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
880
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
881
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
882
|
+
[1m[35m (0.0ms)[0m begin transaction
|
883
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
884
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 19:57:39 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
885
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
886
|
+
[1m[35m (0.0ms)[0m commit transaction
|
887
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
888
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
889
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 19:57:39 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
890
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
891
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
892
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
893
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
894
|
+
[1m[35mVersion Load (0.1ms)[0m SELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'
|
895
|
+
[1m[36mVersionChange Load (0.1ms)[0m [1mSELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 1[0m
|
896
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 2
|
897
|
+
Connecting to database specified by database.yml
|
898
|
+
[1m[36m (1.1ms)[0m [1mselect sqlite_version(*)[0m
|
899
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
900
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
901
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
902
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
903
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
904
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
905
|
+
[1m[35m (0.0ms)[0m begin transaction
|
906
|
+
[1m[36mSQL (16.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
907
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 19:58:28 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
908
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
909
|
+
[1m[35m (0.0ms)[0m commit transaction
|
910
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
911
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
912
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 19:58:28 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
913
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
914
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
915
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
916
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
917
|
+
[1m[35mVersion Load (0.1ms)[0m SELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'
|
918
|
+
[1m[36mVersionChange Load (0.1ms)[0m [1mSELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 1[0m
|
919
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 2
|
920
|
+
Connecting to database specified by database.yml
|
921
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
922
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
923
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
924
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
925
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
926
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
927
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
928
|
+
[1m[35m (0.0ms)[0m begin transaction
|
929
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
930
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 19:58:56 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
931
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
932
|
+
[1m[35m (0.0ms)[0m commit transaction
|
933
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
934
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
935
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 19:58:56 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
936
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
937
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
938
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
939
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
940
|
+
[1m[35mVersion Load (0.1ms)[0m SELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'
|
941
|
+
[1m[36mVersionChange Load (0.1ms)[0m [1mSELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 1[0m
|
942
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 2
|
943
|
+
Connecting to database specified by database.yml
|
944
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
945
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
946
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
947
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
948
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
949
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
950
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
951
|
+
[1m[35m (0.0ms)[0m begin transaction
|
952
|
+
[1m[36mSQL (3.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
953
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
954
|
+
Connecting to database specified by database.yml
|
955
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
956
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
957
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
958
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
959
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
960
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
961
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
962
|
+
[1m[35m (0.0ms)[0m begin transaction
|
963
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
964
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
965
|
+
Connecting to database specified by database.yml
|
966
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
967
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
968
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
969
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
970
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
971
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
972
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
973
|
+
[1m[35m (0.0ms)[0m begin transaction
|
974
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
975
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
976
|
+
Connecting to database specified by database.yml
|
977
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
978
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
979
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
980
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
981
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
982
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
983
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
984
|
+
[1m[35m (0.0ms)[0m begin transaction
|
985
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
986
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
987
|
+
Connecting to database specified by database.yml
|
988
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
989
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255))
|
990
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
991
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
992
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
993
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "created_at" datetime)
|
994
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
995
|
+
[1m[35m (0.0ms)[0m begin transaction
|
996
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?)[0m [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
997
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 17 Nov 2013 20:10:18 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
998
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test"], ["version_id", 1], ["was", nil]]
|
999
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1000
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1001
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1
|
1002
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 17 Nov 2013 20:10:18 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
1003
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test 1"], ["version_id", 2], ["was", "Test"]]
|
1004
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "hours_estimated"], ["now", 10.0], ["version_id", 2], ["was", nil]]
|
1005
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "assigned_to_id"], ["now", 1], ["version_id", 2], ["was", nil]]
|
1006
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1007
|
+
[1m[35mVersion Load (0.1ms)[0m SELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'
|
1008
|
+
[1m[36mVersionChange Load (0.1ms)[0m [1mSELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 1[0m
|
1009
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" = 2
|
1010
|
+
Connecting to database specified by database.yml
|
1011
|
+
Connecting to database specified by database.yml
|
1012
|
+
[1m[36m (1.1ms)[0m [1mselect sqlite_version(*)[0m
|
1013
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
1014
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float) [0m
|
1015
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float)
|
1016
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime) [0m
|
1017
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "activity_id" integer, "created_at" datetime)
|
1018
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255)) [0m
|
1019
|
+
[1m[35mTask Load (0.7ms)[0m SELECT "tasks".* FROM "tasks"
|
1020
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1021
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1022
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "users" ("email", "name") VALUES (?, ?)[0m [["email", nil], ["name", "Jitu"]]
|
1023
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?) [["activity_id", nil], ["created_at", Sun, 17 Nov 2013 20:16:09 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "User"]]
|
1024
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "name"], ["now", "Jitu"], ["version_id", 1], ["was", nil]]
|
1025
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1026
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1027
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?) [["assigned_to_id", nil], ["hours_estimated", nil], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
1028
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["activity_id", nil], ["created_at", Sun, 17 Nov 2013 20:16:09 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
1029
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test"], ["version_id", 2], ["was", nil]]
|
1030
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1031
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1032
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1[0m
|
1033
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?) [["activity_id", nil], ["created_at", Sun, 17 Nov 2013 20:16:09 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["trackable_id", 1], ["trackable_type", "Task"]]
|
1034
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test 1"], ["version_id", 3], ["was", "Test"]]
|
1035
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "hours_estimated"], ["now", 10.0], ["version_id", 3], ["was", nil]]
|
1036
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "assigned_to_id"], ["now", 1], ["version_id", 3], ["was", nil]]
|
1037
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1038
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
1039
|
+
[1m[35mVersionChange Load (0.1ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" IN (2, 3)
|
1040
|
+
Connecting to database specified by database.yml
|
1041
|
+
[1m[36m (3.4ms)[0m [1mselect sqlite_version(*)[0m
|
1042
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
1043
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) [0m
|
1044
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float)
|
1045
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float) [0m
|
1046
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime)
|
1047
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "activity_id" integer, "project_id" integer, "created_at" datetime) [0m
|
1048
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255))
|
1049
|
+
[1m[36mTask Load (1.9ms)[0m [1mSELECT "tasks".* FROM "tasks" [0m
|
1050
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
1051
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1052
|
+
[1m[35mSQL (11.0ms)[0m INSERT INTO "users" ("email", "name") VALUES (?, ?) [["email", nil], ["name", "Jitu"]]
|
1053
|
+
[1m[36mSQL (25.8ms)[0m [1mINSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:17:34 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["project_id", nil], ["trackable_id", 1], ["trackable_type", "User"]]
|
1054
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "name"], ["now", "Jitu"], ["version_id", 1], ["was", nil]]
|
1055
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1056
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1057
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "projects" ("title") VALUES (?)[0m [["title", "Test"]]
|
1058
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1059
|
+
Connecting to database specified by database.yml
|
1060
|
+
[1m[36m (1.2ms)[0m [1mselect sqlite_version(*)[0m
|
1061
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
1062
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) [0m
|
1063
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float)
|
1064
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float, "project_id" integer) [0m
|
1065
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime)
|
1066
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "activity_id" integer, "project_id" integer, "created_at" datetime) [0m
|
1067
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255))
|
1068
|
+
[1m[36mTask Load (0.7ms)[0m [1mSELECT "tasks".* FROM "tasks" [0m
|
1069
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users"
|
1070
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1071
|
+
[1m[35mSQL (2.1ms)[0m INSERT INTO "users" ("email", "name") VALUES (?, ?) [["email", nil], ["name", "Jitu"]]
|
1072
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:18:21 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["project_id", nil], ["trackable_id", 1], ["trackable_type", "User"]]
|
1073
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "name"], ["now", "Jitu"], ["version_id", 1], ["was", nil]]
|
1074
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1075
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1076
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "projects" ("title") VALUES (?)[0m [["title", "Test"]]
|
1077
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1078
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1079
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "project_id", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?, ?) [["assigned_to_id", nil], ["hours_estimated", nil], ["project_id", 1], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
1080
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1081
|
+
Connecting to database specified by database.yml
|
1082
|
+
[1m[36m (1.2ms)[0m [1mselect sqlite_version(*)[0m
|
1083
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
1084
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) [0m
|
1085
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float)
|
1086
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float, "project_id" integer) [0m
|
1087
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime)
|
1088
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "activity_id" integer, "project_id" integer, "created_at" datetime) [0m
|
1089
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255))
|
1090
|
+
[1m[36mTask Load (0.8ms)[0m [1mSELECT "tasks".* FROM "tasks" [0m
|
1091
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users"
|
1092
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1093
|
+
[1m[35mSQL (2.2ms)[0m INSERT INTO "users" ("email", "name") VALUES (?, ?) [["email", nil], ["name", "Jitu"]]
|
1094
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:19:29 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["project_id", nil], ["trackable_id", 1], ["trackable_type", "User"]]
|
1095
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "name"], ["now", "Jitu"], ["version_id", 1], ["was", nil]]
|
1096
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1097
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1098
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "projects" ("title") VALUES (?)[0m [["title", "Test"]]
|
1099
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1100
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1101
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "project_id", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?, ?) [["assigned_to_id", nil], ["hours_estimated", nil], ["project_id", 1], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
1102
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1103
|
+
Connecting to database specified by database.yml
|
1104
|
+
[1m[36m (1.2ms)[0m [1mselect sqlite_version(*)[0m
|
1105
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
1106
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) [0m
|
1107
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float)
|
1108
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float, "project_id" integer) [0m
|
1109
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime)
|
1110
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "activity_id" integer, "project_id" integer, "created_at" datetime) [0m
|
1111
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255))
|
1112
|
+
[1m[36mTask Load (0.8ms)[0m [1mSELECT "tasks".* FROM "tasks" [0m
|
1113
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users"
|
1114
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1115
|
+
[1m[35mSQL (2.1ms)[0m INSERT INTO "users" ("email", "name") VALUES (?, ?) [["email", nil], ["name", "Jitu"]]
|
1116
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:19:56 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["project_id", nil], ["trackable_id", 1], ["trackable_type", "User"]]
|
1117
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "name"], ["now", "Jitu"], ["version_id", 1], ["was", nil]]
|
1118
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1119
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1120
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "projects" ("title") VALUES (?)[0m [["title", "Test"]]
|
1121
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1122
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1123
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "project_id", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?, ?) [["assigned_to_id", nil], ["hours_estimated", nil], ["project_id", 1], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
1124
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1125
|
+
Connecting to database specified by database.yml
|
1126
|
+
[1m[36m (1.2ms)[0m [1mselect sqlite_version(*)[0m
|
1127
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
1128
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) [0m
|
1129
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float)
|
1130
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float, "project_id" integer) [0m
|
1131
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime)
|
1132
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "activity_id" integer, "project_id" integer, "created_at" datetime) [0m
|
1133
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255))
|
1134
|
+
[1m[36mTask Load (0.8ms)[0m [1mSELECT "tasks".* FROM "tasks" [0m
|
1135
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users"
|
1136
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1137
|
+
[1m[35mSQL (2.1ms)[0m INSERT INTO "users" ("email", "name") VALUES (?, ?) [["email", nil], ["name", "Jitu"]]
|
1138
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:23:29 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["project_id", nil], ["trackable_id", 1], ["trackable_type", "User"]]
|
1139
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "name"], ["now", "Jitu"], ["version_id", 1], ["was", nil]]
|
1140
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1141
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1142
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "projects" ("title") VALUES (?)[0m [["title", "Test"]]
|
1143
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1144
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1145
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "project_id", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?, ?) [["assigned_to_id", nil], ["hours_estimated", nil], ["project_id", 1], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
1146
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:23:29 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["project_id", 1], ["trackable_id", 1], ["trackable_type", "Task"]]
|
1147
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test"], ["version_id", 2], ["was", nil]]
|
1148
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1149
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1150
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1[0m
|
1151
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:23:29 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["project_id", 1], ["trackable_id", 1], ["trackable_type", "Task"]]
|
1152
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test 1"], ["version_id", 3], ["was", "Test"]]
|
1153
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "hours_estimated"], ["now", 10.0], ["version_id", 3], ["was", nil]]
|
1154
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "assigned_to_id"], ["now", 1], ["version_id", 3], ["was", nil]]
|
1155
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1156
|
+
[1m[36mVersion Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."trackable_id" = 1 AND "versions"."trackable_type" = 'Task'[0m
|
1157
|
+
[1m[35mVersionChange Load (0.2ms)[0m SELECT "version_changes".* FROM "version_changes" WHERE "version_changes"."version_id" IN (2, 3)
|
1158
|
+
Connecting to database specified by database.yml
|
1159
|
+
[1m[36m (1.2ms)[0m [1mselect sqlite_version(*)[0m
|
1160
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
1161
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) [0m
|
1162
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float)
|
1163
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float, "project_id" integer) [0m
|
1164
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime)
|
1165
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "activity_id" integer, "project_id" integer, "created_at" datetime) [0m
|
1166
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255))
|
1167
|
+
[1m[36mTask Load (0.7ms)[0m [1mSELECT "tasks".* FROM "tasks" [0m
|
1168
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users"
|
1169
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1170
|
+
[1m[35mSQL (2.1ms)[0m INSERT INTO "users" ("email", "name") VALUES (?, ?) [["email", nil], ["name", "Jitu"]]
|
1171
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:47:00 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["project_id", nil], ["trackable_id", 1], ["trackable_type", "User"]]
|
1172
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "name"], ["now", "Jitu"], ["version_id", 1], ["was", nil]]
|
1173
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1174
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1175
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "projects" ("title") VALUES (?)[0m [["title", "Test"]]
|
1176
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1177
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1178
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "project_id", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?, ?) [["assigned_to_id", nil], ["hours_estimated", nil], ["project_id", 1], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
1179
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:47:00 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["project_id", 1], ["trackable_id", 1], ["trackable_type", "Task"]]
|
1180
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test"], ["version_id", 2], ["was", nil]]
|
1181
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1182
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1183
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1[0m
|
1184
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:47:00 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["project_id", 1], ["trackable_id", 1], ["trackable_type", "Task"]]
|
1185
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test 1"], ["version_id", 3], ["was", "Test"]]
|
1186
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "hours_estimated"], ["now", 10.0], ["version_id", 3], ["was", nil]]
|
1187
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "assigned_to_id"], ["now", 1], ["version_id", 3], ["was", nil]]
|
1188
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1189
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "version_changes"."id" AS t0_r0, "version_changes"."version_id" AS t0_r1, "version_changes"."field" AS t0_r2, "version_changes"."was" AS t0_r3, "version_changes"."now" AS t0_r4, "versions"."id" AS t1_r0, "versions"."trackable_id" AS t1_r1, "versions"."trackable_type" AS t1_r2, "versions"."event" AS t1_r3, "versions"."done_by_id" AS t1_r4, "versions"."activity_id" AS t1_r5, "versions"."project_id" AS t1_r6, "versions"."created_at" AS t1_r7 FROM "version_changes" INNER JOIN "versions" ON "versions"."id" = "version_changes"."version_id" WHERE (versions.trackable_type = 'Task' AND trackable_id IN (1))[0m
|
1190
|
+
Connecting to database specified by database.yml
|
1191
|
+
[1m[36m (1.1ms)[0m [1mselect sqlite_version(*)[0m
|
1192
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
1193
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) [0m
|
1194
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float)
|
1195
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float, "project_id" integer) [0m
|
1196
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime)
|
1197
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "activity_id" integer, "project_id" integer, "created_at" datetime) [0m
|
1198
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255))
|
1199
|
+
[1m[36mTask Load (0.7ms)[0m [1mSELECT "tasks".* FROM "tasks" [0m
|
1200
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users"
|
1201
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1202
|
+
[1m[35mSQL (2.0ms)[0m INSERT INTO "users" ("email", "name") VALUES (?, ?) [["email", nil], ["name", "Jitu"]]
|
1203
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:47:33 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["project_id", nil], ["trackable_id", 1], ["trackable_type", "User"]]
|
1204
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "name"], ["now", "Jitu"], ["version_id", 1], ["was", nil]]
|
1205
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1206
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1207
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "projects" ("title") VALUES (?)[0m [["title", "Test"]]
|
1208
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1209
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1210
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "project_id", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?, ?) [["assigned_to_id", nil], ["hours_estimated", nil], ["project_id", 1], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
1211
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:47:33 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["project_id", 1], ["trackable_id", 1], ["trackable_type", "Task"]]
|
1212
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test"], ["version_id", 2], ["was", nil]]
|
1213
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1214
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1215
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1[0m
|
1216
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:47:33 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["project_id", 1], ["trackable_id", 1], ["trackable_type", "Task"]]
|
1217
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test 1"], ["version_id", 3], ["was", "Test"]]
|
1218
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "hours_estimated"], ["now", 10.0], ["version_id", 3], ["was", nil]]
|
1219
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "assigned_to_id"], ["now", 1], ["version_id", 3], ["was", nil]]
|
1220
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1221
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "version_changes"."id" AS t0_r0, "version_changes"."version_id" AS t0_r1, "version_changes"."field" AS t0_r2, "version_changes"."was" AS t0_r3, "version_changes"."now" AS t0_r4, "versions"."id" AS t1_r0, "versions"."trackable_id" AS t1_r1, "versions"."trackable_type" AS t1_r2, "versions"."event" AS t1_r3, "versions"."done_by_id" AS t1_r4, "versions"."activity_id" AS t1_r5, "versions"."project_id" AS t1_r6, "versions"."created_at" AS t1_r7 FROM "version_changes" INNER JOIN "versions" ON "versions"."id" = "version_changes"."version_id" WHERE (versions.trackable_type = 'Task' AND trackable_id IN (1))[0m
|
1222
|
+
Connecting to database specified by database.yml
|
1223
|
+
[1m[36m (1.3ms)[0m [1mselect sqlite_version(*)[0m
|
1224
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
1225
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) [0m
|
1226
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float)
|
1227
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float, "project_id" integer) [0m
|
1228
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime)
|
1229
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "activity_id" integer, "project_id" integer, "created_at" datetime) [0m
|
1230
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255))
|
1231
|
+
[1m[36mTask Load (0.7ms)[0m [1mSELECT "tasks".* FROM "tasks" [0m
|
1232
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users"
|
1233
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1234
|
+
[1m[35mSQL (2.1ms)[0m INSERT INTO "users" ("email", "name") VALUES (?, ?) [["email", nil], ["name", "Jitu"]]
|
1235
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:47:57 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["project_id", nil], ["trackable_id", 1], ["trackable_type", "User"]]
|
1236
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "name"], ["now", "Jitu"], ["version_id", 1], ["was", nil]]
|
1237
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1238
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1239
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "projects" ("title") VALUES (?)[0m [["title", "Test"]]
|
1240
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1241
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1242
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "project_id", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?, ?) [["assigned_to_id", nil], ["hours_estimated", nil], ["project_id", 1], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
1243
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:47:57 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["project_id", 1], ["trackable_id", 1], ["trackable_type", "Task"]]
|
1244
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test"], ["version_id", 2], ["was", nil]]
|
1245
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1246
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1247
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1[0m
|
1248
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:47:57 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["project_id", 1], ["trackable_id", 1], ["trackable_type", "Task"]]
|
1249
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test 1"], ["version_id", 3], ["was", "Test"]]
|
1250
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "hours_estimated"], ["now", 10.0], ["version_id", 3], ["was", nil]]
|
1251
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "assigned_to_id"], ["now", 1], ["version_id", 3], ["was", nil]]
|
1252
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1253
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "version_changes"."id" AS t0_r0, "version_changes"."version_id" AS t0_r1, "version_changes"."field" AS t0_r2, "version_changes"."was" AS t0_r3, "version_changes"."now" AS t0_r4, "versions"."id" AS t1_r0, "versions"."trackable_id" AS t1_r1, "versions"."trackable_type" AS t1_r2, "versions"."event" AS t1_r3, "versions"."done_by_id" AS t1_r4, "versions"."activity_id" AS t1_r5, "versions"."project_id" AS t1_r6, "versions"."created_at" AS t1_r7 FROM "version_changes" INNER JOIN "versions" ON "versions"."id" = "version_changes"."version_id" WHERE (versions.trackable_type = '--- !ruby/class ''Task''
|
1254
|
+
' AND trackable_id IN (1))[0m
|
1255
|
+
Connecting to database specified by database.yml
|
1256
|
+
[1m[36m (1.1ms)[0m [1mselect sqlite_version(*)[0m
|
1257
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
1258
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) [0m
|
1259
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "assigned_to_id" integer, "hours_estimated" float)
|
1260
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "status" varchar(255), "story_id" integer, "assigned_to_id" integer, "hours_estimated" float, "project_id" integer) [0m
|
1261
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "done_by_id" integer, "name" varchar(255), "created_at" datetime)
|
1262
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "event" varchar(255) NOT NULL, "done_by_id" integer, "activity_id" integer, "project_id" integer, "created_at" datetime) [0m
|
1263
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "version_changes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "field" varchar(255) NOT NULL, "was" varchar(255), "now" varchar(255))
|
1264
|
+
[1m[36mTask Load (0.9ms)[0m [1mSELECT "tasks".* FROM "tasks" [0m
|
1265
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users"
|
1266
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1267
|
+
[1m[35mSQL (2.3ms)[0m INSERT INTO "users" ("email", "name") VALUES (?, ?) [["email", nil], ["name", "Jitu"]]
|
1268
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:48:12 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["project_id", nil], ["trackable_id", 1], ["trackable_type", "User"]]
|
1269
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "name"], ["now", "Jitu"], ["version_id", 1], ["was", nil]]
|
1270
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1271
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1272
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "projects" ("title") VALUES (?)[0m [["title", "Test"]]
|
1273
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1274
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1275
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "tasks" ("assigned_to_id", "hours_estimated", "project_id", "status", "story_id", "title") VALUES (?, ?, ?, ?, ?, ?) [["assigned_to_id", nil], ["hours_estimated", nil], ["project_id", 1], ["status", nil], ["story_id", nil], ["title", "Test"]]
|
1276
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:48:12 UTC +00:00], ["done_by_id", nil], ["event", "create"], ["project_id", 1], ["trackable_id", 1], ["trackable_type", "Task"]]
|
1277
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "title"], ["now", "Test"], ["version_id", 2], ["was", nil]]
|
1278
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1279
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1280
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "tasks" SET "title" = 'Test 1', "hours_estimated" = 10.0, "assigned_to_id" = 1 WHERE "tasks"."id" = 1[0m
|
1281
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "versions" ("activity_id", "created_at", "done_by_id", "event", "project_id", "trackable_id", "trackable_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["activity_id", nil], ["created_at", Tue, 19 Nov 2013 04:48:12 UTC +00:00], ["done_by_id", nil], ["event", "update"], ["project_id", 1], ["trackable_id", 1], ["trackable_type", "Task"]]
|
1282
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "title"], ["now", "Test 1"], ["version_id", 3], ["was", "Test"]]
|
1283
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?) [["field", "hours_estimated"], ["now", 10.0], ["version_id", 3], ["was", nil]]
|
1284
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "version_changes" ("field", "now", "version_id", "was") VALUES (?, ?, ?, ?)[0m [["field", "assigned_to_id"], ["now", 1], ["version_id", 3], ["was", nil]]
|
1285
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1286
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "version_changes"."id" AS t0_r0, "version_changes"."version_id" AS t0_r1, "version_changes"."field" AS t0_r2, "version_changes"."was" AS t0_r3, "version_changes"."now" AS t0_r4, "versions"."id" AS t1_r0, "versions"."trackable_id" AS t1_r1, "versions"."trackable_type" AS t1_r2, "versions"."event" AS t1_r3, "versions"."done_by_id" AS t1_r4, "versions"."activity_id" AS t1_r5, "versions"."project_id" AS t1_r6, "versions"."created_at" AS t1_r7 FROM "version_changes" INNER JOIN "versions" ON "versions"."id" = "version_changes"."version_id" WHERE (versions.trackable_type = 'Task' AND trackable_id IN (1))[0m
|