track_changes 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. data/LICENSE +20 -20
  2. data/README.rdoc +87 -87
  3. data/TODO +4 -4
  4. data/VERSION.yml +5 -5
  5. data/lib/track_changes/audit_filter.rb +69 -69
  6. data/lib/track_changes/base.rb +9 -9
  7. data/lib/track_changes/class_methods.rb +74 -74
  8. data/lib/track_changes/configuration.rb +38 -38
  9. data/lib/track_changes/filter.rb +43 -43
  10. data/lib/track_changes/initializer.rb +18 -18
  11. data/lib/track_changes/instance_methods.rb +5 -5
  12. data/lib/track_changes/result.rb +36 -36
  13. data/lib/track_changes.rb +12 -12
  14. data/test/base_test.rb +20 -20
  15. data/test/class_methods_test.rb +29 -29
  16. data/test/filter_test.rb +73 -73
  17. data/test/functional/posts_controller_test.rb +16 -16
  18. data/test/rails_root/app/controllers/application_controller.rb +2 -2
  19. data/test/rails_root/app/controllers/posts_controller.rb +36 -36
  20. data/test/rails_root/app/models/audit.rb +4 -4
  21. data/test/rails_root/app/models/post.rb +3 -3
  22. data/test/rails_root/config/boot.rb +110 -110
  23. data/test/rails_root/config/database.yml +3 -3
  24. data/test/rails_root/config/environment.rb +7 -7
  25. data/test/rails_root/config/environments/test.rb +7 -7
  26. data/test/rails_root/config/initializers/new_rails_defaults.rb +7 -7
  27. data/test/rails_root/config/initializers/session_store.rb +4 -4
  28. data/test/rails_root/config/initializers/track_changes_setup.rb +8 -8
  29. data/test/rails_root/config/routes.rb +3 -3
  30. data/test/rails_root/db/migrate/20100115021125_create_audits.rb +16 -16
  31. data/test/rails_root/db/migrate/20100115021151_create_posts.rb +15 -15
  32. data/test/rails_root/log/test.log +377 -2494
  33. data/test/rails_root/script/console +3 -3
  34. data/test/rails_root/script/generate +3 -3
  35. data/test/result_test.rb +35 -35
  36. data/test/test_helper.rb +29 -29
  37. data/test/track_changes/audit_filter_test.rb +154 -154
  38. data/test/track_changes/configuration_test.rb +36 -36
  39. data/test/track_changes/initializer_test.rb +37 -37
  40. metadata +31 -19
@@ -1,2660 +1,543 @@
1
- # Logfile created on 2010-01-14 20:01:04 -0700 SQL (0.2ms)  SELECT name
1
+ # Logfile created on Fri Jul 30 11:18:38 -0700 2010 SQL (2.0ms)  SELECT name
2
2
  FROM sqlite_master
3
3
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
4
4
  
5
- SQL (0.1ms) select sqlite_version(*)
6
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
8
- SQL (0.1ms)  SELECT name
5
+ SQL (0.0ms) CREATE TABLE schema_migrations (version VARCHAR(255) NOT NULL) 
6
+ SQL (0.0ms) CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations (version)
7
+ SQL (2.0ms)  SELECT name
9
8
  FROM sqlite_master
10
9
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
11
10
  
