auditlog 0.0.1

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