trust 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.
@@ -0,0 +1,2036 @@
1
+ accounts belongs_to [:client]
2
+  (0.4ms) begin transaction
3
+  (0.1ms) rollback transaction
4
+  (0.0ms) begin transaction
5
+  (0.0ms) rollback transaction
6
+  (0.0ms) begin transaction
7
+  (0.0ms) rollback transaction
8
+  (0.0ms) begin transaction
9
+  (0.0ms) rollback transaction
10
+  (0.0ms) begin transaction
11
+  (0.0ms) rollback transaction
12
+  (0.0ms) begin transaction
13
+  (0.0ms) rollback transaction
14
+  (0.0ms) begin transaction
15
+  (0.0ms) rollback transaction
16
+  (0.0ms) begin transaction
17
+  (0.1ms) rollback transaction
18
+  (0.1ms) begin transaction
19
+  (0.0ms) rollback transaction
20
+  (0.0ms) begin transaction
21
+  (0.0ms) rollback transaction
22
+  (0.0ms) begin transaction
23
+  (0.0ms) rollback transaction
24
+  (0.0ms) begin transaction
25
+  (0.0ms) rollback transaction
26
+  (0.0ms) begin transaction
27
+  (0.0ms) rollback transaction
28
+  (0.1ms) begin transaction
29
+  (0.0ms) rollback transaction
30
+  (0.0ms) begin transaction
31
+  (0.0ms) rollback transaction
32
+  (0.0ms) begin transaction
33
+  (0.0ms) rollback transaction
34
+  (0.0ms) begin transaction
35
+  (0.0ms) rollback transaction
36
+  (0.0ms) begin transaction
37
+  (0.0ms) rollback transaction
38
+  (0.0ms) begin transaction
39
+  (0.0ms) rollback transaction
40
+  (0.0ms) begin transaction
41
+  (0.0ms) rollback transaction
42
+  (0.0ms) begin transaction
43
+  (0.1ms) rollback transaction
44
+  (0.0ms) begin transaction
45
+  (0.0ms) rollback transaction
46
+  (0.0ms) begin transaction
47
+  (0.0ms) rollback transaction
48
+  (0.0ms) begin transaction
49
+  (0.0ms) rollback transaction
50
+  (0.0ms) begin transaction
51
+  (0.0ms) rollback transaction
52
+  (0.0ms) begin transaction
53
+  (0.0ms) rollback transaction
54
+  (0.0ms) begin transaction
55
+  (0.0ms) rollback transaction
56
+  (0.0ms) begin transaction
57
+  (0.0ms) rollback transaction
58
+  (0.0ms) begin transaction
59
+  (0.0ms) rollback transaction
60
+  (0.0ms) begin transaction
61
+  (0.0ms) rollback transaction
62
+  (0.0ms) begin transaction
63
+  (0.0ms) rollback transaction
64
+  (0.0ms) begin transaction
65
+  (0.0ms) rollback transaction
66
+  (0.0ms) begin transaction
67
+  (0.0ms) rollback transaction
68
+  (0.0ms) begin transaction
69
+  (0.0ms) rollback transaction
70
+  (0.0ms) begin transaction
71
+  (0.0ms) rollback transaction
72
+  (0.0ms) begin transaction
73
+  (0.0ms) rollback transaction
74
+  (0.0ms) begin transaction
75
+  (0.0ms) rollback transaction
76
+  (0.0ms) begin transaction
77
+  (0.0ms) rollback transaction
78
+  (0.0ms) begin transaction
79
+  (0.0ms) rollback transaction
80
+  (0.0ms) begin transaction
81
+  (0.0ms) rollback transaction
82
+  (0.0ms) begin transaction
83
+  (0.0ms) rollback transaction
84
+  (0.0ms) begin transaction
85
+  (0.0ms) rollback transaction
86
+  (0.1ms) begin transaction
87
+  (0.0ms) rollback transaction
88
+  (0.0ms) begin transaction
89
+  (0.0ms) rollback transaction
90
+  (0.0ms) begin transaction
91
+  (0.0ms) rollback transaction
92
+  (0.1ms) begin transaction
93
+  (0.0ms) rollback transaction
94
+  (0.0ms) begin transaction
95
+  (0.0ms) rollback transaction
96
+  (0.0ms) begin transaction
97
+  (0.0ms) rollback transaction
98
+  (0.0ms) begin transaction
99
+  (0.0ms) rollback transaction
100
+  (0.0ms) begin transaction
101
+  (0.0ms) rollback transaction
102
+  (0.0ms) begin transaction
103
+  (0.1ms) rollback transaction
104
+  (0.0ms) begin transaction
105
+  (0.1ms) rollback transaction
106
+  (0.0ms) begin transaction
107
+  (0.0ms) rollback transaction
108
+  (0.0ms) begin transaction
109
+  (0.0ms) rollback transaction
110
+  (0.0ms) begin transaction
111
+  (0.0ms) rollback transaction
112
+  (0.0ms) begin transaction
113
+  (0.0ms) rollback transaction
114
+  (0.0ms) begin transaction
115
+  (0.0ms) rollback transaction
116
+  (0.0ms) begin transaction
117
+  (0.0ms) rollback transaction
118
+  (0.0ms) begin transaction
119
+  (0.0ms) rollback transaction
120
+  (0.0ms) begin transaction
121
+  (0.0ms) rollback transaction
122
+  (0.0ms) begin transaction
123
+ controller belongs_to [:heaven, {:as=>:earth}]
124
+  (0.0ms) rollback transaction
125
+  (0.0ms) begin transaction
126
+ controller belongs_to [:heaven, :hell]
127
+ controller belongs_to [:earth]
128
+  (0.0ms) rollback transaction
129
+  (0.0ms) begin transaction
130
+ controller belongs_to [:heaven]
131
+  (0.0ms) rollback transaction
132
+  (0.0ms) begin transaction
133
+  (0.0ms) rollback transaction
134
+  (0.0ms) begin transaction
135
+  (0.1ms) rollback transaction
136
+  (0.1ms) begin transaction
137
+  (0.1ms) rollback transaction
138
+  (0.1ms) begin transaction
139
+  (0.0ms) rollback transaction
140
+  (0.1ms) begin transaction
141
+  (0.1ms) rollback transaction
142
+  (0.0ms) begin transaction
143
+  (0.1ms) rollback transaction
144
+  (0.0ms) begin transaction
145
+  (0.1ms) rollback transaction
146
+  (0.0ms) begin transaction
147
+  (0.1ms) rollback transaction
148
+  (0.0ms) begin transaction
149
+  (0.1ms) rollback transaction
150
+  (0.1ms) begin transaction
151
+  (0.1ms) rollback transaction
152
+  (0.0ms) begin transaction
153
+  (0.1ms) rollback transaction
154
+  (0.1ms) begin transaction
155
+  (0.1ms) rollback transaction
156
+  (0.0ms) begin transaction
157
+  (0.1ms) rollback transaction
158
+  (0.0ms) begin transaction
159
+  (0.1ms) rollback transaction
160
+  (0.1ms) begin transaction
161
+  (0.1ms) rollback transaction
162
+  (0.1ms) begin transaction
163
+  (0.1ms) rollback transaction
164
+  (0.0ms) begin transaction
165
+  (0.1ms) rollback transaction
166
+  (0.0ms) begin transaction
167
+  (0.1ms) rollback transaction
168
+  (0.1ms) begin transaction
169
+  (0.1ms) rollback transaction
170
+  (0.0ms) begin transaction
171
+  (0.1ms) rollback transaction
172
+  (0.1ms) begin transaction
173
+  (0.1ms) rollback transaction
174
+  (0.0ms) begin transaction
175
+  (0.1ms) rollback transaction
176
+  (0.0ms) begin transaction
177
+  (0.1ms) rollback transaction
178
+  (0.1ms) begin transaction
179
+  (0.1ms) rollback transaction
180
+  (0.0ms) begin transaction
181
+  (0.1ms) rollback transaction
182
+  (0.0ms) begin transaction
183
+  (0.1ms) rollback transaction
184
+  (0.1ms) begin transaction
185
+  (0.1ms) rollback transaction
186
+  (0.0ms) begin transaction
187
+  (0.1ms) rollback transaction
188
+  (0.0ms) begin transaction
189
+  (0.1ms) rollback transaction
190
+  (0.1ms) begin transaction
191
+  (0.1ms) rollback transaction
192
+  (0.0ms) begin transaction
193
+  (0.1ms) rollback transaction
194
+  (0.1ms) begin transaction
195
+ child belongs_to [:parent]
196
+  (0.0ms) rollback transaction
197
+  (0.0ms) begin transaction
198
+ child belongs_to [:parent]
199
+  (0.0ms) rollback transaction
200
+  (0.0ms) begin transaction
201
+ child belongs_to [:parent]
202
+  (0.0ms) rollback transaction
203
+  (0.0ms) begin transaction
204
+ child belongs_to [:parent]
205
+  (0.1ms) rollback transaction
206
+  (0.1ms) begin transaction
207
+ child belongs_to [:parent]
208
+  (0.1ms) rollback transaction
209
+  (0.0ms) begin transaction
210
+  (0.1ms) rollback transaction
211
+  (0.1ms) begin transaction
212
+  (0.0ms) rollback transaction
213
+  (0.0ms) begin transaction
214
+  (0.0ms) rollback transaction
215
+  (0.0ms) begin transaction
216
+  (0.0ms) rollback transaction
217
+  (0.0ms) begin transaction
218
+  (0.0ms) rollback transaction
219
+  (0.0ms) begin transaction
220
+  (0.1ms) rollback transaction
221
+  (0.1ms) begin transaction
222
+  (0.0ms) rollback transaction
223
+  (0.0ms) begin transaction
224
+  (0.1ms) rollback transaction
225
+  (0.0ms) begin transaction
226
+  (0.1ms) rollback transaction
227
+  (0.1ms) begin transaction
228
+  (0.0ms) rollback transaction
229
+  (0.0ms) begin transaction
230
+  (0.0ms) rollback transaction
231
+  (0.0ms) begin transaction
232
+  (0.0ms) rollback transaction
233
+  (0.0ms) begin transaction
234
+  (0.0ms) rollback transaction
235
+  (0.0ms) begin transaction
236
+  (0.0ms) rollback transaction
237
+  (0.0ms) begin transaction
238
+  (0.0ms) rollback transaction
239
+  (0.0ms) begin transaction
240
+  (0.0ms) rollback transaction
241
+  (0.0ms) begin transaction
242
+  (0.0ms) rollback transaction
243
+  (0.0ms) begin transaction
244
+  (0.0ms) rollback transaction
245
+  (0.0ms) begin transaction
246
+  (0.1ms) rollback transaction
247
+  (0.1ms) begin transaction
248
+  (0.0ms) rollback transaction
249
+  (0.0ms) begin transaction
250
+  (0.0ms) rollback transaction
251
+  (0.0ms) begin transaction
252
+  (0.0ms) rollback transaction
253
+  (0.0ms) begin transaction
254
+  (0.0ms) rollback transaction
255
+  (0.0ms) begin transaction
256
+  (0.0ms) rollback transaction
257
+  (0.0ms) begin transaction
258
+  (0.0ms) rollback transaction
259
+  (0.0ms) begin transaction
260
+  (0.0ms) rollback transaction
261
+  (0.0ms) begin transaction
262
+  (0.0ms) rollback transaction
263
+  (0.0ms) begin transaction
264
+  (0.0ms) rollback transaction
265
+  (0.0ms) begin transaction
266
+  (0.0ms) rollback transaction
267
+  (0.0ms) begin transaction
268
+  (0.0ms) rollback transaction
269
+  (0.0ms) begin transaction
270
+  (0.0ms) rollback transaction
271
+  (0.0ms) begin transaction
272
+  (0.0ms) rollback transaction
273
+  (0.0ms) begin transaction
274
+  (0.0ms) rollback transaction
275
+  (0.0ms) begin transaction
276
+  (0.0ms) rollback transaction
277
+  (0.0ms) begin transaction
278
+  (0.0ms) rollback transaction
279
+  (0.0ms) begin transaction
280
+  (0.1ms) rollback transaction
281
+  (0.1ms) begin transaction
282
+  (0.0ms) rollback transaction
283
+  (0.1ms) begin transaction
284
+  (0.0ms) rollback transaction
285
+  (0.0ms) begin transaction
286
+  (0.0ms) rollback transaction
287
+  (0.0ms) begin transaction
288
+  (0.0ms) rollback transaction
289
+  (0.0ms) begin transaction
290
+  (0.0ms) rollback transaction
291
+  (0.0ms) begin transaction
292
+  (0.0ms) rollback transaction
293
+  (0.0ms) begin transaction
294
+  (0.0ms) rollback transaction
295
+  (0.0ms) begin transaction
296
+  (0.0ms) rollback transaction
297
+  (0.0ms) begin transaction
298
+  (0.0ms) rollback transaction
299
+ accounts belongs_to [:client]
300
+  (0.7ms) begin transaction
301
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
302
+  (0.1ms) SAVEPOINT active_record_1
303
+ SQL (13.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
304
+  (0.1ms) RELEASE SAVEPOINT active_record_1
305
+  (0.1ms) SAVEPOINT active_record_1
306
+ SQL (0.8ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
307
+  (0.1ms) RELEASE SAVEPOINT active_record_1
308
+  (0.1ms) SAVEPOINT active_record_1
309
+ SQL (0.5ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
310
+  (0.0ms) RELEASE SAVEPOINT active_record_1
311
+  (0.1ms) SELECT COUNT(*) FROM "accounts"
312
+ Processing by AccountsController#create as HTML
313
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1"}
314
+ Client Load (0.2ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
315
+  (0.1ms) SAVEPOINT active_record_1
316
+ SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
317
+  (0.0ms) RELEASE SAVEPOINT active_record_1
318
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1
319
+ Redirected to http://test.host/client/1/accounts/2
320
+ Completed 302 Found in 82ms (ActiveRecord: 0.7ms)
321
+  (0.1ms) SELECT COUNT(*) FROM "accounts"
322
+  (1.2ms) rollback transaction
323
+  (0.1ms) begin transaction
324
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
325
+  (0.0ms) SAVEPOINT active_record_1
326
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
327
+  (0.1ms) RELEASE SAVEPOINT active_record_1
328
+  (0.0ms) SAVEPOINT active_record_1
329
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
330
+  (0.0ms) RELEASE SAVEPOINT active_record_1
331
+  (0.0ms) SAVEPOINT active_record_1
332
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
333
+  (0.0ms) RELEASE SAVEPOINT active_record_1
334
+  (0.1ms) SELECT COUNT(*) FROM "accounts" 
335
+ Processing by AccountsController#destroy as HTML
336
+ Parameters: {"client_id"=>"1", "id"=>"1"}
337
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
338
+ Account Load (0.2ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
339
+  (0.1ms) SAVEPOINT active_record_1
340
+ SQL (0.2ms) DELETE FROM "accounts" WHERE "accounts"."id" = ? [["id", 1]]
341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342
+ Redirected to http://test.host/client/1/accounts
343
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
344
+  (0.1ms) SELECT COUNT(*) FROM "accounts" 
345
+  (1.1ms) rollback transaction
346
+  (0.0ms) begin transaction
347
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
348
+  (0.0ms) SAVEPOINT active_record_1
349
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
350
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351
+  (0.0ms) SAVEPOINT active_record_1
352
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
353
+  (0.0ms) RELEASE SAVEPOINT active_record_1
354
+  (0.0ms) SAVEPOINT active_record_1
355
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
356
+  (0.0ms) RELEASE SAVEPOINT active_record_1
357
+ Processing by AccountsController#edit as HTML
358
+ Parameters: {"client_id"=>"1", "id"=>"1"}
359
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
360
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
361
+ Rendered accounts/_form.html.erb (4.9ms)
362
+ Completed 200 OK in 63ms (Views: 58.4ms | ActiveRecord: 0.2ms)
363
+  (12.9ms) rollback transaction
364
+  (0.1ms) begin transaction
365
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
366
+  (0.0ms) SAVEPOINT active_record_1
367
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
368
+  (0.0ms) RELEASE SAVEPOINT active_record_1
369
+  (0.0ms) SAVEPOINT active_record_1
370
+ SQL (0.6ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
371
+  (0.0ms) RELEASE SAVEPOINT active_record_1
372
+  (0.0ms) SAVEPOINT active_record_1
373
+ SQL (0.4ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
375
+ Processing by AccountsController#index as HTML
376
+ Parameters: {"client_id"=>"1"}
377
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
378
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1
379
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1
380
+ Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.3ms)
381
+  (1.2ms) rollback transaction
382
+  (0.0ms) begin transaction
383
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
384
+  (0.0ms) SAVEPOINT active_record_1
385
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
386
+  (0.0ms) RELEASE SAVEPOINT active_record_1
387
+  (0.0ms) SAVEPOINT active_record_1
388
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
389
+  (0.0ms) RELEASE SAVEPOINT active_record_1
390
+  (0.0ms) SAVEPOINT active_record_1
391
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
393
+ Processing by AccountsController#new as HTML
394
+ Parameters: {"client_id"=>"1"}
395
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
396
+ Rendered accounts/_form.html.erb (2.1ms)
397
+ Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.1ms)
398
+  (1.2ms) rollback transaction
399
+  (0.0ms) begin transaction
400
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
401
+  (0.0ms) SAVEPOINT active_record_1
402
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
403
+  (0.0ms) RELEASE SAVEPOINT active_record_1
404
+  (0.0ms) SAVEPOINT active_record_1
405
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
406
+  (0.0ms) RELEASE SAVEPOINT active_record_1
407
+  (0.0ms) SAVEPOINT active_record_1
408
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
409
+  (0.0ms) RELEASE SAVEPOINT active_record_1
410
+ Processing by AccountsController#show as HTML
411
+ Parameters: {"client_id"=>"1", "id"=>"1"}
412
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
413
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
414
+ Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 0.2ms)
415
+  (1.0ms) rollback transaction
416
+  (0.0ms) begin transaction
417
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
418
+  (0.0ms) SAVEPOINT active_record_1
419
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
420
+  (0.0ms) RELEASE SAVEPOINT active_record_1
421
+  (0.0ms) SAVEPOINT active_record_1
422
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
423
+  (0.0ms) RELEASE SAVEPOINT active_record_1
424
+  (0.0ms) SAVEPOINT active_record_1
425
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:32:14 UTC +00:00]]
426
+  (0.0ms) RELEASE SAVEPOINT active_record_1
427
+ Processing by AccountsController#update as HTML
428
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"}
429
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
430
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
431
+  (0.1ms) SAVEPOINT active_record_1
432
+  (0.1ms) RELEASE SAVEPOINT active_record_1
433
+ Redirected to http://test.host/client/1/accounts/1
434
+ Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
435
+  (1.2ms) rollback transaction
436
+  (0.1ms) begin transaction
437
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
438
+  (0.0ms) SAVEPOINT active_record_1
439
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
440
+  (0.0ms) RELEASE SAVEPOINT active_record_1
441
+  (0.0ms) SAVEPOINT active_record_1
442
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
444
+  (0.0ms) SAVEPOINT active_record_1
445
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
446
+  (0.0ms) RELEASE SAVEPOINT active_record_1
447
+ Processing by AccountsController#update as HTML
448
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"}
449
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
450
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
451
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
452
+  (0.1ms) SAVEPOINT active_record_1
453
+  (0.0ms) RELEASE SAVEPOINT active_record_1
454
+ Redirected to http://test.host/client/1/accounts/1
455
+ Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
456
+  (1.1ms) rollback transaction
457
+  (0.0ms) begin transaction
458
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
459
+  (0.0ms) SAVEPOINT active_record_1
460
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
461
+  (0.0ms) RELEASE SAVEPOINT active_record_1
462
+  (0.0ms) SAVEPOINT active_record_1
463
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
465
+  (0.0ms) SAVEPOINT active_record_1
466
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
467
+  (0.0ms) RELEASE SAVEPOINT active_record_1
468
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
469
+  (0.0ms) SAVEPOINT active_record_1
470
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "guest"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
471
+  (0.0ms) RELEASE SAVEPOINT active_record_1
472
+ Processing by AccountsController#update as HTML
473
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"}
474
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
475
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
476
+ Completed 500 Internal Server Error in 3ms
477
+  (1.1ms) rollback transaction
478
+  (0.0ms) begin transaction
479
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
480
+  (0.0ms) SAVEPOINT active_record_1
481
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
482
+  (0.0ms) RELEASE SAVEPOINT active_record_1
483
+  (0.0ms) SAVEPOINT active_record_1
484
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
485
+  (0.0ms) RELEASE SAVEPOINT active_record_1
486
+  (0.0ms) SAVEPOINT active_record_1
487
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
488
+  (0.0ms) RELEASE SAVEPOINT active_record_1
489
+ Processing by AccountsController#destroy as HTML
490
+ Parameters: {"client_id"=>"1", "id"=>"1"}
491
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
492
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
493
+ Completed 500 Internal Server Error in 4ms
494
+  (1.2ms) rollback transaction
495
+  (0.1ms) begin transaction
496
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
497
+  (0.0ms) SAVEPOINT active_record_1
498
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
499
+  (0.0ms) RELEASE SAVEPOINT active_record_1
500
+  (0.0ms) SAVEPOINT active_record_1
501
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
502
+  (0.0ms) RELEASE SAVEPOINT active_record_1
503
+  (0.0ms) SAVEPOINT active_record_1
504
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
506
+ Processing by AccountsController#index as HTML
507
+ Parameters: {"client_id"=>"1"}
508
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
509
+ Completed 500 Internal Server Error in 2ms
510
+  (0.9ms) rollback transaction
511
+  (0.1ms) begin transaction
512
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
513
+  (0.0ms) SAVEPOINT active_record_1
514
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
515
+  (0.0ms) RELEASE SAVEPOINT active_record_1
516
+  (0.0ms) SAVEPOINT active_record_1
517
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
518
+  (0.0ms) RELEASE SAVEPOINT active_record_1
519
+  (0.0ms) SAVEPOINT active_record_1
520
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
521
+  (0.0ms) RELEASE SAVEPOINT active_record_1
522
+ Processing by AccountsController#new as HTML
523
+ Parameters: {"client_id"=>"1"}
524
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
525
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
526
+ Completed 500 Internal Server Error in 4ms
527
+  (1.2ms) rollback transaction
528
+  (0.0ms) begin transaction
529
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
530
+  (0.0ms) SAVEPOINT active_record_1
531
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
532
+  (0.0ms) RELEASE SAVEPOINT active_record_1
533
+  (0.0ms) SAVEPOINT active_record_1
534
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
535
+  (0.0ms) RELEASE SAVEPOINT active_record_1
536
+  (0.0ms) SAVEPOINT active_record_1
537
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
538
+  (0.0ms) RELEASE SAVEPOINT active_record_1
539
+ Processing by AccountsController#show as HTML
540
+ Parameters: {"client_id"=>"1", "id"=>"1"}
541
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
542
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
543
+ Completed 500 Internal Server Error in 4ms
544
+  (1.0ms) rollback transaction
545
+  (0.1ms) begin transaction
546
+  (0.0ms) SAVEPOINT active_record_1
547
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
548
+  (0.1ms) RELEASE SAVEPOINT active_record_1
549
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
550
+  (0.0ms) SAVEPOINT active_record_1
551
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
552
+  (0.1ms) RELEASE SAVEPOINT active_record_1
553
+  (0.1ms) SELECT COUNT(*) FROM "clients" 
554
+ Processing by ClientsController#create as HTML
555
+ Parameters: {"client"=>{"name"=>nil}}
556
+  (0.1ms) SAVEPOINT active_record_1
557
+ SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
559
+ Redirected to http://test.host/clients/2
560
+ Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
561
+  (0.1ms) SELECT COUNT(*) FROM "clients" 
562
+  (1.3ms) rollback transaction
563
+  (0.0ms) begin transaction
564
+  (0.0ms) SAVEPOINT active_record_1
565
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
566
+  (0.0ms) RELEASE SAVEPOINT active_record_1
567
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
568
+  (0.0ms) SAVEPOINT active_record_1
569
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
570
+  (0.0ms) RELEASE SAVEPOINT active_record_1
571
+  (0.1ms) SELECT COUNT(*) FROM "clients" 
572
+ Processing by ClientsController#destroy as HTML
573
+ Parameters: {"id"=>"1"}
574
+ Client Load (0.2ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
575
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
576
+  (0.1ms) SAVEPOINT active_record_1
577
+ SQL (0.1ms) DELETE FROM "clients" WHERE "clients"."id" = ? [["id", 1]]
578
+  (0.0ms) RELEASE SAVEPOINT active_record_1
579
+ Redirected to http://test.host/clients
580
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
581
+  (0.1ms) SELECT COUNT(*) FROM "clients" 
582
+  (1.2ms) rollback transaction
583
+  (0.0ms) begin transaction
584
+  (0.0ms) SAVEPOINT active_record_1
585
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
587
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
588
+  (0.0ms) SAVEPOINT active_record_1
589
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
590
+  (0.0ms) RELEASE SAVEPOINT active_record_1
591
+ Processing by ClientsController#edit as HTML
592
+ Parameters: {"id"=>"1"}
593
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
594
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
595
+ Rendered clients/_form.html.erb (2.7ms)
596
+ Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.1ms)
597
+  (1.0ms) rollback transaction
598
+  (0.0ms) begin transaction
599
+  (0.0ms) SAVEPOINT active_record_1
600
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
602
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
603
+  (0.1ms) SAVEPOINT active_record_1
604
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
606
+ Processing by ClientsController#index as HTML
607
+ Client Load (0.2ms) SELECT "clients".* FROM "clients"
608
+ Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 0.2ms)
609
+  (1.3ms) rollback transaction
610
+  (0.1ms) begin transaction
611
+  (0.0ms) SAVEPOINT active_record_1
612
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
613
+  (0.1ms) RELEASE SAVEPOINT active_record_1
614
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
615
+  (0.0ms) SAVEPOINT active_record_1
616
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
618
+ Processing by ClientsController#new as HTML
619
+ Rendered clients/_form.html.erb (1.8ms)
620
+ Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms)
621
+  (1.1ms) rollback transaction
622
+  (0.1ms) begin transaction
623
+  (0.0ms) SAVEPOINT active_record_1
624
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
625
+  (0.0ms) RELEASE SAVEPOINT active_record_1
626
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
627
+  (0.0ms) SAVEPOINT active_record_1
628
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
629
+  (0.0ms) RELEASE SAVEPOINT active_record_1
630
+ Processing by ClientsController#show as HTML
631
+ Parameters: {"id"=>"1"}
632
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
633
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
634
+ Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.1ms)
635
+  (1.0ms) rollback transaction
636
+  (0.0ms) begin transaction
637
+  (0.0ms) SAVEPOINT active_record_1
638
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
639
+  (0.0ms) RELEASE SAVEPOINT active_record_1
640
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
641
+  (0.0ms) SAVEPOINT active_record_1
642
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
644
+ Processing by ClientsController#update as HTML
645
+ Parameters: {"client"=>{"name"=>nil}, "id"=>"1"}
646
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
647
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
648
+  (0.1ms) SAVEPOINT active_record_1
649
+  (0.1ms) RELEASE SAVEPOINT active_record_1
650
+ Redirected to http://test.host/clients/1
651
+ Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
652
+  (1.0ms) rollback transaction
653
+  (0.1ms) begin transaction
654
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
655
+  (0.0ms) SAVEPOINT active_record_1
656
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
657
+  (0.0ms) RELEASE SAVEPOINT active_record_1
658
+  (0.8ms) rollback transaction
659
+  (0.1ms) begin transaction
660
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
661
+  (0.0ms) SAVEPOINT active_record_1
662
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
663
+  (0.0ms) RELEASE SAVEPOINT active_record_1
664
+  (0.7ms) rollback transaction
665
+  (0.1ms) begin transaction
666
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
667
+  (0.1ms) SAVEPOINT active_record_1
668
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
669
+  (0.1ms) RELEASE SAVEPOINT active_record_1
670
+  (1.0ms) rollback transaction
671
+  (0.0ms) begin transaction
672
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1
673
+  (0.0ms) SAVEPOINT active_record_1
674
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
675
+  (0.0ms) RELEASE SAVEPOINT active_record_1
676
+  (1.0ms) rollback transaction
677
+  (0.1ms) begin transaction
678
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
679
+  (0.0ms) SAVEPOINT active_record_1
680
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
681
+  (0.0ms) RELEASE SAVEPOINT active_record_1
682
+  (1.0ms) rollback transaction
683
+  (0.0ms) begin transaction
684
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
685
+  (0.0ms) SAVEPOINT active_record_1
686
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :guest], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
688
+  (0.0ms) SAVEPOINT active_record_1
689
+ SQL (0.4ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
690
+  (0.0ms) RELEASE SAVEPOINT active_record_1
691
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
692
+  (0.0ms) SAVEPOINT active_record_1
693
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
694
+  (0.0ms) RELEASE SAVEPOINT active_record_1
695
+  (1.2ms) rollback transaction
696
+  (0.0ms) begin transaction
697
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
698
+  (0.0ms) SAVEPOINT active_record_1
699
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
700
+  (0.1ms) RELEASE SAVEPOINT active_record_1
701
+  (0.1ms) SAVEPOINT active_record_1
702
+ SQL (0.5ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
704
+  (1.2ms) rollback transaction
705
+  (0.0ms) begin transaction
706
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
707
+  (0.0ms) SAVEPOINT active_record_1
708
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
710
+  (0.9ms) rollback transaction
711
+  (0.1ms) begin transaction
712
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
713
+  (0.1ms) SAVEPOINT active_record_1
714
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
715
+  (0.0ms) RELEASE SAVEPOINT active_record_1
716
+  (1.0ms) rollback transaction
717
+  (0.1ms) begin transaction
718
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1
719
+  (0.0ms) SAVEPOINT active_record_1
720
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
722
+  (1.0ms) rollback transaction
723
+  (0.1ms) begin transaction
724
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
725
+  (0.1ms) SAVEPOINT active_record_1
726
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :guest], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
727
+  (0.0ms) RELEASE SAVEPOINT active_record_1
728
+  (0.6ms) rollback transaction
729
+  (0.0ms) begin transaction
730
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
731
+  (0.1ms) SAVEPOINT active_record_1
732
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
733
+  (0.0ms) RELEASE SAVEPOINT active_record_1
734
+  (0.9ms) rollback transaction
735
+  (0.1ms) begin transaction
736
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
737
+  (0.0ms) SAVEPOINT active_record_1
738
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
739
+  (0.0ms) RELEASE SAVEPOINT active_record_1
740
+  (1.1ms) rollback transaction
741
+  (0.1ms) begin transaction
742
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
743
+  (0.0ms) SAVEPOINT active_record_1
744
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :guest], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
745
+  (0.0ms) RELEASE SAVEPOINT active_record_1
746
+  (0.9ms) rollback transaction
747
+  (0.1ms) begin transaction
748
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
749
+  (0.1ms) SAVEPOINT active_record_1
750
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
751
+  (0.0ms) RELEASE SAVEPOINT active_record_1
752
+  (0.8ms) rollback transaction
753
+  (0.0ms) begin transaction
754
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
755
+  (0.0ms) SAVEPOINT active_record_1
756
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :guest], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
757
+  (0.0ms) RELEASE SAVEPOINT active_record_1
758
+  (1.0ms) rollback transaction
759
+  (0.0ms) begin transaction
760
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
761
+  (0.0ms) SAVEPOINT active_record_1
762
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
763
+  (0.0ms) RELEASE SAVEPOINT active_record_1
764
+  (0.8ms) rollback transaction
765
+  (0.1ms) begin transaction
766
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
767
+  (0.0ms) SAVEPOINT active_record_1
768
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
769
+  (0.0ms) RELEASE SAVEPOINT active_record_1
770
+  (0.9ms) rollback transaction
771
+  (0.0ms) begin transaction
772
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
773
+  (0.0ms) SAVEPOINT active_record_1
774
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
775
+  (0.1ms) RELEASE SAVEPOINT active_record_1
776
+  (0.6ms) rollback transaction
777
+  (0.1ms) begin transaction
778
+  (0.1ms) rollback transaction
779
+  (0.0ms) begin transaction
780
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
781
+  (0.0ms) SAVEPOINT active_record_1
782
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :guest], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
783
+  (0.1ms) RELEASE SAVEPOINT active_record_1
784
+  (0.8ms) rollback transaction
785
+  (0.1ms) begin transaction
786
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1
787
+  (0.0ms) SAVEPOINT active_record_1
788
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", :blind_man], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
790
+  (0.8ms) rollback transaction
791
+  (0.1ms) begin transaction
792
+  (0.0ms) rollback transaction
793
+  (0.0ms) begin transaction
794
+  (0.0ms) rollback transaction
795
+  (0.0ms) begin transaction
796
+  (0.0ms) rollback transaction
797
+  (0.0ms) begin transaction
798
+  (0.0ms) rollback transaction
799
+  (0.0ms) begin transaction
800
+  (0.0ms) rollback transaction
801
+  (0.0ms) begin transaction
802
+  (0.0ms) rollback transaction
803
+  (0.0ms) begin transaction
804
+  (0.0ms) rollback transaction
805
+  (0.0ms) begin transaction
806
+  (0.0ms) rollback transaction
807
+  (0.0ms) begin transaction
808
+  (0.1ms) rollback transaction
809
+  (0.0ms) begin transaction
810
+  (0.1ms) rollback transaction
811
+  (0.0ms) begin transaction
812
+  (0.0ms) rollback transaction
813
+  (0.0ms) begin transaction
814
+  (0.1ms) rollback transaction
815
+  (0.0ms) begin transaction
816
+  (0.0ms) rollback transaction
817
+  (0.0ms) begin transaction
818
+  (0.0ms) rollback transaction
819
+  (0.0ms) begin transaction
820
+  (0.0ms) rollback transaction
821
+  (0.0ms) begin transaction
822
+  (0.0ms) rollback transaction
823
+  (0.0ms) begin transaction
824
+  (0.0ms) rollback transaction
825
+  (0.0ms) begin transaction
826
+  (0.1ms) rollback transaction
827
+  (0.1ms) begin transaction
828
+ controller belongs_to [:heaven, {:as=>:earth}]
829
+  (0.0ms) rollback transaction
830
+  (0.0ms) begin transaction
831
+ controller belongs_to [:heaven, :hell]
832
+ controller belongs_to [:earth]
833
+  (0.0ms) rollback transaction
834
+  (0.0ms) begin transaction
835
+ controller belongs_to [:heaven]
836
+  (0.0ms) rollback transaction
837
+  (0.0ms) begin transaction
838
+  (0.0ms) rollback transaction
839
+  (0.0ms) begin transaction
840
+  (0.0ms) rollback transaction
841
+  (0.0ms) begin transaction
842
+  (0.0ms) rollback transaction
843
+  (0.0ms) begin transaction
844
+  (0.0ms) rollback transaction
845
+  (0.0ms) begin transaction
846
+  (0.1ms) rollback transaction
847
+  (0.1ms) begin transaction
848
+  (0.1ms) rollback transaction
849
+  (0.1ms) begin transaction
850
+  (0.1ms) rollback transaction
851
+  (0.0ms) begin transaction
852
+  (0.1ms) rollback transaction
853
+  (0.1ms) begin transaction
854
+  (0.1ms) rollback transaction
855
+  (0.0ms) begin transaction
856
+  (0.1ms) rollback transaction
857
+  (0.0ms) begin transaction
858
+  (0.1ms) rollback transaction
859
+  (0.0ms) begin transaction
860
+  (0.1ms) rollback transaction
861
+  (0.1ms) begin transaction
862
+  (0.1ms) rollback transaction
863
+  (0.1ms) begin transaction
864
+  (0.1ms) rollback transaction
865
+  (0.0ms) begin transaction
866
+  (0.1ms) rollback transaction
867
+  (0.0ms) begin transaction
868
+  (0.1ms) rollback transaction
869
+  (0.0ms) begin transaction
870
+  (0.1ms) rollback transaction
871
+  (0.0ms) begin transaction
872
+  (0.1ms) rollback transaction
873
+  (0.0ms) begin transaction
874
+  (0.1ms) rollback transaction
875
+  (0.0ms) begin transaction
876
+  (0.1ms) rollback transaction
877
+  (0.0ms) begin transaction
878
+  (0.1ms) rollback transaction
879
+  (0.0ms) begin transaction
880
+  (0.1ms) rollback transaction
881
+  (0.0ms) begin transaction
882
+  (0.1ms) rollback transaction
883
+  (0.0ms) begin transaction
884
+  (0.1ms) rollback transaction
885
+  (0.0ms) begin transaction
886
+  (0.1ms) rollback transaction
887
+  (0.0ms) begin transaction
888
+  (0.1ms) rollback transaction
889
+  (0.1ms) begin transaction
890
+  (0.1ms) rollback transaction
891
+  (0.0ms) begin transaction
892
+  (0.1ms) rollback transaction
893
+  (0.0ms) begin transaction
894
+  (0.1ms) rollback transaction
895
+  (0.0ms) begin transaction
896
+  (0.1ms) rollback transaction
897
+  (0.0ms) begin transaction
898
+  (0.1ms) rollback transaction
899
+  (0.1ms) begin transaction
900
+ child belongs_to [:parent]
901
+  (0.1ms) rollback transaction
902
+  (0.0ms) begin transaction
903
+ child belongs_to [:parent]
904
+  (0.1ms) rollback transaction
905
+  (0.0ms) begin transaction
906
+ child belongs_to [:parent]
907
+  (0.0ms) rollback transaction
908
+  (0.0ms) begin transaction
909
+ child belongs_to [:parent]
910
+  (0.0ms) rollback transaction
911
+  (0.0ms) begin transaction
912
+ child belongs_to [:parent]
913
+  (0.1ms) rollback transaction
914
+  (0.0ms) begin transaction
915
+  (0.1ms) rollback transaction
916
+  (0.0ms) begin transaction
917
+  (0.0ms) rollback transaction
918
+  (0.0ms) begin transaction
919
+  (0.0ms) rollback transaction
920
+  (0.0ms) begin transaction
921
+  (0.0ms) rollback transaction
922
+  (0.0ms) begin transaction
923
+  (0.1ms) rollback transaction
924
+  (0.1ms) begin transaction
925
+  (0.1ms) rollback transaction
926
+  (0.0ms) begin transaction
927
+  (0.0ms) rollback transaction
928
+  (0.0ms) begin transaction
929
+  (0.0ms) rollback transaction
930
+  (0.0ms) begin transaction
931
+  (0.0ms) rollback transaction
932
+  (0.0ms) begin transaction
933
+  (0.0ms) rollback transaction
934
+  (0.0ms) begin transaction
935
+  (0.0ms) rollback transaction
936
+  (0.0ms) begin transaction
937
+  (0.0ms) rollback transaction
938
+  (0.0ms) begin transaction
939
+  (0.1ms) rollback transaction
940
+  (0.0ms) begin transaction
941
+  (0.1ms) rollback transaction
942
+  (0.0ms) begin transaction
943
+  (0.1ms) rollback transaction
944
+  (0.1ms) begin transaction
945
+  (0.0ms) rollback transaction
946
+  (0.0ms) begin transaction
947
+  (0.0ms) rollback transaction
948
+  (0.0ms) begin transaction
949
+  (0.0ms) rollback transaction
950
+  (0.0ms) begin transaction
951
+  (0.0ms) rollback transaction
952
+  (0.0ms) begin transaction
953
+  (0.0ms) rollback transaction
954
+  (0.0ms) begin transaction
955
+  (0.0ms) rollback transaction
956
+  (0.0ms) begin transaction
957
+  (0.0ms) rollback transaction
958
+  (0.0ms) begin transaction
959
+  (0.0ms) rollback transaction
960
+  (0.0ms) begin transaction
961
+  (0.0ms) rollback transaction
962
+  (0.0ms) begin transaction
963
+  (0.0ms) rollback transaction
964
+  (0.0ms) begin transaction
965
+  (0.0ms) rollback transaction
966
+  (0.0ms) begin transaction
967
+  (0.0ms) rollback transaction
968
+  (0.0ms) begin transaction
969
+  (0.0ms) rollback transaction
970
+  (0.0ms) begin transaction
971
+  (0.0ms) rollback transaction
972
+  (0.0ms) begin transaction
973
+  (0.0ms) rollback transaction
974
+  (0.0ms) begin transaction
975
+  (0.0ms) rollback transaction
976
+  (0.0ms) begin transaction
977
+  (0.1ms) rollback transaction
978
+  (0.0ms) begin transaction
979
+  (0.0ms) rollback transaction
980
+  (0.0ms) begin transaction
981
+  (0.0ms) rollback transaction
982
+  (0.0ms) begin transaction
983
+  (0.0ms) rollback transaction
984
+  (0.0ms) begin transaction
985
+  (0.0ms) rollback transaction
986
+  (0.0ms) begin transaction
987
+  (0.0ms) rollback transaction
988
+  (0.0ms) begin transaction
989
+  (0.0ms) rollback transaction
990
+  (0.1ms) begin transaction
991
+  (0.0ms) SAVEPOINT active_record_1
992
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
993
+  (0.1ms) RELEASE SAVEPOINT active_record_1
994
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
995
+  (0.0ms) SAVEPOINT active_record_1
996
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
997
+  (0.1ms) RELEASE SAVEPOINT active_record_1
998
+  (0.1ms) SELECT COUNT(*) FROM "users" 
999
+ Processing by UsersController#create as HTML
1000
+ Parameters: {"user"=>{"name"=>nil}}
1001
+  (0.1ms) SAVEPOINT active_record_1
1002
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
1003
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1004
+ Redirected to http://test.host/users/3
1005
+ Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
1006
+  (0.1ms) SELECT COUNT(*) FROM "users" 
1007
+  (1.1ms) rollback transaction
1008
+  (0.1ms) begin transaction
1009
+  (0.0ms) SAVEPOINT active_record_1
1010
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
1011
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1012
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1013
+  (0.0ms) SAVEPOINT active_record_1
1014
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
1015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1016
+  (0.1ms) SELECT COUNT(*) FROM "users" 
1017
+ Processing by UsersController#destroy as HTML
1018
+ Parameters: {"id"=>"1"}
1019
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
1020
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
1021
+  (0.1ms) SAVEPOINT active_record_1
1022
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
1023
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1024
+ Redirected to http://test.host/users
1025
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
1026
+  (0.1ms) SELECT COUNT(*) FROM "users" 
1027
+  (1.1ms) rollback transaction
1028
+  (0.0ms) begin transaction
1029
+  (0.0ms) SAVEPOINT active_record_1
1030
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
1031
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1032
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1033
+  (0.0ms) SAVEPOINT active_record_1
1034
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
1035
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1036
+ Processing by UsersController#edit as HTML
1037
+ Parameters: {"id"=>"1"}
1038
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
1039
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
1040
+ Rendered users/_form.html.erb (2.9ms)
1041
+ Completed 200 OK in 12ms (Views: 7.1ms | ActiveRecord: 0.1ms)
1042
+  (5.1ms) rollback transaction
1043
+  (0.1ms) begin transaction
1044
+  (0.0ms) SAVEPOINT active_record_1
1045
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
1046
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1047
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1048
+  (0.0ms) SAVEPOINT active_record_1
1049
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
1050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1051
+ Processing by UsersController#index as HTML
1052
+ User Load (0.2ms) SELECT "users".* FROM "users"
1053
+ Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.2ms)
1054
+  (1.2ms) rollback transaction
1055
+  (0.0ms) begin transaction
1056
+  (0.0ms) SAVEPOINT active_record_1
1057
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
1058
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1059
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1060
+  (0.0ms) SAVEPOINT active_record_1
1061
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:15 UTC +00:00]]
1062
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1063
+ Processing by UsersController#new as HTML
1064
+ Rendered users/_form.html.erb (1.7ms)
1065
+ Completed 200 OK in 9ms (Views: 4.5ms | ActiveRecord: 0.0ms)
1066
+  (28.4ms) rollback transaction
1067
+  (0.1ms) begin transaction
1068
+  (0.0ms) SAVEPOINT active_record_1
1069
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:16 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:16 UTC +00:00]]
1070
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1071
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1072
+  (0.0ms) SAVEPOINT active_record_1
1073
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:16 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:16 UTC +00:00]]
1074
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1075
+ Processing by UsersController#show as HTML
1076
+ Parameters: {"id"=>"1"}
1077
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
1078
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
1079
+ Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 0.1ms)
1080
+  (1.2ms) rollback transaction
1081
+  (0.1ms) begin transaction
1082
+  (0.0ms) SAVEPOINT active_record_1
1083
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:16 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:32:16 UTC +00:00]]
1084
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1085
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1086
+  (0.0ms) SAVEPOINT active_record_1
1087
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:32:16 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:32:16 UTC +00:00]]
1088
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1089
+ Processing by UsersController#update as HTML
1090
+ Parameters: {"user"=>{"name"=>nil}, "id"=>"1"}
1091
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
1092
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
1093
+  (0.1ms) SAVEPOINT active_record_1
1094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1095
+ Redirected to http://test.host/users/1
1096
+ Completed 302 Found in 7ms (ActiveRecord: 0.3ms)
1097
+  (1.1ms) rollback transaction
1098
+ accounts belongs_to [:client]
1099
+  (0.5ms) begin transaction
1100
+  (0.1ms) rollback transaction
1101
+  (0.1ms) begin transaction
1102
+  (0.1ms) rollback transaction
1103
+  (0.0ms) begin transaction
1104
+  (0.1ms) rollback transaction
1105
+  (0.0ms) begin transaction
1106
+  (0.1ms) rollback transaction
1107
+  (0.0ms) begin transaction
1108
+  (0.1ms) rollback transaction
1109
+  (0.0ms) begin transaction
1110
+  (0.1ms) rollback transaction
1111
+  (0.0ms) begin transaction
1112
+  (0.1ms) rollback transaction
1113
+  (0.0ms) begin transaction
1114
+  (0.1ms) rollback transaction
1115
+  (0.0ms) begin transaction
1116
+  (0.1ms) rollback transaction
1117
+  (0.0ms) begin transaction
1118
+  (0.1ms) rollback transaction
1119
+  (0.0ms) begin transaction
1120
+  (0.1ms) rollback transaction
1121
+  (0.0ms) begin transaction
1122
+  (0.1ms) rollback transaction
1123
+  (0.0ms) begin transaction
1124
+  (0.1ms) rollback transaction
1125
+  (0.0ms) begin transaction
1126
+  (0.1ms) rollback transaction
1127
+  (0.0ms) begin transaction
1128
+  (0.1ms) rollback transaction
1129
+  (0.0ms) begin transaction
1130
+  (0.1ms) rollback transaction
1131
+  (0.0ms) begin transaction
1132
+  (0.1ms) rollback transaction
1133
+  (0.0ms) begin transaction
1134
+  (0.1ms) rollback transaction
1135
+  (0.0ms) begin transaction
1136
+  (0.1ms) rollback transaction
1137
+  (0.0ms) begin transaction
1138
+  (0.1ms) rollback transaction
1139
+  (0.1ms) begin transaction
1140
+  (0.1ms) rollback transaction
1141
+  (0.0ms) begin transaction
1142
+  (0.1ms) rollback transaction
1143
+  (0.0ms) begin transaction
1144
+  (0.1ms) rollback transaction
1145
+  (0.0ms) begin transaction
1146
+  (0.1ms) rollback transaction
1147
+  (0.0ms) begin transaction
1148
+  (0.1ms) rollback transaction
1149
+  (0.0ms) begin transaction
1150
+  (0.1ms) rollback transaction
1151
+  (0.0ms) begin transaction
1152
+  (0.1ms) rollback transaction
1153
+  (0.0ms) begin transaction
1154
+ child belongs_to [:parent]
1155
+  (0.0ms) rollback transaction
1156
+  (0.0ms) begin transaction
1157
+ child belongs_to [:parent]
1158
+  (0.0ms) rollback transaction
1159
+  (0.0ms) begin transaction
1160
+ child belongs_to [:parent]
1161
+  (0.0ms) rollback transaction
1162
+  (0.0ms) begin transaction
1163
+ child belongs_to [:parent]
1164
+  (0.0ms) rollback transaction
1165
+  (0.0ms) begin transaction
1166
+ child belongs_to [:parent]
1167
+  (0.1ms) rollback transaction
1168
+ accounts belongs_to [:client]
1169
+  (0.5ms) begin transaction
1170
+  (0.1ms) rollback transaction
1171
+  (0.0ms) begin transaction
1172
+  (0.1ms) rollback transaction
1173
+  (0.0ms) begin transaction
1174
+  (0.1ms) rollback transaction
1175
+  (0.0ms) begin transaction
1176
+  (0.1ms) rollback transaction
1177
+  (0.0ms) begin transaction
1178
+  (0.1ms) rollback transaction
1179
+  (0.0ms) begin transaction
1180
+  (0.1ms) rollback transaction
1181
+  (0.1ms) begin transaction
1182
+  (0.1ms) rollback transaction
1183
+  (0.0ms) begin transaction
1184
+  (0.1ms) rollback transaction
1185
+  (0.0ms) begin transaction
1186
+  (0.1ms) rollback transaction
1187
+  (0.0ms) begin transaction
1188
+  (0.1ms) rollback transaction
1189
+  (0.0ms) begin transaction
1190
+  (0.1ms) rollback transaction
1191
+  (0.0ms) begin transaction
1192
+  (0.1ms) rollback transaction
1193
+  (0.0ms) begin transaction
1194
+  (0.1ms) rollback transaction
1195
+  (0.0ms) begin transaction
1196
+  (0.1ms) rollback transaction
1197
+  (0.0ms) begin transaction
1198
+  (0.1ms) rollback transaction
1199
+  (0.0ms) begin transaction
1200
+  (0.1ms) rollback transaction
1201
+  (0.0ms) begin transaction
1202
+  (0.1ms) rollback transaction
1203
+  (0.1ms) begin transaction
1204
+  (0.1ms) rollback transaction
1205
+  (0.0ms) begin transaction
1206
+  (0.1ms) rollback transaction
1207
+  (0.0ms) begin transaction
1208
+  (0.1ms) rollback transaction
1209
+  (0.0ms) begin transaction
1210
+  (0.1ms) rollback transaction
1211
+  (0.0ms) begin transaction
1212
+  (0.1ms) rollback transaction
1213
+  (0.0ms) begin transaction
1214
+  (0.1ms) rollback transaction
1215
+  (0.1ms) begin transaction
1216
+  (0.1ms) rollback transaction
1217
+  (0.0ms) begin transaction
1218
+  (0.1ms) rollback transaction
1219
+  (0.0ms) begin transaction
1220
+  (0.1ms) rollback transaction
1221
+  (0.0ms) begin transaction
1222
+  (0.1ms) rollback transaction
1223
+  (0.0ms) begin transaction
1224
+ child belongs_to [:parent]
1225
+  (0.0ms) rollback transaction
1226
+  (0.0ms) begin transaction
1227
+ child belongs_to [:parent]
1228
+  (0.0ms) rollback transaction
1229
+  (0.0ms) begin transaction
1230
+ child belongs_to [:parent]
1231
+  (0.0ms) rollback transaction
1232
+  (0.0ms) begin transaction
1233
+ child belongs_to [:parent]
1234
+  (0.0ms) rollback transaction
1235
+  (0.0ms) begin transaction
1236
+ child belongs_to [:parent]
1237
+  (0.0ms) rollback transaction
1238
+ accounts belongs_to [:client]
1239
+  (0.5ms) begin transaction
1240
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1241
+  (0.1ms) SAVEPOINT active_record_1
1242
+ SQL (11.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00]]
1243
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1244
+  (0.1ms) SAVEPOINT active_record_1
1245
+ SQL (0.8ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00]]
1246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1247
+  (0.1ms) SAVEPOINT active_record_1
1248
+ SQL (0.4ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00]]
1249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1250
+  (0.1ms) SELECT COUNT(*) FROM "accounts"
1251
+ Processing by AccountsController#create as HTML
1252
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1"}
1253
+ Client Load (0.2ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1254
+  (0.1ms) SAVEPOINT active_record_1
1255
+ SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00]]
1256
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1257
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1
1258
+ Redirected to http://test.host/client/1/accounts/2
1259
+ Completed 302 Found in 82ms (ActiveRecord: 0.7ms)
1260
+  (0.1ms) SELECT COUNT(*) FROM "accounts"
1261
+  (0.9ms) rollback transaction
1262
+  (0.1ms) begin transaction
1263
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1264
+  (0.0ms) SAVEPOINT active_record_1
1265
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00]]
1266
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1267
+  (0.0ms) SAVEPOINT active_record_1
1268
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00]]
1269
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1270
+  (0.0ms) SAVEPOINT active_record_1
1271
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00]]
1272
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1273
+  (0.1ms) SELECT COUNT(*) FROM "accounts" 
1274
+ Processing by AccountsController#destroy as HTML
1275
+ Parameters: {"client_id"=>"1", "id"=>"1"}
1276
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1277
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
1278
+  (0.0ms) SAVEPOINT active_record_1
1279
+ SQL (0.1ms) DELETE FROM "accounts" WHERE "accounts"."id" = ? [["id", 1]]
1280
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1281
+ Redirected to http://test.host/client/1/accounts
1282
+ Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
1283
+  (0.1ms) SELECT COUNT(*) FROM "accounts" 
1284
+  (1.1ms) rollback transaction
1285
+  (0.0ms) begin transaction
1286
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1287
+  (0.1ms) SAVEPOINT active_record_1
1288
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00]]
1289
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1290
+  (0.1ms) SAVEPOINT active_record_1
1291
+ SQL (0.8ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:24 UTC +00:00]]
1292
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1293
+  (0.1ms) SAVEPOINT active_record_1
1294
+ SQL (0.4ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1295
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1296
+ Processing by AccountsController#edit as HTML
1297
+ Parameters: {"client_id"=>"1", "id"=>"1"}
1298
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1299
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
1300
+ Rendered accounts/_form.html.erb (8.5ms)
1301
+ Completed 200 OK in 75ms (Views: 70.8ms | ActiveRecord: 0.2ms)
1302
+  (1.0ms) rollback transaction
1303
+  (0.1ms) begin transaction
1304
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1305
+  (0.1ms) SAVEPOINT active_record_1
1306
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1307
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1308
+  (0.0ms) SAVEPOINT active_record_1
1309
+ SQL (0.7ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1310
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1311
+  (0.0ms) SAVEPOINT active_record_1
1312
+ SQL (1.0ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1313
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1314
+ Processing by AccountsController#index as HTML
1315
+ Parameters: {"client_id"=>"1"}
1316
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1317
+ Account Load (0.2ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1
1318
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1
1319
+ Completed 200 OK in 12ms (Views: 6.6ms | ActiveRecord: 0.5ms)
1320
+  (1.0ms) rollback transaction
1321
+  (0.1ms) begin transaction
1322
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1323
+  (0.1ms) SAVEPOINT active_record_1
1324
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1325
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1326
+  (0.0ms) SAVEPOINT active_record_1
1327
+ SQL (0.7ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1328
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1329
+  (0.0ms) SAVEPOINT active_record_1
1330
+ SQL (0.4ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1331
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1332
+ Processing by AccountsController#new as HTML
1333
+ Parameters: {"client_id"=>"1"}
1334
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1335
+ Rendered accounts/_form.html.erb (3.7ms)
1336
+ Completed 200 OK in 13ms (Views: 9.2ms | ActiveRecord: 0.1ms)
1337
+  (1.4ms) rollback transaction
1338
+  (0.1ms) begin transaction
1339
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1340
+  (0.1ms) SAVEPOINT active_record_1
1341
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1342
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1343
+  (0.0ms) SAVEPOINT active_record_1
1344
+ SQL (0.6ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1345
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1346
+  (0.0ms) SAVEPOINT active_record_1
1347
+ SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1348
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1349
+ Processing by AccountsController#show as HTML
1350
+ Parameters: {"client_id"=>"1", "id"=>"1"}
1351
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1352
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
1353
+ Completed 200 OK in 11ms (Views: 5.3ms | ActiveRecord: 0.2ms)
1354
+  (1.1ms) rollback transaction
1355
+  (0.1ms) begin transaction
1356
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1357
+  (0.0ms) SAVEPOINT active_record_1
1358
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1359
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1360
+  (0.1ms) SAVEPOINT active_record_1
1361
+ SQL (0.8ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1362
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1363
+  (0.1ms) SAVEPOINT active_record_1
1364
+ SQL (0.4ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1365
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1366
+ Processing by AccountsController#update as HTML
1367
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"}
1368
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1369
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
1370
+  (0.1ms) SAVEPOINT active_record_1
1371
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1372
+ Redirected to http://test.host/client/1/accounts/1
1373
+ Completed 302 Found in 7ms (ActiveRecord: 0.3ms)
1374
+  (1.0ms) rollback transaction
1375
+  (0.1ms) begin transaction
1376
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
1377
+  (0.0ms) SAVEPOINT active_record_1
1378
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1379
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1380
+  (0.1ms) SAVEPOINT active_record_1
1381
+ SQL (0.8ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1382
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1383
+  (0.0ms) SAVEPOINT active_record_1
1384
+ SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1385
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1386
+ Processing by AccountsController#update as HTML
1387
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"}
1388
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1389
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
1390
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1391
+  (0.1ms) SAVEPOINT active_record_1
1392
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1393
+ Redirected to http://test.host/client/1/accounts/1
1394
+ Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
1395
+  (1.2ms) rollback transaction
1396
+  (0.1ms) begin transaction
1397
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
1398
+  (0.0ms) SAVEPOINT active_record_1
1399
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1400
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1401
+  (0.0ms) SAVEPOINT active_record_1
1402
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1403
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1404
+  (0.0ms) SAVEPOINT active_record_1
1405
+ SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1406
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1407
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
1408
+  (0.0ms) SAVEPOINT active_record_1
1409
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "guest"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1410
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1411
+ Processing by AccountsController#update as HTML
1412
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"}
1413
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1414
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
1415
+ Completed 500 Internal Server Error in 3ms
1416
+  (1.1ms) rollback transaction
1417
+  (0.1ms) begin transaction
1418
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
1419
+  (0.1ms) SAVEPOINT active_record_1
1420
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1421
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1422
+  (0.0ms) SAVEPOINT active_record_1
1423
+ SQL (0.7ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1424
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1425
+  (0.0ms) SAVEPOINT active_record_1
1426
+ SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1427
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1428
+ Processing by AccountsController#destroy as HTML
1429
+ Parameters: {"client_id"=>"1", "id"=>"1"}
1430
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1431
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
1432
+ Completed 500 Internal Server Error in 4ms
1433
+  (1.0ms) rollback transaction
1434
+  (0.1ms) begin transaction
1435
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
1436
+  (0.1ms) SAVEPOINT active_record_1
1437
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1438
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1439
+  (0.0ms) SAVEPOINT active_record_1
1440
+ SQL (0.8ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1441
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1442
+  (0.0ms) SAVEPOINT active_record_1
1443
+ SQL (0.4ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1444
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1445
+ Processing by AccountsController#index as HTML
1446
+ Parameters: {"client_id"=>"1"}
1447
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1448
+ Completed 500 Internal Server Error in 2ms
1449
+  (1.0ms) rollback transaction
1450
+  (0.1ms) begin transaction
1451
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
1452
+  (0.1ms) SAVEPOINT active_record_1
1453
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1454
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1455
+  (0.0ms) SAVEPOINT active_record_1
1456
+ SQL (0.7ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1457
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1458
+  (0.0ms) SAVEPOINT active_record_1
1459
+ SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1460
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1461
+ Processing by AccountsController#new as HTML
1462
+ Parameters: {"client_id"=>"1"}
1463
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1464
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1465
+ Completed 500 Internal Server Error in 4ms
1466
+  (1.1ms) rollback transaction
1467
+  (0.0ms) begin transaction
1468
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
1469
+  (0.0ms) SAVEPOINT active_record_1
1470
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1471
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1472
+  (0.0ms) SAVEPOINT active_record_1
1473
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1474
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1475
+  (0.0ms) SAVEPOINT active_record_1
1476
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1477
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1478
+ Processing by AccountsController#show as HTML
1479
+ Parameters: {"client_id"=>"1", "id"=>"1"}
1480
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1481
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
1482
+ Completed 500 Internal Server Error in 3ms
1483
+  (1.0ms) rollback transaction
1484
+  (0.1ms) begin transaction
1485
+  (0.0ms) SAVEPOINT active_record_1
1486
+ SQL (0.7ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1487
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1488
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1489
+  (0.0ms) SAVEPOINT active_record_1
1490
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1491
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1492
+  (0.1ms) SELECT COUNT(*) FROM "clients" 
1493
+ Processing by ClientsController#create as HTML
1494
+ Parameters: {"client"=>{"name"=>nil}}
1495
+  (0.1ms) SAVEPOINT active_record_1
1496
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1497
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1498
+ Redirected to http://test.host/clients/2
1499
+ Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
1500
+  (0.1ms) SELECT COUNT(*) FROM "clients" 
1501
+  (1.2ms) rollback transaction
1502
+  (0.1ms) begin transaction
1503
+  (0.0ms) SAVEPOINT active_record_1
1504
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1506
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1507
+  (0.0ms) SAVEPOINT active_record_1
1508
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1509
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1510
+  (0.1ms) SELECT COUNT(*) FROM "clients" 
1511
+ Processing by ClientsController#destroy as HTML
1512
+ Parameters: {"id"=>"1"}
1513
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1514
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1515
+  (0.1ms) SAVEPOINT active_record_1
1516
+ SQL (0.2ms) DELETE FROM "clients" WHERE "clients"."id" = ? [["id", 1]]
1517
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1518
+ Redirected to http://test.host/clients
1519
+ Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
1520
+  (0.1ms) SELECT COUNT(*) FROM "clients" 
1521
+  (1.3ms) rollback transaction
1522
+  (0.0ms) begin transaction
1523
+  (0.0ms) SAVEPOINT active_record_1
1524
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1525
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1526
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1527
+  (0.0ms) SAVEPOINT active_record_1
1528
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1529
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1530
+ Processing by ClientsController#edit as HTML
1531
+ Parameters: {"id"=>"1"}
1532
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1533
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1534
+ Rendered clients/_form.html.erb (2.6ms)
1535
+ Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.1ms)
1536
+  (1.1ms) rollback transaction
1537
+  (0.1ms) begin transaction
1538
+  (0.0ms) SAVEPOINT active_record_1
1539
+ SQL (0.6ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1540
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1541
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1542
+  (0.1ms) SAVEPOINT active_record_1
1543
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1544
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1545
+ Processing by ClientsController#index as HTML
1546
+ Client Load (0.1ms) SELECT "clients".* FROM "clients"
1547
+ Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.1ms)
1548
+  (1.2ms) rollback transaction
1549
+  (0.1ms) begin transaction
1550
+  (0.0ms) SAVEPOINT active_record_1
1551
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1552
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1553
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1554
+  (0.0ms) SAVEPOINT active_record_1
1555
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1557
+ Processing by ClientsController#new as HTML
1558
+ Rendered clients/_form.html.erb (2.0ms)
1559
+ Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.0ms)
1560
+  (1.1ms) rollback transaction
1561
+  (0.1ms) begin transaction
1562
+  (0.0ms) SAVEPOINT active_record_1
1563
+ SQL (0.6ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1564
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1565
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1566
+  (0.0ms) SAVEPOINT active_record_1
1567
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1569
+ Processing by ClientsController#show as HTML
1570
+ Parameters: {"id"=>"1"}
1571
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1572
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1573
+ Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.1ms)
1574
+  (1.3ms) rollback transaction
1575
+  (0.0ms) begin transaction
1576
+  (0.0ms) SAVEPOINT active_record_1
1577
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1578
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1579
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1580
+  (0.0ms) SAVEPOINT active_record_1
1581
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1582
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1583
+ Processing by ClientsController#update as HTML
1584
+ Parameters: {"client"=>{"name"=>nil}, "id"=>"1"}
1585
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1586
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
1587
+  (0.1ms) SAVEPOINT active_record_1
1588
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1589
+ Redirected to http://test.host/clients/1
1590
+ Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
1591
+  (1.3ms) rollback transaction
1592
+  (0.1ms) begin transaction
1593
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1594
+  (0.0ms) SAVEPOINT active_record_1
1595
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1596
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1597
+  (0.7ms) rollback transaction
1598
+  (0.1ms) begin transaction
1599
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
1600
+  (0.0ms) SAVEPOINT active_record_1
1601
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1602
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1603
+  (1.0ms) rollback transaction
1604
+  (0.1ms) begin transaction
1605
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
1606
+  (0.1ms) SAVEPOINT active_record_1
1607
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1608
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1609
+  (0.9ms) rollback transaction
1610
+  (0.1ms) begin transaction
1611
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1
1612
+  (0.1ms) SAVEPOINT active_record_1
1613
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1614
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1615
+  (1.1ms) rollback transaction
1616
+  (0.0ms) begin transaction
1617
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1618
+  (0.0ms) SAVEPOINT active_record_1
1619
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1621
+  (0.8ms) rollback transaction
1622
+  (0.1ms) begin transaction
1623
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
1624
+  (0.0ms) SAVEPOINT active_record_1
1625
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :guest], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1626
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1627
+  (0.0ms) SAVEPOINT active_record_1
1628
+ SQL (0.6ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1629
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1630
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
1631
+  (0.0ms) SAVEPOINT active_record_1
1632
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1633
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1634
+  (1.0ms) rollback transaction
1635
+  (0.0ms) begin transaction
1636
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
1637
+  (0.1ms) SAVEPOINT active_record_1
1638
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1639
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1640
+  (0.0ms) SAVEPOINT active_record_1
1641
+ SQL (0.5ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1642
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1643
+  (1.0ms) rollback transaction
1644
+  (0.1ms) begin transaction
1645
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
1646
+  (0.1ms) SAVEPOINT active_record_1
1647
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1648
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1649
+  (1.0ms) rollback transaction
1650
+  (0.1ms) begin transaction
1651
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
1652
+  (0.0ms) SAVEPOINT active_record_1
1653
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1654
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1655
+  (0.9ms) rollback transaction
1656
+  (0.1ms) begin transaction
1657
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1
1658
+  (0.1ms) SAVEPOINT active_record_1
1659
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1660
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1661
+  (1.6ms) rollback transaction
1662
+  (0.1ms) begin transaction
1663
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
1664
+  (0.1ms) SAVEPOINT active_record_1
1665
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :guest], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1666
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1667
+  (0.6ms) rollback transaction
1668
+  (0.1ms) begin transaction
1669
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
1670
+  (0.1ms) SAVEPOINT active_record_1
1671
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1672
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1673
+  (0.7ms) rollback transaction
1674
+  (0.1ms) begin transaction
1675
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1676
+  (0.0ms) SAVEPOINT active_record_1
1677
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1678
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1679
+  (1.1ms) rollback transaction
1680
+  (0.0ms) begin transaction
1681
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
1682
+  (0.1ms) SAVEPOINT active_record_1
1683
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :guest], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1684
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1685
+  (1.0ms) rollback transaction
1686
+  (0.1ms) begin transaction
1687
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1688
+  (0.0ms) SAVEPOINT active_record_1
1689
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1690
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1691
+  (0.7ms) rollback transaction
1692
+  (0.1ms) begin transaction
1693
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
1694
+  (0.0ms) SAVEPOINT active_record_1
1695
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :guest], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1696
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1697
+  (0.8ms) rollback transaction
1698
+  (0.1ms) begin transaction
1699
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1700
+  (0.0ms) SAVEPOINT active_record_1
1701
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1702
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1703
+  (0.6ms) rollback transaction
1704
+  (0.1ms) begin transaction
1705
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
1706
+  (0.1ms) SAVEPOINT active_record_1
1707
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1708
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1709
+  (0.6ms) rollback transaction
1710
+  (0.1ms) begin transaction
1711
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1712
+  (0.0ms) SAVEPOINT active_record_1
1713
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1714
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1715
+  (0.7ms) rollback transaction
1716
+  (0.0ms) begin transaction
1717
+  (0.0ms) rollback transaction
1718
+  (0.0ms) begin transaction
1719
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
1720
+  (0.1ms) SAVEPOINT active_record_1
1721
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :guest], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1722
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1723
+  (0.7ms) rollback transaction
1724
+  (0.1ms) begin transaction
1725
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1
1726
+  (0.0ms) SAVEPOINT active_record_1
1727
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00], ["name", :blind_man], ["updated_at", Mon, 04 Jun 2012 11:35:25 UTC +00:00]]
1728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1729
+  (0.6ms) rollback transaction
1730
+  (0.1ms) begin transaction
1731
+  (0.0ms) rollback transaction
1732
+  (0.0ms) begin transaction
1733
+  (0.1ms) rollback transaction
1734
+  (0.0ms) begin transaction
1735
+  (0.1ms) rollback transaction
1736
+  (0.0ms) begin transaction
1737
+  (0.0ms) rollback transaction
1738
+  (0.1ms) begin transaction
1739
+  (0.0ms) rollback transaction
1740
+  (0.0ms) begin transaction
1741
+  (0.1ms) rollback transaction
1742
+  (0.1ms) begin transaction
1743
+  (0.1ms) rollback transaction
1744
+  (0.0ms) begin transaction
1745
+  (0.1ms) rollback transaction
1746
+  (0.0ms) begin transaction
1747
+  (0.0ms) rollback transaction
1748
+  (0.0ms) begin transaction
1749
+  (0.1ms) rollback transaction
1750
+  (0.0ms) begin transaction
1751
+  (0.0ms) rollback transaction
1752
+  (0.0ms) begin transaction
1753
+  (0.0ms) rollback transaction
1754
+  (0.0ms) begin transaction
1755
+  (0.0ms) rollback transaction
1756
+  (0.0ms) begin transaction
1757
+  (0.0ms) rollback transaction
1758
+  (0.1ms) begin transaction
1759
+  (0.1ms) rollback transaction
1760
+  (0.1ms) begin transaction
1761
+  (0.0ms) rollback transaction
1762
+  (0.0ms) begin transaction
1763
+  (0.0ms) rollback transaction
1764
+  (0.0ms) begin transaction
1765
+  (0.0ms) rollback transaction
1766
+  (0.1ms) begin transaction
1767
+ controller belongs_to [:heaven, {:as=>:earth}]
1768
+  (0.1ms) rollback transaction
1769
+  (0.0ms) begin transaction
1770
+ controller belongs_to [:heaven, :hell]
1771
+ controller belongs_to [:earth]
1772
+  (0.0ms) rollback transaction
1773
+  (0.0ms) begin transaction
1774
+ controller belongs_to [:heaven]
1775
+  (0.1ms) rollback transaction
1776
+  (0.0ms) begin transaction
1777
+  (0.0ms) rollback transaction
1778
+  (0.0ms) begin transaction
1779
+  (0.0ms) rollback transaction
1780
+  (0.0ms) begin transaction
1781
+  (0.0ms) rollback transaction
1782
+  (0.0ms) begin transaction
1783
+  (0.0ms) rollback transaction
1784
+  (0.0ms) begin transaction
1785
+  (0.1ms) rollback transaction
1786
+  (0.1ms) begin transaction
1787
+  (0.1ms) rollback transaction
1788
+  (0.1ms) begin transaction
1789
+  (0.1ms) rollback transaction
1790
+  (0.0ms) begin transaction
1791
+  (0.1ms) rollback transaction
1792
+  (0.0ms) begin transaction
1793
+  (0.1ms) rollback transaction
1794
+  (0.0ms) begin transaction
1795
+  (0.1ms) rollback transaction
1796
+  (0.0ms) begin transaction
1797
+  (0.1ms) rollback transaction
1798
+  (0.0ms) begin transaction
1799
+  (0.1ms) rollback transaction
1800
+  (0.0ms) begin transaction
1801
+  (0.1ms) rollback transaction
1802
+  (0.0ms) begin transaction
1803
+  (0.1ms) rollback transaction
1804
+  (0.0ms) begin transaction
1805
+  (0.1ms) rollback transaction
1806
+  (0.0ms) begin transaction
1807
+  (0.1ms) rollback transaction
1808
+  (0.0ms) begin transaction
1809
+  (0.1ms) rollback transaction
1810
+  (0.0ms) begin transaction
1811
+  (0.1ms) rollback transaction
1812
+  (0.0ms) begin transaction
1813
+  (0.1ms) rollback transaction
1814
+  (0.0ms) begin transaction
1815
+  (0.1ms) rollback transaction
1816
+  (0.0ms) begin transaction
1817
+  (0.1ms) rollback transaction
1818
+  (0.0ms) begin transaction
1819
+  (0.1ms) rollback transaction
1820
+  (0.0ms) begin transaction
1821
+  (0.1ms) rollback transaction
1822
+  (0.0ms) begin transaction
1823
+  (0.1ms) rollback transaction
1824
+  (0.0ms) begin transaction
1825
+  (0.1ms) rollback transaction
1826
+  (0.0ms) begin transaction
1827
+  (0.1ms) rollback transaction
1828
+  (0.0ms) begin transaction
1829
+  (0.1ms) rollback transaction
1830
+  (0.0ms) begin transaction
1831
+  (0.1ms) rollback transaction
1832
+  (0.0ms) begin transaction
1833
+  (0.1ms) rollback transaction
1834
+  (0.0ms) begin transaction
1835
+  (0.1ms) rollback transaction
1836
+  (0.0ms) begin transaction
1837
+  (0.1ms) rollback transaction
1838
+  (0.1ms) begin transaction
1839
+ child belongs_to [:parent]
1840
+  (0.1ms) rollback transaction
1841
+  (0.0ms) begin transaction
1842
+ child belongs_to [:parent]
1843
+  (0.0ms) rollback transaction
1844
+  (0.0ms) begin transaction
1845
+ child belongs_to [:parent]
1846
+  (0.0ms) rollback transaction
1847
+  (0.0ms) begin transaction
1848
+ child belongs_to [:parent]
1849
+  (0.0ms) rollback transaction
1850
+  (0.0ms) begin transaction
1851
+ child belongs_to [:parent]
1852
+  (0.0ms) rollback transaction
1853
+  (0.0ms) begin transaction
1854
+  (0.1ms) rollback transaction
1855
+  (0.0ms) begin transaction
1856
+  (0.1ms) rollback transaction
1857
+  (0.0ms) begin transaction
1858
+  (0.1ms) rollback transaction
1859
+  (0.1ms) begin transaction
1860
+  (0.1ms) rollback transaction
1861
+  (0.0ms) begin transaction
1862
+  (0.0ms) rollback transaction
1863
+  (0.0ms) begin transaction
1864
+  (0.0ms) rollback transaction
1865
+  (0.0ms) begin transaction
1866
+  (0.1ms) rollback transaction
1867
+  (0.1ms) begin transaction
1868
+  (0.1ms) rollback transaction
1869
+  (0.0ms) begin transaction
1870
+  (0.0ms) rollback transaction
1871
+  (0.0ms) begin transaction
1872
+  (0.0ms) rollback transaction
1873
+  (0.0ms) begin transaction
1874
+  (0.1ms) rollback transaction
1875
+  (0.0ms) begin transaction
1876
+  (0.0ms) rollback transaction
1877
+  (0.0ms) begin transaction
1878
+  (0.0ms) rollback transaction
1879
+  (0.0ms) begin transaction
1880
+  (0.1ms) rollback transaction
1881
+  (0.1ms) begin transaction
1882
+  (0.1ms) rollback transaction
1883
+  (0.0ms) begin transaction
1884
+  (0.1ms) rollback transaction
1885
+  (0.0ms) begin transaction
1886
+  (0.1ms) rollback transaction
1887
+  (0.0ms) begin transaction
1888
+  (0.0ms) rollback transaction
1889
+  (0.0ms) begin transaction
1890
+  (0.0ms) rollback transaction
1891
+  (0.0ms) begin transaction
1892
+  (0.0ms) rollback transaction
1893
+  (0.0ms) begin transaction
1894
+  (0.0ms) rollback transaction
1895
+  (0.0ms) begin transaction
1896
+  (0.0ms) rollback transaction
1897
+  (0.0ms) begin transaction
1898
+  (0.0ms) rollback transaction
1899
+  (0.0ms) begin transaction
1900
+  (0.0ms) rollback transaction
1901
+  (0.0ms) begin transaction
1902
+  (0.0ms) rollback transaction
1903
+  (0.0ms) begin transaction
1904
+  (0.0ms) rollback transaction
1905
+  (0.0ms) begin transaction
1906
+  (0.0ms) rollback transaction
1907
+  (0.0ms) begin transaction
1908
+  (0.0ms) rollback transaction
1909
+  (0.0ms) begin transaction
1910
+  (0.0ms) rollback transaction
1911
+  (0.0ms) begin transaction
1912
+  (0.0ms) rollback transaction
1913
+  (0.0ms) begin transaction
1914
+  (0.0ms) rollback transaction
1915
+  (0.0ms) begin transaction
1916
+  (0.1ms) rollback transaction
1917
+  (0.1ms) begin transaction
1918
+  (0.1ms) rollback transaction
1919
+  (0.0ms) begin transaction
1920
+  (0.1ms) rollback transaction
1921
+  (0.1ms) begin transaction
1922
+  (0.0ms) rollback transaction
1923
+  (0.0ms) begin transaction
1924
+  (0.0ms) rollback transaction
1925
+  (0.0ms) begin transaction
1926
+  (0.0ms) rollback transaction
1927
+  (0.1ms) begin transaction
1928
+  (0.1ms) rollback transaction
1929
+  (0.1ms) begin transaction
1930
+  (0.0ms) SAVEPOINT active_record_1
1931
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00]]
1932
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1933
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1934
+  (0.0ms) SAVEPOINT active_record_1
1935
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00]]
1936
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1937
+  (0.1ms) SELECT COUNT(*) FROM "users" 
1938
+ Processing by UsersController#create as HTML
1939
+ Parameters: {"user"=>{"name"=>nil}}
1940
+  (0.1ms) SAVEPOINT active_record_1
1941
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00]]
1942
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1943
+ Redirected to http://test.host/users/3
1944
+ Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
1945
+  (0.1ms) SELECT COUNT(*) FROM "users" 
1946
+  (1.2ms) rollback transaction
1947
+  (0.0ms) begin transaction
1948
+  (0.0ms) SAVEPOINT active_record_1
1949
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00]]
1950
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1951
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1952
+  (0.0ms) SAVEPOINT active_record_1
1953
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00]]
1954
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1955
+  (0.0ms) SELECT COUNT(*) FROM "users" 
1956
+ Processing by UsersController#destroy as HTML
1957
+ Parameters: {"id"=>"1"}
1958
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
1959
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
1960
+  (0.1ms) SAVEPOINT active_record_1
1961
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
1962
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1963
+ Redirected to http://test.host/users
1964
+ Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
1965
+  (0.1ms) SELECT COUNT(*) FROM "users" 
1966
+  (0.9ms) rollback transaction
1967
+  (0.1ms) begin transaction
1968
+  (0.0ms) SAVEPOINT active_record_1
1969
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00]]
1970
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1971
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1972
+  (0.0ms) SAVEPOINT active_record_1
1973
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00]]
1974
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1975
+ Processing by UsersController#edit as HTML
1976
+ Parameters: {"id"=>"1"}
1977
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
1978
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
1979
+ Rendered users/_form.html.erb (2.7ms)
1980
+ Completed 200 OK in 13ms (Views: 7.5ms | ActiveRecord: 0.2ms)
1981
+  (4.5ms) rollback transaction
1982
+  (0.0ms) begin transaction
1983
+  (0.0ms) SAVEPOINT active_record_1
1984
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00]]
1985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1986
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1987
+  (0.0ms) SAVEPOINT active_record_1
1988
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00]]
1989
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1990
+ Processing by UsersController#index as HTML
1991
+ User Load (0.2ms) SELECT "users".* FROM "users"
1992
+ Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 0.2ms)
1993
+  (44.8ms) rollback transaction
1994
+  (0.1ms) begin transaction
1995
+  (0.1ms) SAVEPOINT active_record_1
1996
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00]]
1997
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1998
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
1999
+  (0.0ms) SAVEPOINT active_record_1
2000
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00]]
2001
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2002
+ Processing by UsersController#new as HTML
2003
+ Rendered users/_form.html.erb (1.7ms)
2004
+ Completed 200 OK in 8ms (Views: 4.4ms | ActiveRecord: 0.0ms)
2005
+  (1.2ms) rollback transaction
2006
+  (0.0ms) begin transaction
2007
+  (0.0ms) SAVEPOINT active_record_1
2008
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00]]
2009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2010
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2011
+  (0.0ms) SAVEPOINT active_record_1
2012
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00]]
2013
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2014
+ Processing by UsersController#show as HTML
2015
+ Parameters: {"id"=>"1"}
2016
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2017
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2018
+ Completed 200 OK in 9ms (Views: 3.8ms | ActiveRecord: 0.2ms)
2019
+  (1.1ms) rollback transaction
2020
+  (0.1ms) begin transaction
2021
+  (0.0ms) SAVEPOINT active_record_1
2022
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00]]
2023
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2024
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2025
+  (0.0ms) SAVEPOINT active_record_1
2026
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 04 Jun 2012 11:35:26 UTC +00:00]]
2027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2028
+ Processing by UsersController#update as HTML
2029
+ Parameters: {"user"=>{"name"=>nil}, "id"=>"1"}
2030
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2031
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2032
+  (0.1ms) SAVEPOINT active_record_1
2033
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2034
+ Redirected to http://test.host/users/1
2035
+ Completed 302 Found in 6ms (ActiveRecord: 0.2ms)
2036
+  (1.0ms) rollback transaction