12
- SQL (0.0ms) SELECT version FROM schema_migrations
13
- Migrating to CreateAudits (20100115021125)
14
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
15
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
16
- Migrating to CreatePosts (20100115021151)
17
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
18
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
19
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 03:01:04', '2010-01-15 03:01:04')
20
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
21
-
22
-
23
- Processing PostsController#update (for 0.0.0.0 at 2010-01-14 20:01:04) [PUT]
24
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
25
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
26
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 03:01:04' WHERE "id" = 1
27
- Redirected to http://test.host/posts/1
28
- WARNING: Can't mass-assign these protected attributes: id
29
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
30
- title:
31
- - Hello, World
32
- - First post!
33
- updated_at:
34
- - 2010-01-15 03:01:04 Z
35
- - 2010-01-15 03:01:04.996091 Z
36
- ', '2010-01-15 03:01:05', '2010-01-15 03:01:05')
37
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
38
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
39
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
40
- SQL (0.2ms)  SELECT name
41
- FROM sqlite_master
42
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
43
- 
44
- SQL (0.1ms) select sqlite_version(*)
45
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
46
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
47
- SQL (0.1ms)  SELECT name
48
- FROM sqlite_master
49
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
50
- 
51
- SQL (0.0ms) SELECT version FROM schema_migrations
52
- Migrating to CreateAudits (20100115021125)
53
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
54
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
55
- Migrating to CreatePosts (20100115021151)
56
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
57
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
58
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 03:02:19', '2010-01-15 03:02:19')
59
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
60
-
61
-
62
- Processing PostsController#update (for 0.0.0.0 at 2010-01-14 20:02:19) [PUT]
63
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
64
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
65
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 03:02:19' WHERE "id" = 1
66
- Redirected to http://test.host/posts/1
67
- WARNING: Can't mass-assign these protected attributes: id
68
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
69
- title:
70
- - Hello, World
71
- - First post!
72
- updated_at:
73
- - 2010-01-15 03:02:19 Z
74
- - 2010-01-15 03:02:19.156565 Z
75
- ', '2010-01-15 03:02:19', '2010-01-15 03:02:19')
76
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
77
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
78
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
79
- SQL (0.2ms)  SELECT name
80
- FROM sqlite_master
81
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
82
- 
83
- SQL (0.1ms) select sqlite_version(*)
84
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
85
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
86
- SQL (0.1ms)  SELECT name
87
- FROM sqlite_master
88
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
89
- 
90
- SQL (0.0ms) SELECT version FROM schema_migrations
91
- Migrating to CreateAudits (20100115021125)
92
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
93
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
94
- Migrating to CreatePosts (20100115021151)
95
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
96
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
97
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 03:02:28', '2010-01-15 03:02:28')
98
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
99
-
100
-
101
- Processing PostsController#update (for 0.0.0.0 at 2010-01-14 20:02:28) [PUT]
102
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
103
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
104
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 03:02:28' WHERE "id" = 1
105
- Redirected to http://test.host/posts/1
106
- WARNING: Can't mass-assign these protected attributes: id
107
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
108
- title:
109
- - Hello, World
110
- - First post!
111
- updated_at:
112
- - 2010-01-15 03:02:28 Z
113
- - 2010-01-15 03:02:28.791727 Z
114
- ', '2010-01-15 03:02:28', '2010-01-15 03:02:28')
115
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
116
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
117
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
118
- SQL (0.2ms)  SELECT name
119
- FROM sqlite_master
120
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
121
- 
122
- SQL (0.1ms) select sqlite_version(*)
123
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
124
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
125
- SQL (0.1ms)  SELECT name
126
- FROM sqlite_master
127
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
128
- 
129
- SQL (0.0ms) SELECT version FROM schema_migrations
130
- Migrating to CreateAudits (20100115021125)
131
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
132
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
133
- Migrating to CreatePosts (20100115021151)
134
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
135
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
136
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 05:19:01', '2010-01-15 05:19:01')
137
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
138
-
139
-
140
- Processing PostsController#update (for 0.0.0.0 at 2010-01-14 22:19:02) [PUT]
141
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
142
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
143
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 05:19:02' WHERE "id" = 1
144
- Redirected to http://test.host/posts/1
145
- WARNING: Can't mass-assign these protected attributes: id
146
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
147
- title:
148
- - Hello, World
149
- - First post!
150
- updated_at:
151
- - 2010-01-15 05:19:01 Z
152
- - 2010-01-15 05:19:02.030127 Z
153
- ', '2010-01-15 05:19:02', '2010-01-15 05:19:02')
154
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
155
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
156
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
157
- SQL (0.2ms)  SELECT name
158
- FROM sqlite_master
159
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
160
- 
161
- SQL (0.1ms) select sqlite_version(*)
162
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
163
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
164
- SQL (0.1ms)  SELECT name
165
- FROM sqlite_master
166
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
167
- 
168
- SQL (0.1ms) SELECT version FROM schema_migrations
169
- Migrating to CreateAudits (20100115021125)
170
- SQL (0.2ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
171
- SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
172
- Migrating to CreatePosts (20100115021151)
173
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
174
- SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
175
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 05:21:15', '2010-01-15 05:21:15')
176
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
177
-
178
-
179
- Processing PostsController#update (for 0.0.0.0 at 2010-01-14 22:21:15) [PUT]
180
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
181
- Post Load (0.2ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
182
- Post Update (0.1ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 05:21:15' WHERE "id" = 1
183
- Redirected to http://test.host/posts/1
184
- WARNING: Can't mass-assign these protected attributes: id
185
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
186
- title:
187
- - Hello, World
188
- - First post!
189
- updated_at:
190
- - 2010-01-15 05:21:15 Z
191
- - 2010-01-15 05:21:15.424603 Z
192
- ', '2010-01-15 05:21:15', '2010-01-15 05:21:15')
193
- Completed in 76ms (DB: 2) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
194
- Audit Load (0.2ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
195
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
196
- SQL (0.2ms)  SELECT name
197
- FROM sqlite_master
198
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
199
- 
200
- SQL (0.1ms) select sqlite_version(*)
201
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
202
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
203
- SQL (0.1ms)  SELECT name
204
- FROM sqlite_master
205
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
206
- 
207
- SQL (0.0ms) SELECT version FROM schema_migrations
208
- Migrating to CreateAudits (20100115021125)
209
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
210
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
211
- Migrating to CreatePosts (20100115021151)
212
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
213
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
214
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 05:21:23', '2010-01-15 05:21:23')
215
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
216
-
217
-
218
- Processing PostsController#update (for 0.0.0.0 at 2010-01-14 22:21:23) [PUT]
219
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
220
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
221
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 05:21:23' WHERE "id" = 1
222
- Redirected to http://test.host/posts/1
223
- WARNING: Can't mass-assign these protected attributes: id
224
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
225
- title:
226
- - Hello, World
227
- - First post!
228
- updated_at:
229
- - 2010-01-15 05:21:23 Z
230
- - 2010-01-15 05:21:23.881869 Z
231
- ', '2010-01-15 05:21:23', '2010-01-15 05:21:23')
232
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
233
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
234
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
235
- SQL (0.2ms)  SELECT name
236
- FROM sqlite_master
237
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
238
- 
239
- SQL (0.1ms) select sqlite_version(*)
240
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
241
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
242
- SQL (0.1ms)  SELECT name
243
- FROM sqlite_master
244
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
245
- 
246
- SQL (0.0ms) SELECT version FROM schema_migrations
247
- Migrating to CreateAudits (20100115021125)
248
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
249
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
250
- Migrating to CreatePosts (20100115021151)
251
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
252
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
253
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 05:22:27', '2010-01-15 05:22:27')
254
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
255
-
256
-
257
- Processing PostsController#update (for 0.0.0.0 at 2010-01-14 22:22:27) [PUT]
258
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
259
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
260
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 05:22:27' WHERE "id" = 1
261
- Redirected to http://test.host/posts/1
262
- WARNING: Can't mass-assign these protected attributes: id
263
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
264
- title:
265
- - Hello, World
266
- - First post!
267
- updated_at:
268
- - 2010-01-15 05:22:27 Z
269
- - 2010-01-15 05:22:27.549001 Z
270
- ', '2010-01-15 05:22:27', '2010-01-15 05:22:27')
271
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
272
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
273
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
274
- SQL (0.2ms)  SELECT name
275
- FROM sqlite_master
276
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
277
- 
278
- SQL (0.1ms) select sqlite_version(*)
279
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
280
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
281
- SQL (0.1ms)  SELECT name
282
- FROM sqlite_master
283
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
284
- 
285
- SQL (0.0ms) SELECT version FROM schema_migrations
286
- Migrating to CreateAudits (20100115021125)
287
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
288
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
289
- Migrating to CreatePosts (20100115021151)
290
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
291
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
292
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 05:22:49', '2010-01-15 05:22:49')
293
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
294
-
295
-
296
- Processing PostsController#update (for 0.0.0.0 at 2010-01-14 22:22:49) [PUT]
297
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
298
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
299
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 05:22:49' WHERE "id" = 1
300
- Redirected to http://test.host/posts/1
301
- WARNING: Can't mass-assign these protected attributes: id
302
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
303
- title:
304
- - Hello, World
305
- - First post!
306
- updated_at:
307
- - 2010-01-15 05:22:49 Z
308
- - 2010-01-15 05:22:49.384072 Z
309
- ', '2010-01-15 05:22:49', '2010-01-15 05:22:49')
310
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
311
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
312
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
313
- SQL (0.2ms)  SELECT name
314
- FROM sqlite_master
315
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
316
- 
317
- SQL (0.1ms) select sqlite_version(*)
318
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
319
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
320
- SQL (0.1ms)  SELECT name
321
- FROM sqlite_master
322
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
323
- 
324
- SQL (0.0ms) SELECT version FROM schema_migrations
325
- Migrating to CreateAudits (20100115021125)
326
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
327
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
328
- Migrating to CreatePosts (20100115021151)
329
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
330
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
331
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 05:23:18', '2010-01-15 05:23:18')
332
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
333
-
334
-
335
- Processing PostsController#update (for 0.0.0.0 at 2010-01-14 22:23:18) [PUT]
336
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
337
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
338
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 05:23:18' WHERE "id" = 1
339
- Redirected to http://test.host/posts/1
340
- WARNING: Can't mass-assign these protected attributes: id
341
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
342
- title:
343
- - Hello, World
344
- - First post!
345
- updated_at:
346
- - 2010-01-15 05:23:18 Z
347
- - 2010-01-15 05:23:18.400459 Z
348
- ', '2010-01-15 05:23:18', '2010-01-15 05:23:18')
349
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
350
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
351
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
352
- SQL (0.2ms)  SELECT name
353
- FROM sqlite_master
354
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
355
- 
356
- SQL (0.1ms) select sqlite_version(*)
357
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
358
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
359
- SQL (0.1ms)  SELECT name
360
- FROM sqlite_master
361
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
362
- 
363
- SQL (0.0ms) SELECT version FROM schema_migrations
364
- Migrating to CreateAudits (20100115021125)
365
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
366
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
367
- Migrating to CreatePosts (20100115021151)
368
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
369
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
370
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 05:23:29', '2010-01-15 05:23:29')
371
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
372
-
373
-
374
- Processing PostsController#update (for 0.0.0.0 at 2010-01-14 22:23:29) [PUT]
375
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
376
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
377
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 05:23:29' WHERE "id" = 1
378
- Redirected to http://test.host/posts/1
379
- WARNING: Can't mass-assign these protected attributes: id
380
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
381
- title:
382
- - Hello, World
383
- - First post!
384
- updated_at:
385
- - 2010-01-15 05:23:29 Z
386
- - 2010-01-15 05:23:29.951713 Z
387
- ', '2010-01-15 05:23:29', '2010-01-15 05:23:29')
388
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
389
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
390
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
391
- SQL (0.2ms)  SELECT name
392
- FROM sqlite_master
393
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
394
- 
395
- SQL (0.1ms) select sqlite_version(*)
396
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
397
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
398
- SQL (0.1ms)  SELECT name
399
- FROM sqlite_master
400
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
401
- 
402
- SQL (0.1ms) SELECT version FROM schema_migrations
403
- Migrating to CreateAudits (20100115021125)
404
- SQL (0.2ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
405
- SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
406
- Migrating to CreatePosts (20100115021151)
407
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
408
- SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
409
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 05:23:45', '2010-01-15 05:23:45')
410
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
411
-
412
-
413
- Processing PostsController#update (for 0.0.0.0 at 2010-01-14 22:23:45) [PUT]
414
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
415
- Post Load (0.2ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
416
- Post Update (0.1ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 05:23:45' WHERE "id" = 1
417
- Redirected to http://test.host/posts/1
418
- WARNING: Can't mass-assign these protected attributes: id
419
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
420
- title:
421
- - Hello, World
422
- - First post!
423
- updated_at:
424
- - 2010-01-15 05:23:45 Z
425
- - 2010-01-15 05:23:45.209463 Z
426
- ', '2010-01-15 05:23:45', '2010-01-15 05:23:45')
427
- Completed in 80ms (DB: 2) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
428
- Audit Load (0.2ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
429
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
430
- SQL (0.2ms)  SELECT name
431
- FROM sqlite_master
432
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
433
- 
434
- SQL (0.1ms) select sqlite_version(*)
435
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
436
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
437
- SQL (0.1ms)  SELECT name
438
- FROM sqlite_master
439
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
440
- 
441
- SQL (0.1ms) SELECT version FROM schema_migrations
442
- Migrating to CreateAudits (20100115021125)
443
- SQL (0.2ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
444
- SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
445
- Migrating to CreatePosts (20100115021151)
446
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
447
- SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
448
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 05:26:53', '2010-01-15 05:26:53')
449
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
450
-
451
-
452
- Processing PostsController#update (for 0.0.0.0 at 2010-01-14 22:26:53) [PUT]
453
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
454
- Post Load (0.2ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
455
- Post Update (0.1ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 05:26:53' WHERE "id" = 1
456
- Redirected to http://test.host/posts/1
457
- WARNING: Can't mass-assign these protected attributes: id
458
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
459
- title:
460
- - Hello, World
461
- - First post!
462
- updated_at:
463
- - 2010-01-15 05:26:53 Z
464
- - 2010-01-15 05:26:53.660386 Z
465
- ', '2010-01-15 05:26:53', '2010-01-15 05:26:53')
466
- Completed in 76ms (DB: 2) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
467
- Audit Load (0.2ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
468
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
469
- SQL (1.0ms)  SELECT name
470
- FROM sqlite_master
471
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
472
- 
473
- SQL (0.2ms) select sqlite_version(*)
474
- SQL (0.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
475
- SQL (0.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
476
- SQL (0.1ms)  SELECT name
477
- FROM sqlite_master
478
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
479
- 
480
- SQL (0.1ms) SELECT version FROM schema_migrations
481
- Migrating to CreateAudits (20100115021125)
482
- SQL (0.4ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
483
- SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
484
- Migrating to CreatePosts (20100115021151)
485
- SQL (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
486
- SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
487
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 22:39:47', '2010-01-15 22:39:47')
488
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
489
-
490
-
491
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 15:39:47) [PUT]
492
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
493
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
494
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 22:39:47' WHERE "id" = 1
495
- Redirected to http://test.host/posts/1
496
- WARNING: Can't mass-assign these protected attributes: id
497
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
498
- title:
499
- - Hello, World
500
- - First post!
501
- updated_at:
502
- - 2010-01-15 22:39:47 Z
503
- - 2010-01-15 22:39:47.533597 Z
504
- ', '2010-01-15 22:39:47', '2010-01-15 22:39:47')
505
- Completed in 89ms (DB: 3) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
506
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
507
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
508
- SQL (0.2ms)  SELECT name
509
- FROM sqlite_master
510
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
511
- 
512
- SQL (0.1ms) select sqlite_version(*)
513
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
514
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
515
- SQL (0.1ms)  SELECT name
516
- FROM sqlite_master
517
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
518
- 
519
- SQL (0.0ms) SELECT version FROM schema_migrations
520
- Migrating to CreateAudits (20100115021125)
521
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
522
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
523
- Migrating to CreatePosts (20100115021151)
524
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
525
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
526
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 22:40:31', '2010-01-15 22:40:31')
527
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
528
-
529
-
530
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 15:40:31) [PUT]
531
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
532
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
533
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 22:40:31' WHERE "id" = 1
534
- Redirected to http://test.host/posts/1
535
- WARNING: Can't mass-assign these protected attributes: id
536
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
537
- title:
538
- - Hello, World
539
- - First post!
540
- updated_at:
541
- - 2010-01-15 22:40:31 Z
542
- - 2010-01-15 22:40:31.606396 Z
543
- ', '2010-01-15 22:40:31', '2010-01-15 22:40:31')
544
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
545
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
546
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
547
- SQL (0.2ms)  SELECT name
548
- FROM sqlite_master
549
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
550
- 
551
- SQL (0.1ms) select sqlite_version(*)
552
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
553
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
554
- SQL (0.1ms)  SELECT name
555
- FROM sqlite_master
556
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
557
- 
558
- SQL (0.0ms) SELECT version FROM schema_migrations
559
- Migrating to CreateAudits (20100115021125)
560
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
561
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
562
- Migrating to CreatePosts (20100115021151)
563
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
564
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
565
- SQL (0.2ms)  SELECT name
566
- FROM sqlite_master
567
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
568
- 
569
- SQL (0.1ms) select sqlite_version(*)
570
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
571
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
572
- SQL (0.1ms)  SELECT name
573
- FROM sqlite_master
574
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
575
- 
576
- SQL (0.0ms) SELECT version FROM schema_migrations
577
- Migrating to CreateAudits (20100115021125)
578
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
579
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
580
- Migrating to CreatePosts (20100115021151)
581
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
582
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
583
- SQL (0.2ms)  SELECT name
584
- FROM sqlite_master
585
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
586
- 
587
- SQL (0.1ms) select sqlite_version(*)
588
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
589
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
590
- SQL (0.1ms)  SELECT name
591
- FROM sqlite_master
592
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
593
- 
594
- SQL (0.0ms) SELECT version FROM schema_migrations
595
- Migrating to CreateAudits (20100115021125)
596
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
597
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
598
- Migrating to CreatePosts (20100115021151)
599
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
600
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
601
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 22:41:56', '2010-01-15 22:41:56')
602
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
603
-
604
-
605
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 15:41:56) [PUT]
606
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
607
- Post Load (0.2ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
608
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 22:41:56' WHERE "id" = 1
609
- Redirected to http://test.host/posts/1
610
- WARNING: Can't mass-assign these protected attributes: id
611
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
612
- title:
613
- - Hello, World
614
- - First post!
615
- updated_at:
616
- - 2010-01-15 22:41:56 Z
617
- - 2010-01-15 22:41:56.614630 Z
618
- ', '2010-01-15 22:41:56', '2010-01-15 22:41:56')
619
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
620
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
621
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
622
- SQL (0.2ms)  SELECT name
623
- FROM sqlite_master
624
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
625
- 
626
- SQL (0.1ms) select sqlite_version(*)
627
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
628
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
629
- SQL (0.1ms)  SELECT name
630
- FROM sqlite_master
631
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
632
- 
633
- SQL (0.0ms) SELECT version FROM schema_migrations
634
- Migrating to CreateAudits (20100115021125)
635
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
636
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
637
- Migrating to CreatePosts (20100115021151)
638
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
639
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
640
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 22:43:28', '2010-01-15 22:43:28')
641
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
642
-
643
-
644
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 15:43:28) [PUT]
645
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
646
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
647
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 22:43:28' WHERE "id" = 1
648
- Redirected to http://test.host/posts/1
649
- WARNING: Can't mass-assign these protected attributes: id
650
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
651
- title:
652
- - Hello, World
653
- - First post!
654
- updated_at:
655
- - 2010-01-15 22:43:28 Z
656
- - 2010-01-15 22:43:28.323670 Z
657
- ', '2010-01-15 22:43:28', '2010-01-15 22:43:28')
658
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
659
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
660
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
661
- SQL (0.2ms)  SELECT name
662
- FROM sqlite_master
663
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
664
- 
665
- SQL (0.1ms) select sqlite_version(*)
666
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
667
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
668
- SQL (0.1ms)  SELECT name
669
- FROM sqlite_master
670
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
671
- 
672
- SQL (0.0ms) SELECT version FROM schema_migrations
673
- Migrating to CreateAudits (20100115021125)
674
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
675
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
676
- Migrating to CreatePosts (20100115021151)
677
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
678
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
679
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 22:43:59', '2010-01-15 22:43:59')
680
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
681
-
682
-
683
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 15:43:59) [PUT]
684
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
685
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
686
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 22:43:59' WHERE "id" = 1
687
- Redirected to http://test.host/posts/1
688
- WARNING: Can't mass-assign these protected attributes: id
689
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
690
- title:
691
- - Hello, World
692
- - First post!
693
- updated_at:
694
- - 2010-01-15 22:43:59 Z
695
- - 2010-01-15 22:43:59.909430 Z
696
- ', '2010-01-15 22:43:59', '2010-01-15 22:43:59')
697
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
698
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
699
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
700
- SQL (0.2ms)  SELECT name
701
- FROM sqlite_master
702
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
703
- 
704
- SQL (0.1ms) select sqlite_version(*)
705
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
706
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
707
- SQL (0.1ms)  SELECT name
708
- FROM sqlite_master
709
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
710
- 
711
- SQL (0.0ms) SELECT version FROM schema_migrations
712
- Migrating to CreateAudits (20100115021125)
713
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
714
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
715
- Migrating to CreatePosts (20100115021151)
716
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
717
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
718
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 22:44:20', '2010-01-15 22:44:20')
719
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
720
-
721
-
722
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 15:44:20) [PUT]
723
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
724
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
725
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 22:44:20' WHERE "id" = 1
726
- Redirected to http://test.host/posts/1
727
- WARNING: Can't mass-assign these protected attributes: id
728
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
729
- title:
730
- - Hello, World
731
- - First post!
732
- updated_at:
733
- - 2010-01-15 22:44:20 Z
734
- - 2010-01-15 22:44:20.780466 Z
735
- ', '2010-01-15 22:44:20', '2010-01-15 22:44:20')
736
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
737
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
738
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
739
- SQL (0.2ms)  SELECT name
740
- FROM sqlite_master
741
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
742
- 
743
- SQL (0.1ms) select sqlite_version(*)
744
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
745
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
746
- SQL (0.1ms)  SELECT name
747
- FROM sqlite_master
748
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
749
- 
750
- SQL (0.0ms) SELECT version FROM schema_migrations
751
- Migrating to CreateAudits (20100115021125)
752
- SQL (0.2ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
753
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
754
- Migrating to CreatePosts (20100115021151)
755
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
756
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
757
- SQL (0.2ms)  SELECT name
758
- FROM sqlite_master
759
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
760
- 
761
- SQL (0.1ms) select sqlite_version(*)
762
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
763
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
764
- SQL (0.1ms)  SELECT name
765
- FROM sqlite_master
766
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
767
- 
768
- SQL (0.0ms) SELECT version FROM schema_migrations
769
- Migrating to CreateAudits (20100115021125)
770
- SQL (0.2ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
771
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
772
- Migrating to CreatePosts (20100115021151)
773
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
774
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
775
- SQL (0.2ms)  SELECT name
776
- FROM sqlite_master
777
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
778
- 
779
- SQL (0.1ms) select sqlite_version(*)
780
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
781
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
782
- SQL (0.1ms)  SELECT name
783
- FROM sqlite_master
784
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
785
- 
786
- SQL (0.0ms) SELECT version FROM schema_migrations
787
- Migrating to CreateAudits (20100115021125)
788
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
789
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
790
- Migrating to CreatePosts (20100115021151)
791
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
792
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
793
- SQL (0.2ms)  SELECT name
794
- FROM sqlite_master
795
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
796
- 
797
- SQL (0.1ms) select sqlite_version(*)
798
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
799
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
800
- SQL (0.1ms)  SELECT name
801
- FROM sqlite_master
802
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
803
- 
804
- SQL (0.0ms) SELECT version FROM schema_migrations
805
- Migrating to CreateAudits (20100115021125)
806
- SQL (0.2ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
807
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
808
- Migrating to CreatePosts (20100115021151)
809
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
810
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
811
- SQL (0.2ms)  SELECT name
812
- FROM sqlite_master
813
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
814
- 
815
- SQL (0.1ms) select sqlite_version(*)
816
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
817
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
818
- SQL (0.1ms)  SELECT name
819
- FROM sqlite_master
820
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
821
- 
822
- SQL (0.0ms) SELECT version FROM schema_migrations
823
- Migrating to CreateAudits (20100115021125)
824
- SQL (0.2ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
825
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
826
- Migrating to CreatePosts (20100115021151)
827
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
828
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
829
- SQL (0.2ms)  SELECT name
830
- FROM sqlite_master
831
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
832
- 
833
- SQL (0.1ms) select sqlite_version(*)
834
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
835
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
836
- SQL (0.1ms)  SELECT name
837
- FROM sqlite_master
838
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
839
- 
840
- SQL (0.0ms) SELECT version FROM schema_migrations
841
- Migrating to CreateAudits (20100115021125)
842
- SQL (0.2ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
843
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
844
- Migrating to CreatePosts (20100115021151)
845
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
846
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
847
- SQL (0.2ms)  SELECT name
848
- FROM sqlite_master
849
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
850
- 
851
- SQL (0.1ms) select sqlite_version(*)
852
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
853
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
854
- SQL (0.1ms)  SELECT name
855
- FROM sqlite_master
856
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
857
- 
858
- SQL (0.0ms) SELECT version FROM schema_migrations
859
- Migrating to CreateAudits (20100115021125)
860
- SQL (0.2ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
861
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
862
- Migrating to CreatePosts (20100115021151)
863
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
864
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
865
- SQL (0.2ms)  SELECT name
866
- FROM sqlite_master
867
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
868
- 
869
- SQL (0.1ms) select sqlite_version(*)
870
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
871
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
872
- SQL (0.1ms)  SELECT name
873
- FROM sqlite_master
874
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
875
- 
876
- SQL (0.0ms) SELECT version FROM schema_migrations
877
- Migrating to CreateAudits (20100115021125)
878
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
879
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
880
- Migrating to CreatePosts (20100115021151)
881
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
882
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
883
- SQL (0.2ms)  SELECT name
884
- FROM sqlite_master
885
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
886
- 
887
- SQL (0.1ms)  SELECT name
888
- FROM sqlite_master
889
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
890
- 
891
- SQL (0.1ms)  SELECT name
892
- FROM sqlite_master
893
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
894
- 
895
- SQL (0.2ms)  SELECT name
896
- FROM sqlite_master
897
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
898
- 
899
- SQL (0.1ms) select sqlite_version(*)
900
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
901
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
902
- SQL (0.1ms)  SELECT name
903
- FROM sqlite_master
904
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
905
- 
906
- SQL (0.0ms) SELECT version FROM schema_migrations
907
- Migrating to CreateAudits (20100115021125)
908
- SQL (0.2ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
909
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
910
- Migrating to CreatePosts (20100115021151)
911
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
912
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
913
- SQL (0.2ms)  SELECT name
914
- FROM sqlite_master
915
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
916
- 
917
- SQL (0.1ms)  SELECT name
918
- FROM sqlite_master
919
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
920
- 
921
- SQL (0.1ms)  SELECT name
922
- FROM sqlite_master
923
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
924
- 
925
- SQL (0.2ms)  SELECT name
926
- FROM sqlite_master
927
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
928
- 
929
- SQL (0.1ms) select sqlite_version(*)
930
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
931
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
932
- SQL (0.1ms)  SELECT name
933
- FROM sqlite_master
934
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
935
- 
936
- SQL (0.0ms) SELECT version FROM schema_migrations
937
- Migrating to CreateAudits (20100115021125)
938
- SQL (0.2ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
939
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
940
- Migrating to CreatePosts (20100115021151)
941
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
942
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
943
- SQL (0.2ms)  SELECT name
944
- FROM sqlite_master
945
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
946
- 
947
- SQL (0.2ms)  SELECT name
948
- FROM sqlite_master
949
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
950
- 
951
- SQL (0.1ms) select sqlite_version(*)
952
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
953
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
954
- SQL (0.1ms)  SELECT name
955
- FROM sqlite_master
956
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
957
- 
958
- SQL (0.0ms) SELECT version FROM schema_migrations
959
- Migrating to CreateAudits (20100115021125)
960
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
961
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
962
- Migrating to CreatePosts (20100115021151)
963
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
964
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
965
- SQL (0.2ms)  SELECT name
966
- FROM sqlite_master
967
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
968
- 
969
- SQL (0.2ms)  SELECT name
970
- FROM sqlite_master
971
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
972
- 
973
- SQL (0.1ms) select sqlite_version(*)
974
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
975
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
976
- SQL (0.1ms)  SELECT name
977
- FROM sqlite_master
978
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
979
- 
980
- SQL (0.0ms) SELECT version FROM schema_migrations
981
- Migrating to CreateAudits (20100115021125)
982
- SQL (0.2ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
983
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
984
- Migrating to CreatePosts (20100115021151)
985
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
986
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
987
- SQL (0.2ms)  SELECT name
988
- FROM sqlite_master
989
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
990
- 
991
- SQL (0.1ms) select sqlite_version(*)
992
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
993
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
994
- SQL (0.1ms)  SELECT name
995
- FROM sqlite_master
996
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
997
- 
998
- SQL (0.0ms) SELECT version FROM schema_migrations
999
- Migrating to CreateAudits (20100115021125)
1000
- SQL (0.2ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1001
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1002
- Migrating to CreatePosts (20100115021151)
1003
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1004
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1005
- SQL (0.2ms)  SELECT name
1006
- FROM sqlite_master
1007
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1008
- 
1009
- SQL (0.1ms) select sqlite_version(*)
1010
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1011
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1012
- SQL (0.1ms)  SELECT name
1013
- FROM sqlite_master
1014
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1015
- 
1016
- SQL (0.0ms) SELECT version FROM schema_migrations
1017
- Migrating to CreateAudits (20100115021125)
1018
- SQL (0.2ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1019
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1020
- Migrating to CreatePosts (20100115021151)
1021
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1022
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1023
- SQL (0.2ms)  SELECT name
1024
- FROM sqlite_master
1025
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1026
- 
1027
- SQL (0.1ms) select sqlite_version(*)
1028
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1029
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1030
- SQL (0.1ms)  SELECT name
1031
- FROM sqlite_master
1032
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1033
- 
1034
- SQL (0.0ms) SELECT version FROM schema_migrations
1035
- Migrating to CreateAudits (20100115021125)
1036
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1037
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1038
- Migrating to CreatePosts (20100115021151)
1039
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1040
- SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1041
- SQL (0.2ms)  SELECT name
1042
- FROM sqlite_master
1043
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1044
- 
1045
- SQL (0.1ms) select sqlite_version(*)
1046
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1047
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1048
- SQL (0.1ms)  SELECT name
1049
- FROM sqlite_master
1050
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1051
- 
1052
- SQL (0.0ms) SELECT version FROM schema_migrations
1053
- Migrating to CreateAudits (20100115021125)
1054
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1055
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1056
- Migrating to CreatePosts (20100115021151)
1057
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1058
- SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1059
- SQL (0.2ms)  SELECT name
1060
- FROM sqlite_master
1061
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1062
- 
1063
- SQL (0.1ms) select sqlite_version(*)
1064
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1065
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1066
- SQL (0.1ms)  SELECT name
1067
- FROM sqlite_master
1068
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1069
- 
1070
- SQL (0.0ms) SELECT version FROM schema_migrations
1071
- Migrating to CreateAudits (20100115021125)
1072
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1073
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1074
- Migrating to CreatePosts (20100115021151)
1075
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1076
- SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1077
- SQL (0.2ms)  SELECT name
1078
- FROM sqlite_master
1079
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1080
- 
1081
- SQL (0.1ms) select sqlite_version(*)
1082
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1083
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1084
- SQL (0.1ms)  SELECT name
1085
- FROM sqlite_master
1086
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1087
- 
1088
- SQL (0.0ms) SELECT version FROM schema_migrations
1089
- Migrating to CreateAudits (20100115021125)
1090
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1091
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1092
- Migrating to CreatePosts (20100115021151)
1093
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1094
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1095
- SQL (0.2ms)  SELECT name
1096
- FROM sqlite_master
1097
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1098
- 
1099
- SQL (0.1ms) select sqlite_version(*)
1100
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1101
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1102
- SQL (0.1ms)  SELECT name
1103
- FROM sqlite_master
1104
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1105
- 
1106
- SQL (0.0ms) SELECT version FROM schema_migrations
1107
- Migrating to CreateAudits (20100115021125)
1108
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1109
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1110
- Migrating to CreatePosts (20100115021151)
1111
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1112
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1113
- SQL (0.2ms)  SELECT name
1114
- FROM sqlite_master
1115
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1116
- 
1117
- SQL (0.1ms) select sqlite_version(*)
1118
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1119
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1120
- SQL (0.1ms)  SELECT name
1121
- FROM sqlite_master
1122
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1123
- 
1124
- SQL (0.0ms) SELECT version FROM schema_migrations
1125
- Migrating to CreateAudits (20100115021125)
1126
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1127
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1128
- Migrating to CreatePosts (20100115021151)
1129
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1130
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1131
- SQL (0.2ms)  SELECT name
1132
- FROM sqlite_master
1133
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1134
- 
1135
- SQL (0.1ms) select sqlite_version(*)
1136
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1137
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1138
- SQL (0.1ms)  SELECT name
1139
- FROM sqlite_master
1140
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1141
- 
1142
- SQL (0.0ms) SELECT version FROM schema_migrations
1143
- Migrating to CreateAudits (20100115021125)
1144
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1145
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1146
- Migrating to CreatePosts (20100115021151)
1147
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1148
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1149
- SQL (0.2ms)  SELECT name
1150
- FROM sqlite_master
1151
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1152
- 
1153
- SQL (0.1ms) select sqlite_version(*)
1154
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1155
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1156
- SQL (0.1ms)  SELECT name
1157
- FROM sqlite_master
1158
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1159
- 
1160
- SQL (0.0ms) SELECT version FROM schema_migrations
1161
- Migrating to CreateAudits (20100115021125)
1162
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1163
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1164
- Migrating to CreatePosts (20100115021151)
1165
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1166
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1167
- SQL (0.2ms)  SELECT name
1168
- FROM sqlite_master
1169
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1170
- 
1171
- SQL (0.1ms) select sqlite_version(*)
1172
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1173
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1174
- SQL (0.1ms)  SELECT name
1175
- FROM sqlite_master
1176
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1177
- 
1178
- SQL (0.0ms) SELECT version FROM schema_migrations
1179
- Migrating to CreateAudits (20100115021125)
1180
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1181
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1182
- Migrating to CreatePosts (20100115021151)
1183
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1184
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1185
- SQL (0.2ms)  SELECT name
1186
- FROM sqlite_master
1187
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1188
- 
1189
- SQL (0.1ms) select sqlite_version(*)
1190
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1191
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1192
- SQL (0.1ms)  SELECT name
1193
- FROM sqlite_master
1194
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1195
- 
1196
- SQL (0.0ms) SELECT version FROM schema_migrations
1197
- Migrating to CreateAudits (20100115021125)
1198
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1199
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1200
- Migrating to CreatePosts (20100115021151)
1201
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1202
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1203
- SQL (0.2ms)  SELECT name
1204
- FROM sqlite_master
1205
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1206
- 
1207
- SQL (0.1ms) select sqlite_version(*)
1208
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1209
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1210
- SQL (0.1ms)  SELECT name
1211
- FROM sqlite_master
1212
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1213
- 
1214
- SQL (0.0ms) SELECT version FROM schema_migrations
1215
- Migrating to CreateAudits (20100115021125)
1216
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1217
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1218
- Migrating to CreatePosts (20100115021151)
1219
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1220
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1221
- SQL (0.2ms)  SELECT name
1222
- FROM sqlite_master
1223
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1224
- 
1225
- SQL (0.1ms) select sqlite_version(*)
1226
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1227
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1228
- SQL (0.1ms)  SELECT name
1229
- FROM sqlite_master
1230
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1231
- 
1232
- SQL (0.0ms) SELECT version FROM schema_migrations
1233
- Migrating to CreateAudits (20100115021125)
1234
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1235
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1236
- Migrating to CreatePosts (20100115021151)
1237
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1238
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1239
- SQL (0.2ms)  SELECT name
1240
- FROM sqlite_master
1241
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1242
- 
1243
- SQL (0.1ms) select sqlite_version(*)
1244
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1245
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1246
- SQL (0.1ms)  SELECT name
1247
- FROM sqlite_master
1248
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1249
- 
1250
- SQL (0.0ms) SELECT version FROM schema_migrations
1251
- Migrating to CreateAudits (20100115021125)
1252
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1253
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1254
- Migrating to CreatePosts (20100115021151)
1255
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1256
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1257
- SQL (0.2ms)  SELECT name
1258
- FROM sqlite_master
1259
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1260
- 
1261
- SQL (0.1ms) select sqlite_version(*)
1262
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1263
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1264
- SQL (0.1ms)  SELECT name
1265
- FROM sqlite_master
1266
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1267
- 
1268
- SQL (0.0ms) SELECT version FROM schema_migrations
1269
- Migrating to CreateAudits (20100115021125)
1270
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1271
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1272
- Migrating to CreatePosts (20100115021151)
1273
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1274
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1275
- SQL (0.2ms)  SELECT name
1276
- FROM sqlite_master
1277
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1278
- 
1279
- SQL (0.1ms) select sqlite_version(*)
1280
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1281
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1282
- SQL (0.1ms)  SELECT name
1283
- FROM sqlite_master
1284
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1285
- 
1286
- SQL (0.0ms) SELECT version FROM schema_migrations
1287
- Migrating to CreateAudits (20100115021125)
1288
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1289
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1290
- Migrating to CreatePosts (20100115021151)
1291
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1292
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1293
- SQL (0.2ms)  SELECT name
1294
- FROM sqlite_master
1295
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1296
- 
1297
- SQL (0.1ms) select sqlite_version(*)
1298
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1299
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1300
- SQL (0.1ms)  SELECT name
1301
- FROM sqlite_master
1302
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1303
- 
1304
- SQL (0.0ms) SELECT version FROM schema_migrations
1305
- Migrating to CreateAudits (20100115021125)
1306
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1307
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1308
- Migrating to CreatePosts (20100115021151)
1309
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1310
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1311
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:30:03', '2010-01-15 23:30:03')
1312
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1313
-
1314
-
1315
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:30:03) [PUT]
1316
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1317
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1318
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:30:03' WHERE "id" = 1
1319
- Redirected to http://test.host/posts/1
1320
- WARNING: Can't mass-assign these protected attributes: id
1321
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1322
- title:
1323
- - Hello, World
1324
- - First post!
1325
- updated_at:
1326
- - 2010-01-15 23:30:03 Z
1327
- - 2010-01-15 23:30:03.212436 Z
1328
- ', '2010-01-15 23:30:03', '2010-01-15 23:30:03')
1329
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1330
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1331
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1332
- SQL (0.2ms)  SELECT name
1333
- FROM sqlite_master
1334
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1335
- 
1336
- SQL (0.1ms) select sqlite_version(*)
1337
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1338
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1339
- SQL (0.1ms)  SELECT name
1340
- FROM sqlite_master
1341
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1342
- 
1343
- SQL (0.0ms) SELECT version FROM schema_migrations
1344
- Migrating to CreateAudits (20100115021125)
1345
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1346
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1347
- Migrating to CreatePosts (20100115021151)
1348
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1349
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1350
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:40:21', '2010-01-15 23:40:21')
1351
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1352
-
1353
-
1354
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:40:21) [PUT]
1355
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1356
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1357
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:40:21' WHERE "id" = 1
1358
- Redirected to http://test.host/posts/1
1359
- WARNING: Can't mass-assign these protected attributes: id
1360
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1361
- title:
1362
- - Hello, World
1363
- - First post!
1364
- updated_at:
1365
- - 2010-01-15 23:40:21 Z
1366
- - 2010-01-15 23:40:21.911589 Z
1367
- ', '2010-01-15 23:40:21', '2010-01-15 23:40:21')
1368
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1369
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1370
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1371
- SQL (0.2ms)  SELECT name
1372
- FROM sqlite_master
1373
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1374
- 
1375
- SQL (0.1ms) select sqlite_version(*)
1376
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1377
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1378
- SQL (0.1ms)  SELECT name
1379
- FROM sqlite_master
1380
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1381
- 
1382
- SQL (0.0ms) SELECT version FROM schema_migrations
1383
- Migrating to CreateAudits (20100115021125)
1384
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1385
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1386
- Migrating to CreatePosts (20100115021151)
1387
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1388
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1389
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:41:15', '2010-01-15 23:41:15')
1390
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1391
-
1392
-
1393
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:41:15) [PUT]
1394
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1395
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1396
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:41:15' WHERE "id" = 1
1397
- Redirected to http://test.host/posts/1
1398
- WARNING: Can't mass-assign these protected attributes: id
1399
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1400
- title:
1401
- - Hello, World
1402
- - First post!
1403
- updated_at:
1404
- - 2010-01-15 23:41:15 Z
1405
- - 2010-01-15 23:41:15.796708 Z
1406
- ', '2010-01-15 23:41:15', '2010-01-15 23:41:15')
1407
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1408
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1409
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1410
- SQL (0.2ms)  SELECT name
1411
- FROM sqlite_master
1412
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1413
- 
1414
- SQL (0.1ms) select sqlite_version(*)
1415
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1416
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1417
- SQL (0.1ms)  SELECT name
1418
- FROM sqlite_master
1419
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1420
- 
1421
- SQL (0.0ms) SELECT version FROM schema_migrations
1422
- Migrating to CreateAudits (20100115021125)
1423
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1424
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1425
- Migrating to CreatePosts (20100115021151)
1426
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1427
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1428
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:42:54', '2010-01-15 23:42:54')
1429
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1430
-
1431
-
1432
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:42:54) [PUT]
1433
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1434
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1435
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:42:54' WHERE "id" = 1
1436
- Redirected to http://test.host/posts/1
1437
- WARNING: Can't mass-assign these protected attributes: id
1438
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1439
- title:
1440
- - Hello, World
1441
- - First post!
1442
- updated_at:
1443
- - 2010-01-15 23:42:54 Z
1444
- - 2010-01-15 23:42:54.425155 Z
1445
- ', '2010-01-15 23:42:54', '2010-01-15 23:42:54')
1446
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1447
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1448
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1449
- SQL (0.2ms)  SELECT name
1450
- FROM sqlite_master
1451
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1452
- 
1453
- SQL (0.1ms) select sqlite_version(*)
1454
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1455
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1456
- SQL (0.1ms)  SELECT name
1457
- FROM sqlite_master
1458
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1459
- 
1460
- SQL (0.0ms) SELECT version FROM schema_migrations
1461
- Migrating to CreateAudits (20100115021125)
1462
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1463
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1464
- Migrating to CreatePosts (20100115021151)
1465
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1466
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1467
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:43:07', '2010-01-15 23:43:07')
1468
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1469
-
1470
-
1471
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:43:07) [PUT]
1472
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1473
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1474
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:43:07' WHERE "id" = 1
1475
- Redirected to http://test.host/posts/1
1476
- WARNING: Can't mass-assign these protected attributes: id
1477
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1478
- title:
1479
- - Hello, World
1480
- - First post!
1481
- updated_at:
1482
- - 2010-01-15 23:43:07 Z
1483
- - 2010-01-15 23:43:07.160079 Z
1484
- ', '2010-01-15 23:43:07', '2010-01-15 23:43:07')
1485
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1486
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1487
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1488
- SQL (0.2ms)  SELECT name
1489
- FROM sqlite_master
1490
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1491
- 
1492
- SQL (0.1ms) select sqlite_version(*)
1493
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1494
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1495
- SQL (0.1ms)  SELECT name
1496
- FROM sqlite_master
1497
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1498
- 
1499
- SQL (0.0ms) SELECT version FROM schema_migrations
1500
- Migrating to CreateAudits (20100115021125)
1501
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1502
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1503
- Migrating to CreatePosts (20100115021151)
1504
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1505
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1506
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:43:48', '2010-01-15 23:43:48')
1507
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1508
-
1509
-
1510
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:43:48) [PUT]
1511
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1512
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1513
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:43:48' WHERE "id" = 1
1514
- Redirected to http://test.host/posts/1
1515
- WARNING: Can't mass-assign these protected attributes: id
1516
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1517
- title:
1518
- - Hello, World
1519
- - First post!
1520
- updated_at:
1521
- - 2010-01-15 23:43:48 Z
1522
- - 2010-01-15 23:43:48.335015 Z
1523
- ', '2010-01-15 23:43:48', '2010-01-15 23:43:48')
1524
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1525
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1526
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1527
- SQL (0.2ms)  SELECT name
1528
- FROM sqlite_master
1529
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1530
- 
1531
- SQL (0.1ms) select sqlite_version(*)
1532
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1533
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1534
- SQL (0.1ms)  SELECT name
1535
- FROM sqlite_master
1536
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1537
- 
1538
- SQL (0.0ms) SELECT version FROM schema_migrations
1539
- Migrating to CreateAudits (20100115021125)
1540
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1541
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1542
- Migrating to CreatePosts (20100115021151)
1543
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1544
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1545
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:45:22', '2010-01-15 23:45:22')
1546
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1547
-
1548
-
1549
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:45:22) [PUT]
1550
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1551
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1552
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:45:22' WHERE "id" = 1
1553
- Redirected to http://test.host/posts/1
1554
- WARNING: Can't mass-assign these protected attributes: id
1555
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1556
- title:
1557
- - Hello, World
1558
- - First post!
1559
- updated_at:
1560
- - 2010-01-15 23:45:22 Z
1561
- - 2010-01-15 23:45:22.057539 Z
1562
- ', '2010-01-15 23:45:22', '2010-01-15 23:45:22')
1563
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1564
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1565
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1566
- SQL (0.2ms)  SELECT name
1567
- FROM sqlite_master
1568
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1569
- 
1570
- SQL (0.1ms) select sqlite_version(*)
1571
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1572
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1573
- SQL (0.1ms)  SELECT name
1574
- FROM sqlite_master
1575
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1576
- 
1577
- SQL (0.0ms) SELECT version FROM schema_migrations
1578
- Migrating to CreateAudits (20100115021125)
1579
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1580
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1581
- Migrating to CreatePosts (20100115021151)
1582
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1583
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1584
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:45:43', '2010-01-15 23:45:43')
1585
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1586
-
1587
-
1588
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:45:43) [PUT]
1589
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1590
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1591
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:45:43' WHERE "id" = 1
1592
- Redirected to http://test.host/posts/1
1593
- WARNING: Can't mass-assign these protected attributes: id
1594
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1595
- title:
1596
- - Hello, World
1597
- - First post!
1598
- updated_at:
1599
- - 2010-01-15 23:45:43 Z
1600
- - 2010-01-15 23:45:43.160303 Z
1601
- ', '2010-01-15 23:45:43', '2010-01-15 23:45:43')
1602
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1603
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1604
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1605
- SQL (0.2ms)  SELECT name
1606
- FROM sqlite_master
1607
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1608
- 
1609
- SQL (0.1ms) select sqlite_version(*)
1610
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1611
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1612
- SQL (0.1ms)  SELECT name
1613
- FROM sqlite_master
1614
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1615
- 
1616
- SQL (0.0ms) SELECT version FROM schema_migrations
1617
- Migrating to CreateAudits (20100115021125)
1618
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1619
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1620
- Migrating to CreatePosts (20100115021151)
1621
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1622
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1623
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:46:49', '2010-01-15 23:46:49')
1624
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1625
-
1626
-
1627
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:46:49) [PUT]
1628
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1629
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1630
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:46:49' WHERE "id" = 1
1631
- Redirected to http://test.host/posts/1
1632
- WARNING: Can't mass-assign these protected attributes: id
1633
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1634
- title:
1635
- - Hello, World
1636
- - First post!
1637
- updated_at:
1638
- - 2010-01-15 23:46:49 Z
1639
- - 2010-01-15 23:46:49.283441 Z
1640
- ', '2010-01-15 23:46:49', '2010-01-15 23:46:49')
1641
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1642
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1643
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1644
- SQL (0.2ms)  SELECT name
1645
- FROM sqlite_master
1646
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1647
- 
1648
- SQL (0.1ms) select sqlite_version(*)
1649
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1650
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1651
- SQL (0.1ms)  SELECT name
1652
- FROM sqlite_master
1653
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1654
- 
1655
- SQL (0.0ms) SELECT version FROM schema_migrations
1656
- Migrating to CreateAudits (20100115021125)
1657
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1658
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1659
- Migrating to CreatePosts (20100115021151)
1660
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1661
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1662
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:47:42', '2010-01-15 23:47:42')
1663
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1664
-
1665
-
1666
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:47:42) [PUT]
1667
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1668
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1669
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:47:42' WHERE "id" = 1
1670
- Redirected to http://test.host/posts/1
1671
- WARNING: Can't mass-assign these protected attributes: id
1672
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1673
- title:
1674
- - Hello, World
1675
- - First post!
1676
- updated_at:
1677
- - 2010-01-15 23:47:42 Z
1678
- - 2010-01-15 23:47:42.539161 Z
1679
- ', '2010-01-15 23:47:42', '2010-01-15 23:47:42')
1680
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1681
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1682
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1683
- SQL (0.2ms)  SELECT name
1684
- FROM sqlite_master
1685
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1686
- 
1687
- SQL (0.1ms) select sqlite_version(*)
1688
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1689
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1690
- SQL (0.1ms)  SELECT name
1691
- FROM sqlite_master
1692
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1693
- 
1694
- SQL (0.0ms) SELECT version FROM schema_migrations
1695
- Migrating to CreateAudits (20100115021125)
1696
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1697
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1698
- Migrating to CreatePosts (20100115021151)
1699
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1700
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1701
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:49:08', '2010-01-15 23:49:08')
1702
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1703
-
1704
-
1705
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:49:08) [PUT]
1706
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1707
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1708
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:49:08' WHERE "id" = 1
1709
- Redirected to http://test.host/posts/1
1710
- WARNING: Can't mass-assign these protected attributes: id
1711
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1712
- title:
1713
- - Hello, World
1714
- - First post!
1715
- updated_at:
1716
- - 2010-01-15 23:49:08 Z
1717
- - 2010-01-15 23:49:08.646738 Z
1718
- ', '2010-01-15 23:49:08', '2010-01-15 23:49:08')
1719
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1720
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1721
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1722
- SQL (0.2ms)  SELECT name
1723
- FROM sqlite_master
1724
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1725
- 
1726
- SQL (0.1ms) select sqlite_version(*)
1727
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1728
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1729
- SQL (0.1ms)  SELECT name
1730
- FROM sqlite_master
1731
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1732
- 
1733
- SQL (0.0ms) SELECT version FROM schema_migrations
1734
- Migrating to CreateAudits (20100115021125)
1735
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1736
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1737
- Migrating to CreatePosts (20100115021151)
1738
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1739
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1740
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:50:49', '2010-01-15 23:50:49')
1741
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1742
-
1743
-
1744
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:50:49) [PUT]
1745
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1746
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1747
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:50:49' WHERE "id" = 1
1748
- Redirected to http://test.host/posts/1
1749
- WARNING: Can't mass-assign these protected attributes: id
1750
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1751
- title:
1752
- - Hello, World
1753
- - First post!
1754
- updated_at:
1755
- - 2010-01-15 23:50:49 Z
1756
- - 2010-01-15 23:50:49.292691 Z
1757
- ', '2010-01-15 23:50:49', '2010-01-15 23:50:49')
1758
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1759
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1760
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1761
- SQL (0.2ms)  SELECT name
1762
- FROM sqlite_master
1763
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1764
- 
1765
- SQL (0.1ms) select sqlite_version(*)
1766
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1767
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1768
- SQL (0.1ms)  SELECT name
1769
- FROM sqlite_master
1770
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1771
- 
1772
- SQL (0.0ms) SELECT version FROM schema_migrations
1773
- Migrating to CreateAudits (20100115021125)
1774
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1775
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1776
- Migrating to CreatePosts (20100115021151)
1777
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1778
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1779
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:53:16', '2010-01-15 23:53:16')
1780
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1781
-
1782
-
1783
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:53:16) [PUT]
1784
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1785
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1786
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:53:16' WHERE "id" = 1
1787
- Redirected to http://test.host/posts/1
1788
- WARNING: Can't mass-assign these protected attributes: id
1789
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1790
- title:
1791
- - Hello, World
1792
- - First post!
1793
- updated_at:
1794
- - 2010-01-15 23:53:16 Z
1795
- - 2010-01-15 23:53:16.101344 Z
1796
- ', '2010-01-15 23:53:16', '2010-01-15 23:53:16')
1797
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1798
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1799
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1800
- SQL (0.2ms)  SELECT name
1801
- FROM sqlite_master
1802
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1803
- 
1804
- SQL (0.1ms) select sqlite_version(*)
1805
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1806
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1807
- SQL (0.1ms)  SELECT name
1808
- FROM sqlite_master
1809
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1810
- 
1811
- SQL (0.0ms) SELECT version FROM schema_migrations
1812
- Migrating to CreateAudits (20100115021125)
1813
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1814
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1815
- Migrating to CreatePosts (20100115021151)
1816
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1817
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1818
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:53:37', '2010-01-15 23:53:37')
1819
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1820
-
1821
-
1822
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:53:37) [PUT]
1823
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1824
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1825
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:53:37' WHERE "id" = 1
1826
- Redirected to http://test.host/posts/1
1827
- WARNING: Can't mass-assign these protected attributes: id
1828
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1829
- title:
1830
- - Hello, World
1831
- - First post!
1832
- updated_at:
1833
- - 2010-01-15 23:53:37 Z
1834
- - 2010-01-15 23:53:37.214280 Z
1835
- ', '2010-01-15 23:53:37', '2010-01-15 23:53:37')
1836
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1837
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1838
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1839
- SQL (0.2ms)  SELECT name
1840
- FROM sqlite_master
1841
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1842
- 
1843
- SQL (0.1ms) select sqlite_version(*)
1844
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1845
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1846
- SQL (0.1ms)  SELECT name
1847
- FROM sqlite_master
1848
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1849
- 
1850
- SQL (0.0ms) SELECT version FROM schema_migrations
1851
- Migrating to CreateAudits (20100115021125)
1852
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1853
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1854
- Migrating to CreatePosts (20100115021151)
1855
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1856
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1857
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:53:50', '2010-01-15 23:53:50')
1858
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1859
-
1860
-
1861
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:53:50) [PUT]
1862
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1863
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1864
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:53:50' WHERE "id" = 1
1865
- Redirected to http://test.host/posts/1
1866
- WARNING: Can't mass-assign these protected attributes: id
1867
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1868
- title:
1869
- - Hello, World
1870
- - First post!
1871
- updated_at:
1872
- - 2010-01-15 23:53:50 Z
1873
- - 2010-01-15 23:53:50.170357 Z
1874
- ', '2010-01-15 23:53:50', '2010-01-15 23:53:50')
1875
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1876
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1877
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1878
- SQL (0.2ms)  SELECT name
1879
- FROM sqlite_master
1880
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1881
- 
1882
- SQL (0.1ms) select sqlite_version(*)
1883
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1884
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1885
- SQL (0.1ms)  SELECT name
1886
- FROM sqlite_master
1887
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1888
- 
1889
- SQL (0.0ms) SELECT version FROM schema_migrations
1890
- Migrating to CreateAudits (20100115021125)
1891
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1892
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1893
- Migrating to CreatePosts (20100115021151)
1894
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1895
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1896
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:55:24', '2010-01-15 23:55:24')
1897
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1898
-
1899
-
1900
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:55:24) [PUT]
1901
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1902
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1903
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:55:24' WHERE "id" = 1
1904
- Redirected to http://test.host/posts/1
1905
- WARNING: Can't mass-assign these protected attributes: id
1906
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1907
- title:
1908
- - Hello, World
1909
- - First post!
1910
- updated_at:
1911
- - 2010-01-15 23:55:24 Z
1912
- - 2010-01-15 23:55:24.618733 Z
1913
- ', '2010-01-15 23:55:24', '2010-01-15 23:55:24')
1914
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1915
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1916
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1917
- SQL (0.2ms)  SELECT name
1918
- FROM sqlite_master
1919
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1920
- 
1921
- SQL (0.1ms) select sqlite_version(*)
1922
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1923
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1924
- SQL (0.1ms)  SELECT name
1925
- FROM sqlite_master
1926
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1927
- 
1928
- SQL (0.0ms) SELECT version FROM schema_migrations
1929
- Migrating to CreateAudits (20100115021125)
1930
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1931
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1932
- Migrating to CreatePosts (20100115021151)
1933
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1934
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1935
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:56:07', '2010-01-15 23:56:07')
1936
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1937
-
1938
-
1939
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:56:07) [PUT]
1940
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1941
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1942
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:56:07' WHERE "id" = 1
1943
- Redirected to http://test.host/posts/1
1944
- WARNING: Can't mass-assign these protected attributes: id
1945
- SQL (0.2ms)  SELECT name
1946
- FROM sqlite_master
1947
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1948
- 
1949
- SQL (0.1ms) select sqlite_version(*)
1950
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1951
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1952
- SQL (0.1ms)  SELECT name
1953
- FROM sqlite_master
1954
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1955
- 
1956
- SQL (0.0ms) SELECT version FROM schema_migrations
1957
- Migrating to CreateAudits (20100115021125)
1958
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1959
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1960
- Migrating to CreatePosts (20100115021151)
1961
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
1962
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
1963
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:57:00', '2010-01-15 23:57:00')
1964
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1965
-
1966
-
1967
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:57:00) [PUT]
1968
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
1969
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
1970
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:57:00' WHERE "id" = 1
1971
- Redirected to http://test.host/posts/1
1972
- WARNING: Can't mass-assign these protected attributes: id
1973
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
1974
- title:
1975
- - Hello, World
1976
- - First post!
1977
- updated_at:
1978
- - 2010-01-15 23:57:00 Z
1979
- - 2010-01-15 23:57:00.151365 Z
1980
- ', '2010-01-15 23:57:00', '2010-01-15 23:57:00')
1981
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
1982
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
1983
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
1984
- SQL (0.2ms)  SELECT name
1985
- FROM sqlite_master
1986
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1987
- 
1988
- SQL (0.1ms) select sqlite_version(*)
1989
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1990
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1991
- SQL (0.1ms)  SELECT name
1992
- FROM sqlite_master
1993
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1994
- 
1995
- SQL (0.0ms) SELECT version FROM schema_migrations
1996
- Migrating to CreateAudits (20100115021125)
1997
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
1998
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
1999
- Migrating to CreatePosts (20100115021151)
2000
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
2001
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2002
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:58:56', '2010-01-15 23:58:56')
2003
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2004
-
2005
-
2006
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:58:56) [PUT]
2007
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2008
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2009
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:58:56' WHERE "id" = 1
2010
- Redirected to http://test.host/posts/1
2011
- WARNING: Can't mass-assign these protected attributes: id
2012
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
2013
- title:
2014
- - Hello, World
2015
- - First post!
2016
- updated_at:
2017
- - 2010-01-15 23:58:56 Z
2018
- - 2010-01-15 23:58:56.317440 Z
2019
- ', '2010-01-15 23:58:56', '2010-01-15 23:58:56')
2020
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
2021
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
2022
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2023
- SQL (0.2ms)  SELECT name
2024
- FROM sqlite_master
2025
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2026
- 
2027
- SQL (0.1ms) select sqlite_version(*)
2028
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2029
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2030
- SQL (0.1ms)  SELECT name
2031
- FROM sqlite_master
2032
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2033
- 
2034
- SQL (0.0ms) SELECT version FROM schema_migrations
2035
- Migrating to CreateAudits (20100115021125)
2036
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
2037
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
2038
- Migrating to CreatePosts (20100115021151)
2039
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
2040
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2041
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-15 23:59:11', '2010-01-15 23:59:11')
2042
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2043
-
2044
-
2045
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 16:59:11) [PUT]
2046
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2047
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2048
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-15 23:59:11' WHERE "id" = 1
2049
- Redirected to http://test.host/posts/1
2050
- WARNING: Can't mass-assign these protected attributes: id
2051
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
2052
- title:
2053
- - Hello, World
2054
- - First post!
2055
- updated_at:
2056
- - 2010-01-15 23:59:11 Z
2057
- - 2010-01-15 23:59:11.726535 Z
2058
- ', '2010-01-15 23:59:11', '2010-01-15 23:59:11')
2059
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
2060
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
2061
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2062
- SQL (0.2ms)  SELECT name
2063
- FROM sqlite_master
2064
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2065
- 
2066
- SQL (0.1ms) select sqlite_version(*)
2067
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2068
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2069
- SQL (0.1ms)  SELECT name
2070
- FROM sqlite_master
2071
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2072
- 
2073
- SQL (0.0ms) SELECT version FROM schema_migrations
11
+ SQL (0.0ms) SELECT version FROM schema_migrations
2074
12
  Migrating to CreateAudits (20100115021125)
2075
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
2076
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
13
+ SQL (0.0ms) CREATE TABLE audits (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, audited_type VARCHAR(255), audited_id integer(0), user VARCHAR(255), change_set text, created_at DATETIME, updated_at DATETIME) 
14
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
15
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
2077
16
  Migrating to CreatePosts (20100115021151)
2078
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
17
+ SQL (0.0ms) CREATE TABLE posts (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, title VARCHAR(255), body text, author VARCHAR(255), created_at DATETIME, updated_at DATETIME) 
2079
18
  SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2080
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-16 00:00:34', '2010-01-16 00:00:34')
2081
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2082
-
2083
-
2084
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 17:00:34) [PUT]
2085
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2086
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2087
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-16 00:00:34' WHERE "id" = 1
2088
- Redirected to http://test.host/posts/1
2089
- WARNING: Can't mass-assign these protected attributes: id
2090
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
2091
- title:
2092
- - Hello, World
2093
- - First post!
2094
- updated_at:
2095
- - 2010-01-16 00:00:34 Z
2096
- - 2010-01-16 00:00:34.366907 Z
2097
- ', '2010-01-16 00:00:34', '2010-01-16 00:00:34')
2098
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
2099
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
2100
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2101
- SQL (0.2ms)  SELECT name
19
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
20
+ SQL (0.0ms)  SELECT name
2102
21
  FROM sqlite_master
2103
22
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2104
23
  
2105
- SQL (0.1ms) select sqlite_version(*)
2106
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2107
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2108
- SQL (0.1ms)  SELECT name
24
+ SQL (0.0ms) CREATE TABLE schema_migrations (version VARCHAR(255) NOT NULL) 
25
+ SQL (0.0ms) CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations (version)
26
+ SQL (0.0ms)  SELECT name
2109
27
  FROM sqlite_master
2110
28
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2111
29
  
2112
30
  SQL (0.0ms) SELECT version FROM schema_migrations
2113
31
  Migrating to CreateAudits (20100115021125)
2114
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
32
+ SQL (0.0ms) CREATE TABLE audits (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, audited_type VARCHAR(255), audited_id integer(0), user VARCHAR(255), change_set text, created_at DATETIME, updated_at DATETIME) 
2115
33
  SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
34
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
2116
35
  Migrating to CreatePosts (20100115021151)
2117
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
2118
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2119
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-16 00:01:17', '2010-01-16 00:01:17')
2120
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
36
+ SQL (0.0ms) CREATE TABLE posts (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, title VARCHAR(255), body text, author VARCHAR(255), created_at DATETIME, updated_at DATETIME) 
37
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
38
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
39
+ Post Create (0.0ms) INSERT INTO posts (title, body, author, created_at, updated_at) VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-07-30 18:25:28', '2010-07-30 18:25:28')
40
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'posts'
41
+ SQL (0.0ms) SELECT count(*) AS count_all FROM audits 
2121
42
 
2122
43
 
2123
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 17:01:17) [PUT]
44
+ Processing PostsController#update (for 0.0.0.0 at 2010-07-30 11:25:29) [PUT]
2124
45
  Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2125
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2126
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-16 00:01:17' WHERE "id" = 1
46
+ Post Load (2.0ms) SELECT * FROM posts WHERE (posts.id = 1) 
47
+ Post Update (0.0ms) UPDATE posts SET title = 'First post!', updated_at = '2010-07-30 18:25:29' WHERE id = 1
2127
48
  Redirected to http://test.host/posts/1
2128
49
  WARNING: Can't mass-assign these protected attributes: id
2129
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
2130
- title:
2131
- - Hello, World
2132
- - First post!
2133
- updated_at:
2134
- - 2010-01-16 00:01:17 Z
2135
- - 2010-01-16 00:01:17.495944 Z
2136
- ', '2010-01-16 00:01:17', '2010-01-16 00:01:17')
2137
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
2138
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
2139
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2140
- SQL (0.2ms)  SELECT name
50
+ SQL (3.0ms)  SELECT name
2141
51
  FROM sqlite_master
2142
52
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2143
53
  
2144
- SQL (0.1ms) select sqlite_version(*)
2145
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2146
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2147
- SQL (0.1ms)  SELECT name
54
+ SQL (0.0ms) CREATE TABLE schema_migrations (version VARCHAR(255) NOT NULL) 
55
+ SQL (0.0ms) CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations (version)
56
+ SQL (0.0ms)  SELECT name
2148
57
  FROM sqlite_master
2149
58
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2150
59
  
2151
- SQL (0.0ms) SELECT version FROM schema_migrations
60
+ SQL (0.0ms) SELECT version FROM schema_migrations
2152
61
  Migrating to CreateAudits (20100115021125)
2153
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
2154
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
62
+ SQL (0.0ms) CREATE TABLE audits (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, audited_type VARCHAR(255), audited_id integer(0), user VARCHAR(255), change_set text, created_at DATETIME, updated_at DATETIME) 
63
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
64
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
2155
65
  Migrating to CreatePosts (20100115021151)
2156
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
66
+ SQL (0.0ms) CREATE TABLE posts (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, title VARCHAR(255), body text, author VARCHAR(255), created_at DATETIME, updated_at DATETIME) 
2157
67
  SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2158
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-16 00:02:13', '2010-01-16 00:02:13')
2159
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2160
-
2161
-
2162
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 17:02:13) [PUT]
2163
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2164
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2165
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-16 00:02:13' WHERE "id" = 1
2166
- Redirected to http://test.host/posts/1
2167
- WARNING: Can't mass-assign these protected attributes: id
2168
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
2169
- title:
2170
- - Hello, World
2171
- - First post!
2172
- updated_at:
2173
- - 2010-01-16 00:02:13 Z
2174
- - 2010-01-16 00:02:13.667767 Z
2175
- ', '2010-01-16 00:02:13', '2010-01-16 00:02:13')
2176
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
2177
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
2178
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2179
- SQL (0.2ms)  SELECT name
68
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
69
+ SQL (0.0ms)  SELECT name
2180
70
  FROM sqlite_master
2181
71
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2182
72
  
2183
- SQL (0.1ms) select sqlite_version(*)
2184
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2185
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2186
- SQL (0.1ms)  SELECT name
73
+ SQL (0.0ms) CREATE TABLE schema_migrations (version VARCHAR(255) NOT NULL) 
74
+ SQL (0.0ms) CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations (version)
75
+ SQL (0.0ms)  SELECT name
2187
76
  FROM sqlite_master
2188
77
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2189
78
  
2190
79
  SQL (0.0ms) SELECT version FROM schema_migrations
2191
80
  Migrating to CreateAudits (20100115021125)
2192
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
81
+ SQL (2.0ms) CREATE TABLE audits (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, audited_type VARCHAR(255), audited_id integer(0), user VARCHAR(255), change_set text, created_at DATETIME, updated_at DATETIME) 
2193
82
  SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
83
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
2194
84
  Migrating to CreatePosts (20100115021151)
2195
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
2196
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2197
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-16 00:03:01', '2010-01-16 00:03:01')
2198
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
85
+ SQL (0.0ms) CREATE TABLE posts (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, title VARCHAR(255), body text, author VARCHAR(255), created_at DATETIME, updated_at DATETIME) 
86
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
87
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
88
+ Post Create (0.0ms) INSERT INTO posts (title, body, author, created_at, updated_at) VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-07-30 19:34:50', '2010-07-30 19:34:50')
89
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'posts'
90
+ SQL (2.0ms) SELECT count(*) AS count_all FROM audits 
2199
91
 
2200
92
 
2201
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 17:03:01) [PUT]
93
+ Processing PostsController#update (for 0.0.0.0 at 2010-07-30 12:34:50) [PUT]
2202
94
  Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2203
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2204
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-16 00:03:01' WHERE "id" = 1
95
+ Post Load (0.0ms) SELECT * FROM posts WHERE (posts.id = 1) 
96
+ Post Update (0.0ms) UPDATE posts SET title = 'First post!', updated_at = '2010-07-30 19:34:50' WHERE id = 1
2205
97
  Redirected to http://test.host/posts/1
2206
98
  WARNING: Can't mass-assign these protected attributes: id
2207
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
2208
- title:
2209
- - Hello, World
2210
- - First post!
2211
- updated_at:
2212
- - 2010-01-16 00:03:01 Z
2213
- - 2010-01-16 00:03:01.037671 Z
2214
- ', '2010-01-16 00:03:01', '2010-01-16 00:03:01')
2215
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
2216
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
2217
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2218
- SQL (0.2ms)  SELECT name
99
+ SQL (2.0ms)  SELECT name
2219
100
  FROM sqlite_master
2220
101
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2221
102
  
2222
- SQL (0.1ms) select sqlite_version(*)
2223
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2224
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2225
- SQL (0.1ms)  SELECT name
103
+ SQL (0.0ms) CREATE TABLE schema_migrations (version VARCHAR(255) NOT NULL) 
104
+ SQL (0.0ms) CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations (version)
105
+ SQL (0.0ms)  SELECT name
2226
106
  FROM sqlite_master
2227
107
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2228
108
  
2229
- SQL (0.0ms) SELECT version FROM schema_migrations
109
+ SQL (0.0ms) SELECT version FROM schema_migrations
2230
110
  Migrating to CreateAudits (20100115021125)
2231
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
2232
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
111
+ SQL (0.0ms) CREATE TABLE audits (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, audited_type VARCHAR(255), audited_id integer(0), user VARCHAR(255), change_set text, created_at DATETIME, updated_at DATETIME) 
112
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
113
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
2233
114
  Migrating to CreatePosts (20100115021151)
2234
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
115
+ SQL (0.0ms) CREATE TABLE posts (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, title VARCHAR(255), body text, author VARCHAR(255), created_at DATETIME, updated_at DATETIME) 
2235
116
  SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2236
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-16 00:21:09', '2010-01-16 00:21:09')
2237
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2238
-
2239
-
2240
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 17:21:09) [PUT]
2241
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2242
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2243
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-16 00:21:09' WHERE "id" = 1
2244
- Redirected to http://test.host/posts/1
2245
- WARNING: Can't mass-assign these protected attributes: id
2246
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
2247
- title:
2248
- - Hello, World
2249
- - First post!
2250
- updated_at:
2251
- - 2010-01-16 00:21:09 Z
2252
- - 2010-01-16 00:21:09.954059 Z
2253
- ', '2010-01-16 00:21:09', '2010-01-16 00:21:09')
2254
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
2255
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
2256
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2257
- SQL (0.2ms)  SELECT name
117
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
118
+ SQL (0.0ms)  SELECT name
2258
119
  FROM sqlite_master
2259
120
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2260
121
  
2261
- SQL (0.1ms) select sqlite_version(*)
2262
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2263
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2264
- SQL (0.1ms)  SELECT name
122
+ SQL (2.0ms) CREATE TABLE schema_migrations (version VARCHAR(255) NOT NULL) 
123
+ SQL (0.0ms) CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations (version)
124
+ SQL (0.0ms)  SELECT name
2265
125
  FROM sqlite_master
2266
126
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2267
127
  
2268
128
  SQL (0.0ms) SELECT version FROM schema_migrations
2269
129
  Migrating to CreateAudits (20100115021125)
2270
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
130
+ SQL (0.0ms) CREATE TABLE audits (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, audited_type VARCHAR(255), audited_id integer(0), user VARCHAR(255), change_set text, created_at DATETIME, updated_at DATETIME) 
2271
131
  SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
132
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
2272
133
  Migrating to CreatePosts (20100115021151)
2273
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
2274
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2275
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-16 00:21:58', '2010-01-16 00:21:58')
2276
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
134
+ SQL (3.0ms) CREATE TABLE posts (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, title VARCHAR(255), body text, author VARCHAR(255), created_at DATETIME, updated_at DATETIME) 
135
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
136
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
137
+ Post Create (0.0ms) INSERT INTO posts (title, body, author, created_at, updated_at) VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-07-30 19:36:29', '2010-07-30 19:36:29')
138
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'posts'
139
+ SQL (0.0ms) SELECT count(*) AS count_all FROM audits 
2277
140
 
2278
141
 
2279
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 17:21:58) [PUT]
142
+ Processing PostsController#update (for 0.0.0.0 at 2010-07-30 12:36:29) [PUT]
2280
143
  Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2281
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2282
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-16 00:21:58' WHERE "id" = 1
144
+ Post Load (0.0ms) SELECT * FROM posts WHERE (posts.id = 1) 
145
+ Post Update (0.0ms) UPDATE posts SET title = 'First post!', updated_at = '2010-07-30 19:36:29' WHERE id = 1
2283
146
  Redirected to http://test.host/posts/1
2284
147
  WARNING: Can't mass-assign these protected attributes: id
2285
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
148
+ Audit Create (0.0ms) INSERT INTO audits (audited_type, audited_id, user, change_set, created_at, updated_at) VALUES('Post', 1, 'John Smith', '---
2286
149
  title:
2287
- - Hello, World
2288
- - First post!
150
+ - Hello, World
151
+ - First post!
2289
152
  updated_at:
2290
- - 2010-01-16 00:21:58 Z
2291
- - 2010-01-16 00:21:58.737476 Z
2292
- ', '2010-01-16 00:21:58', '2010-01-16 00:21:58')
2293
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
2294
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
2295
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2296
- SQL (0.2ms)  SELECT name
153
+ - 2010-07-30 19:36:29 Z
154
+ - 2010-07-30 19:36:29.290000 Z
155
+ ', '2010-07-30 19:36:29', '2010-07-30 19:36:29')
156
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'audits'
157
+ Completed in 295ms (DB: 5) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
158
+ Audit Load (0.0ms) SELECT * FROM audits WHERE (audits.audited_id = 1 AND audits.audited_type = 'Post') LIMIT 1
159
+ SQL (0.0ms) SELECT count(*) AS count_all FROM audits 
160
+ SQL (0.0ms)  SELECT name
2297
161
  FROM sqlite_master
2298
162
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2299
163
  
2300
- SQL (0.1ms) select sqlite_version(*)
2301
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2302
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2303
- SQL (0.1ms)  SELECT name
164
+ SQL (0.0ms) CREATE TABLE schema_migrations (version VARCHAR(255) NOT NULL) 
165
+ SQL (0.0ms) CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations (version)
166
+ SQL (0.0ms)  SELECT name
2304
167
  FROM sqlite_master
2305
168
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2306
169
  
2307
- SQL (0.0ms) SELECT version FROM schema_migrations
170
+ SQL (0.0ms) SELECT version FROM schema_migrations
2308
171
  Migrating to CreateAudits (20100115021125)
2309
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
2310
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
172
+ SQL (0.0ms) CREATE TABLE audits (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, audited_type VARCHAR(255), audited_id integer(0), user VARCHAR(255), change_set text, created_at DATETIME, updated_at DATETIME) 
173
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
174
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
2311
175
  Migrating to CreatePosts (20100115021151)
2312
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
176
+ SQL (0.0ms) CREATE TABLE posts (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, title VARCHAR(255), body text, author VARCHAR(255), created_at DATETIME, updated_at DATETIME) 
2313
177
  SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2314
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-16 00:24:47', '2010-01-16 00:24:47')
2315
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2316
-
2317
-
2318
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 17:24:47) [PUT]
2319
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2320
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2321
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-16 00:24:47' WHERE "id" = 1
2322
- Redirected to http://test.host/posts/1
2323
- WARNING: Can't mass-assign these protected attributes: id
2324
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
2325
- title:
2326
- - Hello, World
2327
- - First post!
2328
- updated_at:
2329
- - 2010-01-16 00:24:47 Z
2330
- - 2010-01-16 00:24:47.668839 Z
2331
- ', '2010-01-16 00:24:47', '2010-01-16 00:24:47')
2332
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
2333
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
2334
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2335
- SQL (0.2ms)  SELECT name
178
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
179
+ SQL (0.0ms)  SELECT name
2336
180
  FROM sqlite_master
2337
181
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2338
182
  
2339
- SQL (0.1ms) select sqlite_version(*)
2340
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2341
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2342
- SQL (0.1ms)  SELECT name
183
+ SQL (0.0ms) CREATE TABLE schema_migrations (version VARCHAR(255) NOT NULL) 
184
+ SQL (2.0ms) CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations (version)
185
+ SQL (0.0ms)  SELECT name
2343
186
  FROM sqlite_master
2344
187
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2345
188
  
2346
189
  SQL (0.0ms) SELECT version FROM schema_migrations
2347
190
  Migrating to CreateAudits (20100115021125)
2348
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
191
+ SQL (0.0ms) CREATE TABLE audits (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, audited_type VARCHAR(255), audited_id integer(0), user VARCHAR(255), change_set text, created_at DATETIME, updated_at DATETIME) 
2349
192
  SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
193
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
2350
194
  Migrating to CreatePosts (20100115021151)
2351
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
2352
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2353
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-16 00:24:57', '2010-01-16 00:24:57')
2354
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
195
+ SQL (0.0ms) CREATE TABLE posts (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, title VARCHAR(255), body text, author VARCHAR(255), created_at DATETIME, updated_at DATETIME) 
196
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
197
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
198
+ Post Create (0.0ms) INSERT INTO posts (title, body, author, created_at, updated_at) VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-07-30 21:02:01', '2010-07-30 21:02:01')
199
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'posts'
200
+ SQL (0.0ms) SELECT count(*) AS count_all FROM audits 
2355
201
 
2356
202
 
2357
- Processing PostsController#update (for 0.0.0.0 at 2010-01-15 17:24:57) [PUT]
203
+ Processing PostsController#update (for 0.0.0.0 at 2010-07-30 14:02:01) [PUT]
2358
204
  Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2359
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2360
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-16 00:24:57' WHERE "id" = 1
205
+ Post Load (0.0ms) SELECT * FROM posts WHERE (posts.id = 1) 
206
+ Post Update (0.0ms) UPDATE posts SET title = 'First post!', updated_at = '2010-07-30 21:02:01' WHERE id = 1
2361
207
  Redirected to http://test.host/posts/1
2362
208
  WARNING: Can't mass-assign these protected attributes: id
2363
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
209
+ Audit Create (0.0ms) INSERT INTO audits (audited_type, audited_id, user, change_set, created_at, updated_at) VALUES('Post', 1, 'John Smith', '---
2364
210
  title:
2365
- - Hello, World
2366
- - First post!
211
+ - Hello, World
212
+ - First post!
2367
213
  updated_at:
2368
- - 2010-01-16 00:24:57 Z
2369
- - 2010-01-16 00:24:57.592027 Z
2370
- ', '2010-01-16 00:24:57', '2010-01-16 00:24:57')
2371
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
2372
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
2373
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2374
- SQL (0.9ms)  SELECT name
2375
- FROM sqlite_master
2376
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2377
- 
2378
- SQL (0.2ms) select sqlite_version(*)
2379
- SQL (0.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2380
- SQL (0.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2381
- SQL (0.1ms)  SELECT name
2382
- FROM sqlite_master
2383
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2384
- 
2385
- SQL (0.1ms) SELECT version FROM schema_migrations
2386
- Migrating to CreateAudits (20100115021125)
2387
- SQL (0.4ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
2388
- SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
2389
- Migrating to CreatePosts (20100115021151)
2390
- SQL (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
2391
- SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2392
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-16 16:28:27', '2010-01-16 16:28:27')
2393
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2394
-
2395
-
2396
- Processing PostsController#update (for 0.0.0.0 at 2010-01-16 09:28:27) [PUT]
2397
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2398
- Post Load (0.2ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2399
- Post Update (0.1ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-16 16:28:27' WHERE "id" = 1
2400
- Redirected to http://test.host/posts/1
2401
- WARNING: Can't mass-assign these protected attributes: id
2402
- SQL (0.2ms)  SELECT name
214
+ - 2010-07-30 21:02:01 Z
215
+ - 2010-07-30 21:02:01.746000 Z
216
+ ', '2010-07-30 21:02:01', '2010-07-30 21:02:01')
217
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'audits'
218
+ Completed in 133ms (DB: 2) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
219
+ Audit Load (0.0ms) SELECT * FROM audits WHERE (audits.audited_id = 1 AND audits.audited_type = 'Post') LIMIT 1
220
+ SQL (0.0ms) SELECT count(*) AS count_all FROM audits 
221
+ SQL (3.0ms)  SELECT name
2403
222
  FROM sqlite_master
2404
223
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2405
224
  
2406
- SQL (0.1ms) select sqlite_version(*)
2407
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2408
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2409
- SQL (0.1ms)  SELECT name
225
+ SQL (0.0ms) CREATE TABLE schema_migrations (version VARCHAR(255) NOT NULL) 
226
+ SQL (2.0ms) CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations (version)
227
+ SQL (0.0ms)  SELECT name
2410
228
  FROM sqlite_master
2411
229
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2412
230
  
2413
- SQL (0.0ms) SELECT version FROM schema_migrations
231
+ SQL (0.0ms) SELECT version FROM schema_migrations
2414
232
  Migrating to CreateAudits (20100115021125)
2415
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
2416
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
233
+ SQL (0.0ms) CREATE TABLE audits (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, audited_type VARCHAR(255), audited_id integer(0), user VARCHAR(255), change_set text, created_at DATETIME, updated_at DATETIME) 
234
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
235
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
2417
236
  Migrating to CreatePosts (20100115021151)
2418
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
237
+ SQL (0.0ms) CREATE TABLE posts (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, title VARCHAR(255), body text, author VARCHAR(255), created_at DATETIME, updated_at DATETIME) 
2419
238
  SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2420
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-16 16:28:38', '2010-01-16 16:28:38')
2421
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2422
-
2423
-
2424
- Processing PostsController#update (for 0.0.0.0 at 2010-01-16 09:28:38) [PUT]
2425
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2426
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2427
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-16 16:28:38' WHERE "id" = 1
2428
- Redirected to http://test.host/posts/1
2429
- WARNING: Can't mass-assign these protected attributes: id
2430
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
2431
- title:
2432
- - Hello, World
2433
- - First post!
2434
- updated_at:
2435
- - 2010-01-16 16:28:38 Z
2436
- - 2010-01-16 16:28:38.993539 Z
2437
- ', '2010-01-16 16:28:39', '2010-01-16 16:28:39')
2438
- Completed in 50ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
2439
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
2440
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2441
- SQL (0.2ms)  SELECT name
239
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
240
+ SQL (0.0ms)  SELECT name
2442
241
  FROM sqlite_master
2443
242
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2444
243
  
2445
- SQL (0.1ms) select sqlite_version(*)
2446
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2447
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2448
- SQL (0.1ms)  SELECT name
244
+ SQL (0.0ms) CREATE TABLE schema_migrations (version VARCHAR(255) NOT NULL) 
245
+ SQL (0.0ms) CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations (version)
246
+ SQL (0.0ms)  SELECT name
2449
247
  FROM sqlite_master
2450
248
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2451
249
  
2452
250
  SQL (0.0ms) SELECT version FROM schema_migrations
2453
251
  Migrating to CreateAudits (20100115021125)
2454
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
252
+ SQL (0.0ms) CREATE TABLE audits (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, audited_type VARCHAR(255), audited_id integer(0), user VARCHAR(255), change_set text, created_at DATETIME, updated_at DATETIME) 
2455
253
  SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
254
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
2456
255
  Migrating to CreatePosts (20100115021151)
2457
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
2458
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2459
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-16 16:38:17', '2010-01-16 16:38:17')
2460
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2461
-
2462
-
2463
- Processing PostsController#update (for 0.0.0.0 at 2010-01-16 09:38:17) [PUT]
2464
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2465
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2466
- SQL (0.2ms)  SELECT name
256
+ SQL (0.0ms) CREATE TABLE posts (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, title VARCHAR(255), body text, author VARCHAR(255), created_at DATETIME, updated_at DATETIME) 
257
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
258
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
259
+ SQL (2.0ms)  SELECT name
2467
260
  FROM sqlite_master
2468
261
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2469
262
  
2470
- SQL (0.1ms) select sqlite_version(*)
2471
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2472
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2473
- SQL (0.1ms)  SELECT name
263
+ SQL (0.0ms) CREATE TABLE schema_migrations (version VARCHAR(255) NOT NULL) 
264
+ SQL (0.0ms) CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations (version)
265
+ SQL (0.0ms)  SELECT name
2474
266
  FROM sqlite_master
2475
267
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2476
268
  
2477
- SQL (0.0ms) SELECT version FROM schema_migrations
269
+ SQL (0.0ms) SELECT version FROM schema_migrations
2478
270
  Migrating to CreateAudits (20100115021125)
2479
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
2480
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
271
+ SQL (0.0ms) CREATE TABLE audits (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, audited_type VARCHAR(255), audited_id integer(0), user VARCHAR(255), change_set text, created_at DATETIME, updated_at DATETIME) 
272
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
273
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
2481
274
  Migrating to CreatePosts (20100115021151)
2482
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
275
+ SQL (0.0ms) CREATE TABLE posts (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, title VARCHAR(255), body text, author VARCHAR(255), created_at DATETIME, updated_at DATETIME) 
2483
276
  SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2484
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-16 16:38:35', '2010-01-16 16:38:35')
2485
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2486
-
2487
-
2488
- Processing PostsController#update (for 0.0.0.0 at 2010-01-16 09:38:35) [PUT]
2489
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2490
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2491
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-16 16:38:35' WHERE "id" = 1
2492
- Redirected to http://test.host/posts/1
2493
- WARNING: Can't mass-assign these protected attributes: id
2494
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
2495
- title:
2496
- - Hello, World
2497
- - First post!
2498
- updated_at:
2499
- - 2010-01-16 16:38:35 Z
2500
- - 2010-01-16 16:38:35.946595 Z
2501
- ', '2010-01-16 16:38:35', '2010-01-16 16:38:35')
2502
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
2503
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
2504
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2505
- SQL (0.2ms)  SELECT name
2506
- FROM sqlite_master
2507
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2508
- 
2509
- SQL (0.1ms) select sqlite_version(*)
2510
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2511
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2512
- SQL (0.1ms)  SELECT name
2513
- FROM sqlite_master
2514
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2515
- 
2516
- SQL (0.1ms) SELECT version FROM schema_migrations
2517
- Migrating to CreateAudits (20100115021125)
2518
- SQL (0.2ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
2519
- SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
2520
- Migrating to CreatePosts (20100115021151)
2521
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
2522
- SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2523
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-16 16:39:29', '2010-01-16 16:39:29')
2524
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2525
-
2526
-
2527
- Processing PostsController#update (for 0.0.0.0 at 2010-01-16 09:39:29) [PUT]
2528
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2529
- Post Load (0.2ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2530
- Post Update (0.1ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-16 16:39:29' WHERE "id" = 1
2531
- Redirected to http://test.host/posts/1
2532
- WARNING: Can't mass-assign these protected attributes: id
2533
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
2534
- title:
2535
- - Hello, World
2536
- - First post!
2537
- updated_at:
2538
- - 2010-01-16 16:39:29 Z
2539
- - 2010-01-16 16:39:29.344817 Z
2540
- ', '2010-01-16 16:39:29', '2010-01-16 16:39:29')
2541
- Completed in 56ms (DB: 2) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
2542
- Audit Load (0.2ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
2543
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2544
- SQL (0.2ms)  SELECT name
277
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
278
+ SQL (0.0ms)  SELECT name
2545
279
  FROM sqlite_master
2546
280
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2547
281
  
2548
- SQL (0.1ms) select sqlite_version(*)
2549
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2550
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2551
- SQL (0.1ms)  SELECT name
282
+ SQL (0.0ms) CREATE TABLE schema_migrations (version VARCHAR(255) NOT NULL) 
283
+ SQL (0.0ms) CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations (version)
284
+ SQL (0.0ms)  SELECT name
2552
285
  FROM sqlite_master
2553
286
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2554
287
  
2555
288
  SQL (0.0ms) SELECT version FROM schema_migrations
2556
289
  Migrating to CreateAudits (20100115021125)
2557
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
290
+ SQL (0.0ms) CREATE TABLE audits (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, audited_type VARCHAR(255), audited_id integer(0), user VARCHAR(255), change_set text, created_at DATETIME, updated_at DATETIME) 
2558
291
  SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
292
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
2559
293
  Migrating to CreatePosts (20100115021151)
2560
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
2561
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2562
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-16 16:42:18', '2010-01-16 16:42:18')
2563
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
294
+ SQL (0.0ms) CREATE TABLE posts (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, title VARCHAR(255), body text, author VARCHAR(255), created_at DATETIME, updated_at DATETIME) 
295
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
296
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
297
+ Post Create (0.0ms) INSERT INTO posts (title, body, author, created_at, updated_at) VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-07-30 21:10:23', '2010-07-30 21:10:23')
298
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'posts'
299
+ SQL (0.0ms) SELECT count(*) AS count_all FROM audits 
2564
300
 
2565
301
 
2566
- Processing PostsController#update (for 0.0.0.0 at 2010-01-16 09:42:18) [PUT]
302
+ Processing PostsController#update (for 0.0.0.0 at 2010-07-30 14:10:23) [PUT]
2567
303
  Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2568
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2569
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-16 16:42:18' WHERE "id" = 1
304
+ Post Load (0.0ms) SELECT * FROM posts WHERE (posts.id = 1) 
305
+ Post Update (0.0ms) UPDATE posts SET title = 'First post!', updated_at = '2010-07-30 21:10:23' WHERE id = 1
2570
306
  Redirected to http://test.host/posts/1
2571
307
  WARNING: Can't mass-assign these protected attributes: id
2572
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
308
+ Audit Create (0.0ms) INSERT INTO audits (audited_type, audited_id, user, change_set, created_at, updated_at) VALUES('Post', 1, 'John Smith', '---
2573
309
  title:
2574
- - Hello, World
2575
- - First post!
310
+ - Hello, World
311
+ - First post!
2576
312
  updated_at:
2577
- - 2010-01-16 16:42:18 Z
2578
- - 2010-01-16 16:42:18.547658 Z
2579
- ', '2010-01-16 16:42:18', '2010-01-16 16:42:18')
2580
- Completed in 47ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
2581
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
2582
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2583
- SQL (0.2ms)  SELECT name
313
+ - 2010-07-30 21:10:23 Z
314
+ - 2010-07-30 21:10:23.221000 Z
315
+ ', '2010-07-30 21:10:23', '2010-07-30 21:10:23')
316
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'audits'
317
+ Completed in 137ms (DB: 0) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
318
+ Audit Load (0.0ms) SELECT * FROM audits WHERE (audits.audited_id = 1 AND audits.audited_type = 'Post') LIMIT 1
319
+ SQL (0.0ms) SELECT count(*) AS count_all FROM audits 
320
+ SQL (0.0ms)  SELECT name
2584
321
  FROM sqlite_master
2585
322
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2586
323
  
2587
- SQL (0.1ms) select sqlite_version(*)
2588
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2589
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2590
- SQL (0.1ms)  SELECT name
324
+ SQL (0.0ms) CREATE TABLE schema_migrations (version VARCHAR(255) NOT NULL) 
325
+ SQL (0.0ms) CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations (version)
326
+ SQL (0.0ms)  SELECT name
2591
327
  FROM sqlite_master
2592
328
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2593
329
  
2594
- SQL (0.0ms) SELECT version FROM schema_migrations
330
+ SQL (0.0ms) SELECT version FROM schema_migrations
2595
331
  Migrating to CreateAudits (20100115021125)
2596
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
2597
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
332
+ SQL (0.0ms) CREATE TABLE audits (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, audited_type VARCHAR(255), audited_id integer(0), user VARCHAR(255), change_set text, created_at DATETIME, updated_at DATETIME) 
333
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
334
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
2598
335
  Migrating to CreatePosts (20100115021151)
2599
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
336
+ SQL (0.0ms) CREATE TABLE posts (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, title VARCHAR(255), body text, author VARCHAR(255), created_at DATETIME, updated_at DATETIME) 
2600
337
  SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2601
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-16 16:47:44', '2010-01-16 16:47:44')
2602
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2603
-
2604
-
2605
- Processing PostsController#update (for 0.0.0.0 at 2010-01-16 09:47:44) [PUT]
2606
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2607
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2608
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-16 16:47:44' WHERE "id" = 1
2609
- Redirected to http://test.host/posts/1
2610
- WARNING: Can't mass-assign these protected attributes: id
2611
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
2612
- title:
2613
- - Hello, World
2614
- - First post!
2615
- updated_at:
2616
- - 2010-01-16 16:47:44 Z
2617
- - 2010-01-16 16:47:44.553863 Z
2618
- ', '2010-01-16 16:47:44', '2010-01-16 16:47:44')
2619
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
2620
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
2621
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
2622
- SQL (0.2ms)  SELECT name
338
+ SQL (2.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
339
+ SQL (0.0ms)  SELECT name
2623
340
  FROM sqlite_master
2624
341
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2625
342
  
2626
- SQL (0.1ms) select sqlite_version(*)
2627
- SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2628
- SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2629
- SQL (0.1ms)  SELECT name
343
+ SQL (0.0ms) CREATE TABLE schema_migrations (version VARCHAR(255) NOT NULL) 
344
+ SQL (0.0ms) CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations (version)
345
+ SQL (0.0ms)  SELECT name
2630
346
  FROM sqlite_master
2631
347
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2632
348
  
2633
349
  SQL (0.0ms) SELECT version FROM schema_migrations
2634
350
  Migrating to CreateAudits (20100115021125)
2635
- SQL (0.1ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
351
+ SQL (0.0ms) CREATE TABLE audits (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, audited_type VARCHAR(255), audited_id integer(0), user VARCHAR(255), change_set text, created_at DATETIME, updated_at DATETIME) 
2636
352
  SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
353
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
2637
354
  Migrating to CreatePosts (20100115021151)
2638
- SQL (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
2639
- SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
2640
- Post Create (0.1ms) INSERT INTO "posts" ("title", "body", "author", "created_at", "updated_at") VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-01-16 16:52:37', '2010-01-16 16:52:37')
2641
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
355
+ SQL (0.0ms) CREATE TABLE posts (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, title VARCHAR(255), body text, author VARCHAR(255), created_at DATETIME, updated_at DATETIME) 
356
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
357
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'schema_migrations'
358
+ Post Create (0.0ms) INSERT INTO posts (title, body, author, created_at, updated_at) VALUES('Hello, World', 'This is a test.', 'Matt Haley', '2010-07-30 21:17:03', '2010-07-30 21:17:03')
359
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'posts'
360
+ SQL (0.0ms) SELECT count(*) AS count_all FROM audits 
2642
361
 
2643
362
 
2644
- Processing PostsController#update (for 0.0.0.0 at 2010-01-16 09:52:38) [PUT]
2645
- Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
2646
- Post Load (0.1ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
2647
- Post Update (0.0ms) UPDATE "posts" SET "title" = 'First post!', "updated_at" = '2010-01-16 16:52:38' WHERE "id" = 1
2648
- Redirected to http://test.host/posts/1
2649
- WARNING: Can't mass-assign these protected attributes: id
2650
- Audit Create (0.1ms) INSERT INTO "audits" ("audited_type", "audited_id", "user", "change_set", "created_at", "updated_at") VALUES('Post', 1, 'John Smith', '---
2651
- title:
2652
- - Hello, World
2653
- - First post!
2654
- updated_at:
2655
- - 2010-01-16 16:52:37 Z
2656
- - 2010-01-16 16:52:38.002255 Z
2657
- ', '2010-01-16 16:52:38', '2010-01-16 16:52:38')
2658
- Completed in 46ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
2659
- Audit Load (0.1ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
2660
- SQL (0.1ms) SELECT count(*) AS count_all FROM "audits" 
363
+ Processing PostsController#update (for 0.0.0.0 at 2010-07-30 14:17:04) [PUT]
364
+ Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
365
+ Post Load (0.0ms) SELECT * FROM posts WHERE (posts.id = 1) 
366
+ Post Update (0.0ms) UPDATE posts SET title = 'First post!', updated_at = '2010-07-30 21:17:04' WHERE id = 1
367
+ Redirected to http://test.host/posts/1
368
+ WARNING: Can't mass-assign these protected attributes: id
369
+ Audit Create (0.0ms) INSERT INTO audits (audited_type, audited_id, user, change_set, created_at, updated_at) VALUES('Post', 1, 'John Smith', '---
370
+ title:
371
+ - Hello, World
372
+ - First post!
373
+ updated_at:
374
+ - 2010-07-30 21:17:03 Z
375
+ - 2010-07-30 21:17:04.021000 Z
376
+ ', '2010-07-30 21:17:04', '2010-07-30 21:17:04')
377
+ SQL (0.0ms) SELECT SEQ FROM SQLITE_SEQUENCE WHERE NAME = 'audits'
378
+ Completed in 133ms (DB: 0) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
379
+ Audit Load (0.0ms) SELECT * FROM audits WHERE (audits.audited_id = 1 AND audits.audited_type = 'Post') LIMIT 1
380
+ SQL (0.0ms) SELECT count(*) AS count_all FROM audits 
381
+ SQL (0.0ms)  SELECT name
382
+ FROM sqlite_master
383
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
384
+ 
385
+ SQL (0.0ms) select sqlite_version(*)
386
+ SQL (0.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
387
+ SQL (0.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
388
+ SQL (0.0ms)  SELECT name
389
+ FROM sqlite_master
390
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
391
+ 
392
+ SQL (0.0ms) SELECT version FROM schema_migrations
393
+ Migrating to CreateAudits (20100115021125)
394
+ SQL (0.0ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
395
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
396
+ Migrating to CreatePosts (20100115021151)
397
+ SQL (0.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
398
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
399
+ SQL (0.0ms)  SELECT name
400
+ FROM sqlite_master
401
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
402
+ 
403
+ SQL (0.0ms) SELECT version FROM schema_migrations
404
+ Migrating to CreateAudits (20100115021125)
405
+ Migrating to CreatePosts (20100115021151)
406
+ Post Create (0.0ms) INSERT INTO "posts" ("created_at", "title", "body", "author", "updated_at") VALUES('2010-07-30 21:22:17', 'Hello, World', 'This is a test.', 'Matt Haley', '2010-07-30 21:22:17')
407
+ SQL (0.0ms) SELECT count(*) AS count_all FROM "audits" 
408
+
409
+
410
+ Processing PostsController#update (for 0.0.0.0 at 2010-07-30 14:22:17) [PUT]
411
+ Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
412
+ Post Load (0.0ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
413
+ Post Update (0.0ms) UPDATE "posts" SET "updated_at" = '2010-07-30 21:22:17', "title" = 'First post!' WHERE "id" = 1
414
+ Redirected to http://test.host/posts/1
415
+ WARNING: Can't mass-assign these protected attributes: id
416
+ Audit Create (0.0ms) INSERT INTO "audits" ("audited_type", "created_at", "audited_id", "updated_at", "user", "change_set") VALUES('Post', '2010-07-30 21:22:17', 1, '2010-07-30 21:22:17', 'John Smith', '---
417
+ title:
418
+ - Hello, World
419
+ - First post!
420
+ updated_at:
421
+ - 2010-07-30 21:22:17 Z
422
+ - 2010-07-30 21:22:17.304181 Z
423
+ ')
424
+ Completed in 145ms (DB: 0) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
425
+ Audit Load (0.0ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
426
+ SQL (0.0ms) SELECT count(*) AS count_all FROM "audits" 
427
+ SQL (0.0ms)  SELECT name
428
+ FROM sqlite_master
429
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
430
+ 
431
+ SQL (0.0ms) select sqlite_version(*)
432
+ SQL (0.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
433
+ SQL (0.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
434
+ SQL (0.0ms)  SELECT name
435
+ FROM sqlite_master
436
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
437
+ 
438
+ SQL (0.0ms) SELECT version FROM schema_migrations
439
+ Migrating to CreateAudits (20100115021125)
440
+ SQL (2.5ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
441
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
442
+ Migrating to CreatePosts (20100115021151)
443
+ SQL (0.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
444
+ SQL (2.5ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
445
+ SQL (0.0ms)  SELECT name
446
+ FROM sqlite_master
447
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
448
+ 
449
+ SQL (0.0ms) SELECT version FROM schema_migrations
450
+ Migrating to CreateAudits (20100115021125)
451
+ Migrating to CreatePosts (20100115021151)
452
+ Post Create (0.0ms) INSERT INTO "posts" ("created_at", "title", "body", "author", "updated_at") VALUES('2010-07-30 21:28:47', 'Hello, World', 'This is a test.', 'Matt Haley', '2010-07-30 21:28:47')
453
+ SQL (0.0ms) SELECT count(*) AS count_all FROM "audits" 
454
+
455
+
456
+ Processing PostsController#update (for 0.0.0.0 at 2010-07-30 14:28:47) [PUT]
457
+ Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
458
+ Post Load (0.0ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
459
+ Post Update (0.0ms) UPDATE "posts" SET "updated_at" = '2010-07-30 21:28:47', "title" = 'First post!' WHERE "id" = 1
460
+ Redirected to http://test.host/posts/1
461
+ WARNING: Can't mass-assign these protected attributes: id
462
+ Audit Create (0.0ms) INSERT INTO "audits" ("audited_type", "created_at", "audited_id", "updated_at", "user", "change_set") VALUES('Post', '2010-07-30 21:28:47', 1, '2010-07-30 21:28:47', 'John Smith', '---
463
+ title:
464
+ - Hello, World
465
+ - First post!
466
+ updated_at:
467
+ - 2010-07-30 21:28:47 Z
468
+ - 2010-07-30 21:28:47.812679 Z
469
+ ')
470
+ Completed in 43ms (DB: 5) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
471
+ Audit Load (0.0ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
472
+ SQL (0.0ms) SELECT count(*) AS count_all FROM "audits" 
473
+ SQL (0.0ms)  SELECT name
474
+ FROM sqlite_master
475
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
476
+ 
477
+ SQL (0.0ms) select sqlite_version(*)
478
+ SQL (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
479
+ SQL (0.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
480
+ SQL (0.0ms)  SELECT name
481
+ FROM sqlite_master
482
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
483
+ 
484
+ SQL (0.0ms) SELECT version FROM schema_migrations
485
+ Migrating to CreateAudits (20100115021125)
486
+ SQL (0.0ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
487
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
488
+ Migrating to CreatePosts (20100115021151)
489
+ SQL (0.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
490
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
491
+ SQL (0.0ms)  SELECT name
492
+ FROM sqlite_master
493
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
494
+ 
495
+ SQL (0.0ms) SELECT version FROM schema_migrations
496
+ Migrating to CreateAudits (20100115021125)
497
+ Migrating to CreatePosts (20100115021151)
498
+ SQL (0.0ms)  SELECT name
499
+ FROM sqlite_master
500
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
501
+ 
502
+ SQL (0.0ms) select sqlite_version(*)
503
+ SQL (0.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
504
+ SQL (0.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
505
+ SQL (0.0ms)  SELECT name
506
+ FROM sqlite_master
507
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
508
+ 
509
+ SQL (1.0ms) SELECT version FROM schema_migrations
510
+ Migrating to CreateAudits (20100115021125)
511
+ SQL (0.0ms) CREATE TABLE "audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audited_type" varchar(255), "audited_id" integer, "user" varchar(255), "change_set" text, "created_at" datetime, "updated_at" datetime) 
512
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021125')
513
+ Migrating to CreatePosts (20100115021151)
514
+ SQL (0.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
515
+ SQL (0.0ms) INSERT INTO schema_migrations (version) VALUES ('20100115021151')
516
+ SQL (0.0ms)  SELECT name
517
+ FROM sqlite_master
518
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
519
+ 
520
+ SQL (0.0ms) SELECT version FROM schema_migrations
521
+ Migrating to CreateAudits (20100115021125)
522
+ Migrating to CreatePosts (20100115021151)
523
+ Post Create (0.0ms) INSERT INTO "posts" ("created_at", "title", "body", "author", "updated_at") VALUES('2010-07-30 23:40:17', 'Hello, World', 'This is a test.', 'Matt Haley', '2010-07-30 23:40:17')
524
+ SQL (0.0ms) SELECT count(*) AS count_all FROM "audits" 
525
+
526
+
527
+ Processing PostsController#update (for 0.0.0.0 at 2010-07-30 16:40:17) [PUT]
528
+ Parameters: {"post"=>{"title"=>"First post!"}, "id"=>"1"}
529
+ Post Load (0.0ms) SELECT * FROM "posts" WHERE ("posts"."id" = 1) 
530
+ Post Update (0.0ms) UPDATE "posts" SET "updated_at" = '2010-07-30 23:40:17', "title" = 'First post!' WHERE "id" = 1
531
+ Redirected to http://test.host/posts/1
532
+ WARNING: Can't mass-assign these protected attributes: id
533
+ Audit Create (0.0ms) INSERT INTO "audits" ("audited_type", "created_at", "audited_id", "updated_at", "user", "change_set") VALUES('Post', '2010-07-30 23:40:17', 1, '2010-07-30 23:40:17', 'John Smith', '---
534
+ title:
535
+ - Hello, World
536
+ - First post!
537
+ updated_at:
538
+ - 2010-07-30 23:40:17 Z
539
+ - 2010-07-30 23:40:17.347339 Z
540
+ ')
541
+ Completed in 158ms (DB: 1) | 302 Found [http://test.host/posts/1?post%5Btitle%5D=First+post%21]
542
+ Audit Load (0.0ms) SELECT * FROM "audits" WHERE ("audits".audited_id = 1 AND "audits".audited_type = 'Post') LIMIT 1
543
+ SQL (0.0ms) SELECT count(*) AS count_all FROM "audits"