dossier 2.10.0 → 2.11.0

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.
@@ -3131,3 +3131,4192 @@ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-16 07:49:3
3131
3131
  Processing by Dossier::ReportsController#multi as CSV
3132
3132
  Parameters: {"report"=>"combination"}
3133
3133
  Completed 500 Internal Server Error in 1ms
3134
+ FACTORY (0.1ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
3135
+ FACTORY (27.3ms) DROP TABLE IF EXISTS `employees`
3136
+ FACTORY (21.3ms)  CREATE TABLE `employees` (
3137
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
3138
+ `name` varchar(255) NOT NULL,
3139
+ `division` varchar(255) NOT NULL,
3140
+ `salary` int(11) NOT NULL,
3141
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
3142
+ `hired_on` date NOT NULL,
3143
+ PRIMARY KEY (`id`)
3144
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
3145
+ 
3146
+ FACTORY (5.7ms) TRUNCATE `employees`
3147
+ FACTORY (0.4ms)  INSERT INTO
3148
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3149
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
3150
+ 
3151
+ FACTORY (0.4ms) INSERT INTO
3152
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3153
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
3154
+
3155
+ FACTORY (0.4ms)  INSERT INTO
3156
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3157
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
3158
+ 
3159
+ FACTORY (2.2ms) DROP TABLE IF EXISTS `employees`
3160
+ FACTORY (1.1ms)  CREATE TABLE `employees` (
3161
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
3162
+ `name` TEXT NOT NULL,
3163
+ `division` TEXT NOT NULL,
3164
+ `salary` INTEGER NOT NULL,
3165
+ `suspended` TINYINT NOT NULL DEFAULT 0,
3166
+ `hired_on` DATE NOT NULL
3167
+ );
3168
+ 
3169
+ FACTORY (0.7ms) DELETE FROM `employees`
3170
+ FACTORY (0.9ms)  INSERT INTO
3171
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3172
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
3173
+ 
3174
+ FACTORY (0.7ms) INSERT INTO
3175
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3176
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
3177
+
3178
+ FACTORY (0.9ms)  INSERT INTO
3179
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3180
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
3181
+ 
3182
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 14:42:03 -0400
3183
+ Processing by Dossier::ReportsController#multi as HTML
3184
+ Parameters: {"report"=>"combination"}
3185
+ Rendered dossier/reports/combination/_options.html.haml (10.2ms)
3186
+ EmployeeReport (0.3ms)
3187
+ SELECT * FROM employees WHERE 1=1
3188
+ ORDER BY name ASC
3189
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (11.2ms)
3190
+ EmployeeWithCustomViewReport (0.3ms) 
3191
+ SELECT * FROM employees WHERE suspended = true
3192
+ Rendered dossier/reports/employee_with_custom_view.html.haml (3.5ms)
3193
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (50.6ms)
3194
+ Completed 200 OK in 58ms (Views: 56.2ms | ActiveRecord: 0.6ms)
3195
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 14:42:03 -0400
3196
+ Processing by Dossier::ReportsController#multi as HTML
3197
+ Parameters: {"report"=>"combination"}
3198
+ Rendered dossier/reports/combination/_options.html.haml (1.3ms)
3199
+ EmployeeReport (0.3ms)
3200
+ SELECT * FROM employees WHERE 1=1
3201
+ ORDER BY name ASC
3202
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (6.2ms)
3203
+ EmployeeWithCustomViewReport (0.3ms) 
3204
+ SELECT * FROM employees WHERE suspended = true
3205
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.6ms)
3206
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (10.9ms)
3207
+ Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.6ms)
3208
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 14:42:03 -0400
3209
+ Processing by Dossier::ReportsController#multi as CSV
3210
+ Parameters: {"report"=>"combination"}
3211
+ Completed 500 Internal Server Error in 2ms
3212
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 14:42:03 -0400
3213
+ Processing by Dossier::ReportsController#multi as HTML
3214
+ Parameters: {"report"=>"combination"}
3215
+ Rendered dossier/reports/combination/_options.html.haml (2.0ms)
3216
+ EmployeeReport (0.3ms)
3217
+ SELECT * FROM employees WHERE 1=1
3218
+ ORDER BY name ASC
3219
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.7ms)
3220
+ EmployeeWithCustomViewReport (0.3ms) 
3221
+ SELECT * FROM employees WHERE suspended = true
3222
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.7ms)
3223
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (12.0ms)
3224
+ Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.6ms)
3225
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 14:42:03 -0400
3226
+ Processing by Dossier::ReportsController#show as CSV
3227
+ Parameters: {"report"=>"employee"}
3228
+ EmployeeReport (0.4ms)
3229
+ SELECT * FROM employees WHERE 1=1
3230
+ ORDER BY name ASC
3231
+ Completed 200 OK in 156ms (ActiveRecord: 0.4ms)
3232
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 14:42:03 -0400
3233
+ Processing by Dossier::ReportsController#show as HTML
3234
+ Parameters: {"report"=>"employee_with_custom_view"}
3235
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (7.3ms)
3236
+ EmployeeWithCustomViewReport (0.3ms) 
3237
+ SELECT * FROM employees WHERE suspended = true
3238
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (15.2ms)
3239
+ Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.3ms)
3240
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 14:42:03 -0400
3241
+ Processing by Dossier::ReportsController#show as HTML
3242
+ Parameters: {"report"=>"employee_with_custom_view"}
3243
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.5ms)
3244
+ EmployeeWithCustomViewReport (0.3ms)
3245
+ SELECT * FROM employees WHERE suspended = true
3246
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (9.6ms)
3247
+ Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.3ms)
3248
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 14:42:03 -0400
3249
+ Processing by Dossier::ReportsController#show as HTML
3250
+ Parameters: {"report"=>"employee"}
3251
+ EmployeeReport (0.3ms) 
3252
+ SELECT * FROM employees WHERE 1=1
3253
+ ORDER BY name ASC
3254
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (12.9ms)
3255
+ Completed 200 OK in 18ms (Views: 14.7ms | ActiveRecord: 0.3ms)
3256
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 14:42:03 -0400
3257
+ Processing by Dossier::ReportsController#show as HTML
3258
+ Parameters: {"report"=>"employee"}
3259
+ EmployeeReport (0.3ms)
3260
+ SELECT * FROM employees WHERE 1=1
3261
+ ORDER BY name ASC
3262
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (8.6ms)
3263
+ Completed 200 OK in 12ms (Views: 9.2ms | ActiveRecord: 0.3ms)
3264
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 14:42:03 -0400
3265
+ Processing by Dossier::ReportsController#show as HTML
3266
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
3267
+ EmployeeReport (1.2ms) 
3268
+ SELECT * FROM employees WHERE 1=1
3269
+ AND division in (('Tedious Toiling'))
3270
+ AND salary > 10000
3271
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
3272
+ ORDER BY name DESC
3273
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (7.8ms)
3274
+ Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 1.2ms)
3275
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 14:42:03 -0400
3276
+ Processing by Dossier::ReportsController#show as HTML
3277
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
3278
+ EmployeeReport (0.3ms)
3279
+ SELECT * FROM employees WHERE 1=1
3280
+ ORDER BY name ASC
3281
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (7.7ms)
3282
+ Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.3ms)
3283
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 14:42:03 -0400
3284
+ Processing by Dossier::ReportsController#show as XLS
3285
+ Parameters: {"report"=>"employee"}
3286
+ EmployeeReport (0.3ms) 
3287
+ SELECT * FROM employees WHERE 1=1
3288
+ ORDER BY name ASC
3289
+ Completed 200 OK in 4ms (ActiveRecord: 0.3ms)
3290
+ EmployeeReport (0.3ms)
3291
+ SELECT * FROM employees WHERE 1=1
3292
+ ORDER BY name ASC
3293
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (11.2ms)
3294
+ EmployeeReport (0.3ms) 
3295
+ SELECT * FROM employees WHERE 1=1
3296
+ ORDER BY name ASC
3297
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (5.2ms)
3298
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 14:42:03 -0400
3299
+ Processing by Dossier::ReportsController#show as HTML
3300
+ Parameters: {"report"=>"employee_with_custom_client"}
3301
+ EmployeeWithCustomClientReport (0.2ms)
3302
+ SELECT * FROM `employees`
3303
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (3.5ms)
3304
+ Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.2ms)
3305
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 14:42:03 -0400
3306
+ Processing by SiteController#report as HTML
3307
+ EmployeeReport (0.3ms) 
3308
+ SELECT * FROM employees WHERE 1=1
3309
+ ORDER BY name ASC
3310
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (2.3ms)
3311
+ Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.3ms)
3312
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (6.9ms)
3313
+ EmployeeReport (0.3ms)
3314
+ SELECT * FROM employees WHERE 1=1
3315
+ ORDER BY name ASC
3316
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 14:42:03 -0400
3317
+ Processing by Dossier::ReportsController#show as HTML
3318
+ Parameters: {"report"=>"cats/are/super_fun"}
3319
+ Cats::Are::SuperFunReport (0.1ms) 
3320
+ select 'cats', 'are', 'super', 'fun'
3321
+ Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 0.1ms)
3322
+ FACTORY (0.1ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
3323
+ FACTORY (2.3ms) DROP TABLE IF EXISTS `employees`
3324
+ FACTORY (19.0ms)  CREATE TABLE `employees` (
3325
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
3326
+ `name` varchar(255) NOT NULL,
3327
+ `division` varchar(255) NOT NULL,
3328
+ `salary` int(11) NOT NULL,
3329
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
3330
+ `hired_on` date NOT NULL,
3331
+ PRIMARY KEY (`id`)
3332
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
3333
+ 
3334
+ FACTORY (3.4ms) TRUNCATE `employees`
3335
+ FACTORY (0.4ms)  INSERT INTO
3336
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3337
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
3338
+ 
3339
+ FACTORY (0.3ms) INSERT INTO
3340
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3341
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
3342
+
3343
+ FACTORY (0.3ms)  INSERT INTO
3344
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3345
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
3346
+ 
3347
+ FACTORY (1.7ms) DROP TABLE IF EXISTS `employees`
3348
+ FACTORY (1.0ms)  CREATE TABLE `employees` (
3349
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
3350
+ `name` TEXT NOT NULL,
3351
+ `division` TEXT NOT NULL,
3352
+ `salary` INTEGER NOT NULL,
3353
+ `suspended` TINYINT NOT NULL DEFAULT 0,
3354
+ `hired_on` DATE NOT NULL
3355
+ );
3356
+ 
3357
+ FACTORY (0.7ms) DELETE FROM `employees`
3358
+ FACTORY (0.7ms)  INSERT INTO
3359
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3360
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
3361
+ 
3362
+ FACTORY (0.8ms) INSERT INTO
3363
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3364
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
3365
+
3366
+ FACTORY (0.9ms)  INSERT INTO
3367
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3368
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
3369
+ 
3370
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 14:43:16 -0400
3371
+ Processing by Dossier::ReportsController#show as HTML
3372
+ Parameters: {"report"=>"employee"}
3373
+ EmployeeReport (0.3ms)
3374
+ SELECT * FROM employees WHERE 1=1
3375
+ ORDER BY name ASC
3376
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (23.6ms)
3377
+ Completed 200 OK in 37ms (Views: 27.5ms | ActiveRecord: 0.3ms)
3378
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 14:43:16 -0400
3379
+ Processing by Dossier::ReportsController#show as HTML
3380
+ Parameters: {"report"=>"employee_with_custom_view"}
3381
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (7.3ms)
3382
+ EmployeeWithCustomViewReport (0.3ms) 
3383
+ SELECT * FROM employees WHERE suspended = true
3384
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (28.3ms)
3385
+ Completed 200 OK in 32ms (Views: 29.8ms | ActiveRecord: 0.3ms)
3386
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 14:43:16 -0400
3387
+ Processing by Dossier::ReportsController#show as HTML
3388
+ Parameters: {"report"=>"employee_with_custom_view"}
3389
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.3ms)
3390
+ EmployeeWithCustomViewReport (0.3ms)
3391
+ SELECT * FROM employees WHERE suspended = true
3392
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (6.9ms)
3393
+ Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.2ms)
3394
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 14:43:16 -0400
3395
+ Processing by Dossier::ReportsController#show as HTML
3396
+ Parameters: {"report"=>"employee"}
3397
+ EmployeeReport (0.3ms) 
3398
+ SELECT * FROM employees WHERE 1=1
3399
+ ORDER BY name ASC
3400
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.8ms)
3401
+ Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.3ms)
3402
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 14:43:16 -0400
3403
+ Processing by Dossier::ReportsController#show as HTML
3404
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
3405
+ EmployeeReport (0.3ms)
3406
+ SELECT * FROM employees WHERE 1=1
3407
+ AND division in (('Tedious Toiling'))
3408
+ AND salary > 10000
3409
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
3410
+ ORDER BY name DESC
3411
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (8.1ms)
3412
+ Completed 200 OK in 12ms (Views: 9.0ms | ActiveRecord: 0.3ms)
3413
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 14:43:16 -0400
3414
+ Processing by Dossier::ReportsController#show as HTML
3415
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
3416
+ EmployeeReport (0.3ms) 
3417
+ SELECT * FROM employees WHERE 1=1
3418
+ ORDER BY name ASC
3419
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (7.2ms)
3420
+ Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.3ms)
3421
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 14:43:16 -0400
3422
+ Processing by Dossier::ReportsController#show as CSV
3423
+ Parameters: {"report"=>"employee"}
3424
+ EmployeeReport (0.3ms)
3425
+ SELECT * FROM employees WHERE 1=1
3426
+ ORDER BY name ASC
3427
+ Completed 200 OK in 103ms (ActiveRecord: 0.3ms)
3428
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 14:43:16 -0400
3429
+ Processing by Dossier::ReportsController#show as XLS
3430
+ Parameters: {"report"=>"employee"}
3431
+ EmployeeReport (0.3ms) 
3432
+ SELECT * FROM employees WHERE 1=1
3433
+ ORDER BY name ASC
3434
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
3435
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 14:43:16 -0400
3436
+ Processing by SiteController#report as HTML
3437
+ EmployeeReport (0.3ms)
3438
+ SELECT * FROM employees WHERE 1=1
3439
+ ORDER BY name ASC
3440
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (2.5ms)
3441
+ Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 0.3ms)
3442
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 14:43:16 -0400
3443
+ Processing by Dossier::ReportsController#show as HTML
3444
+ Parameters: {"report"=>"cats/are/super_fun"}
3445
+ Cats::Are::SuperFunReport (0.1ms) 
3446
+ select 'cats', 'are', 'super', 'fun'
3447
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.5ms)
3448
+ Completed 200 OK in 11ms (Views: 6.1ms | ActiveRecord: 0.1ms)
3449
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 14:43:16 -0400
3450
+ Processing by Dossier::ReportsController#show as HTML
3451
+ Parameters: {"report"=>"employee_with_custom_client"}
3452
+ EmployeeWithCustomClientReport (0.2ms)
3453
+ SELECT * FROM `employees`
3454
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (2.8ms)
3455
+ Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.2ms)
3456
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 14:43:16 -0400
3457
+ Processing by Dossier::ReportsController#multi as HTML
3458
+ Parameters: {"report"=>"combination"}
3459
+ Rendered dossier/reports/combination/_options.html.haml (7.0ms)
3460
+ EmployeeReport (0.5ms) 
3461
+ SELECT * FROM employees WHERE 1=1
3462
+ ORDER BY name ASC
3463
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (13.3ms)
3464
+ EmployeeWithCustomViewReport (0.4ms)
3465
+ SELECT * FROM employees WHERE suspended = true
3466
+ Rendered dossier/reports/employee_with_custom_view.html.haml (5.1ms)
3467
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (50.8ms)
3468
+ Completed 200 OK in 55ms (Views: 52.8ms | ActiveRecord: 0.9ms)
3469
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 14:43:16 -0400
3470
+ Processing by Dossier::ReportsController#multi as HTML
3471
+ Parameters: {"report"=>"combination"}
3472
+ Rendered dossier/reports/combination/_options.html.haml (1.5ms)
3473
+ EmployeeReport (0.3ms) 
3474
+ SELECT * FROM employees WHERE 1=1
3475
+ ORDER BY name ASC
3476
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.4ms)
3477
+ EmployeeWithCustomViewReport (0.3ms)
3478
+ SELECT * FROM employees WHERE suspended = true
3479
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.6ms)
3480
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (10.1ms)
3481
+ Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.6ms)
3482
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 14:43:16 -0400
3483
+ Processing by Dossier::ReportsController#multi as HTML
3484
+ Parameters: {"report"=>"combination"}
3485
+ Rendered dossier/reports/combination/_options.html.haml (2.1ms)
3486
+ EmployeeReport (0.3ms) 
3487
+ SELECT * FROM employees WHERE 1=1
3488
+ ORDER BY name ASC
3489
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.7ms)
3490
+ EmployeeWithCustomViewReport (0.5ms)
3491
+ SELECT * FROM employees WHERE suspended = true
3492
+ Rendered dossier/reports/employee_with_custom_view.html.haml (2.7ms)
3493
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (13.0ms)
3494
+ Completed 200 OK in 17ms (Views: 13.9ms | ActiveRecord: 0.8ms)
3495
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 14:43:17 -0400
3496
+ Processing by Dossier::ReportsController#multi as CSV
3497
+ Parameters: {"report"=>"combination"}
3498
+ Completed 500 Internal Server Error in 1ms
3499
+ EmployeeReport (0.3ms) 
3500
+ SELECT * FROM employees WHERE 1=1
3501
+ ORDER BY name ASC
3502
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (4.3ms)
3503
+ EmployeeReport (0.3ms)
3504
+ SELECT * FROM employees WHERE 1=1
3505
+ ORDER BY name ASC
3506
+ EmployeeReport (0.3ms) 
3507
+ SELECT * FROM employees WHERE 1=1
3508
+ ORDER BY name ASC
3509
+ FACTORY (0.1ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
3510
+ FACTORY (1.9ms) DROP TABLE IF EXISTS `employees`
3511
+ FACTORY (12.8ms)  CREATE TABLE `employees` (
3512
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
3513
+ `name` varchar(255) NOT NULL,
3514
+ `division` varchar(255) NOT NULL,
3515
+ `salary` int(11) NOT NULL,
3516
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
3517
+ `hired_on` date NOT NULL,
3518
+ PRIMARY KEY (`id`)
3519
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
3520
+ 
3521
+ FACTORY (7.4ms) TRUNCATE `employees`
3522
+ FACTORY (0.5ms)  INSERT INTO
3523
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3524
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
3525
+ 
3526
+ FACTORY (0.5ms) INSERT INTO
3527
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3528
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
3529
+
3530
+ FACTORY (0.7ms)  INSERT INTO
3531
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3532
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
3533
+ 
3534
+ FACTORY (1.5ms) DROP TABLE IF EXISTS `employees`
3535
+ FACTORY (1.0ms)  CREATE TABLE `employees` (
3536
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
3537
+ `name` TEXT NOT NULL,
3538
+ `division` TEXT NOT NULL,
3539
+ `salary` INTEGER NOT NULL,
3540
+ `suspended` TINYINT NOT NULL DEFAULT 0,
3541
+ `hired_on` DATE NOT NULL
3542
+ );
3543
+ 
3544
+ FACTORY (0.8ms) DELETE FROM `employees`
3545
+ FACTORY (0.8ms)  INSERT INTO
3546
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3547
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
3548
+ 
3549
+ FACTORY (0.7ms) INSERT INTO
3550
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3551
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
3552
+
3553
+ FACTORY (0.9ms)  INSERT INTO
3554
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3555
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
3556
+ 
3557
+ EmployeeReport (0.3ms)
3558
+ SELECT * FROM employees WHERE 1=1
3559
+ ORDER BY name ASC
3560
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (30.6ms)
3561
+ EmployeeReport (0.4ms) 
3562
+ SELECT * FROM employees WHERE 1=1
3563
+ ORDER BY name ASC
3564
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (8.0ms)
3565
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 14:56:31 -0400
3566
+ Processing by SiteController#report as HTML
3567
+ EmployeeReport (0.3ms)
3568
+ SELECT * FROM employees WHERE 1=1
3569
+ ORDER BY name ASC
3570
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.5ms)
3571
+ Completed 200 OK in 13ms (Views: 10.0ms | ActiveRecord: 0.3ms)
3572
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 14:56:31 -0400
3573
+ Processing by Dossier::ReportsController#show as HTML
3574
+ Parameters: {"report"=>"employee"}
3575
+ EmployeeReport (0.3ms) 
3576
+ SELECT * FROM employees WHERE 1=1
3577
+ ORDER BY name ASC
3578
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.8ms)
3579
+ Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.3ms)
3580
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 14:56:31 -0400
3581
+ Processing by Dossier::ReportsController#show as HTML
3582
+ Parameters: {"report"=>"employee_with_custom_view"}
3583
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (6.6ms)
3584
+ EmployeeWithCustomViewReport (0.3ms)
3585
+ SELECT * FROM employees WHERE suspended = true
3586
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (14.0ms)
3587
+ Completed 200 OK in 17ms (Views: 15.2ms | ActiveRecord: 0.3ms)
3588
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 14:56:31 -0400
3589
+ Processing by Dossier::ReportsController#show as HTML
3590
+ Parameters: {"report"=>"employee_with_custom_view"}
3591
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.3ms)
3592
+ EmployeeWithCustomViewReport (0.3ms) 
3593
+ SELECT * FROM employees WHERE suspended = true
3594
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (6.8ms)
3595
+ Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.3ms)
3596
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 14:56:31 -0400
3597
+ Processing by Dossier::ReportsController#show as HTML
3598
+ Parameters: {"report"=>"employee"}
3599
+ EmployeeReport (0.3ms)
3600
+ SELECT * FROM employees WHERE 1=1
3601
+ ORDER BY name ASC
3602
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.2ms)
3603
+ Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.3ms)
3604
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 14:56:31 -0400
3605
+ Processing by Dossier::ReportsController#show as HTML
3606
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
3607
+ EmployeeReport (0.3ms) 
3608
+ SELECT * FROM employees WHERE 1=1
3609
+ AND division in (('Tedious Toiling'))
3610
+ AND salary > 10000
3611
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
3612
+ ORDER BY name DESC
3613
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.3ms)
3614
+ Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.3ms)
3615
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 14:56:31 -0400
3616
+ Processing by Dossier::ReportsController#show as HTML
3617
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
3618
+ EmployeeReport (0.4ms)
3619
+ SELECT * FROM employees WHERE 1=1
3620
+ ORDER BY name ASC
3621
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (8.5ms)
3622
+ Completed 200 OK in 12ms (Views: 9.3ms | ActiveRecord: 0.4ms)
3623
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 14:56:31 -0400
3624
+ Processing by Dossier::ReportsController#show as CSV
3625
+ Parameters: {"report"=>"employee"}
3626
+ EmployeeReport (0.3ms) 
3627
+ SELECT * FROM employees WHERE 1=1
3628
+ ORDER BY name ASC
3629
+ Completed 200 OK in 149ms (ActiveRecord: 0.3ms)
3630
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 14:56:31 -0400
3631
+ Processing by Dossier::ReportsController#show as XLS
3632
+ Parameters: {"report"=>"employee"}
3633
+ EmployeeReport (0.3ms)
3634
+ SELECT * FROM employees WHERE 1=1
3635
+ ORDER BY name ASC
3636
+ Completed 200 OK in 4ms (ActiveRecord: 0.3ms)
3637
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 14:56:31 -0400
3638
+ Processing by Dossier::ReportsController#show as HTML
3639
+ Parameters: {"report"=>"cats/are/super_fun"}
3640
+ Cats::Are::SuperFunReport (0.1ms) 
3641
+ select 'cats', 'are', 'super', 'fun'
3642
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.1ms)
3643
+ Completed 200 OK in 12ms (Views: 7.0ms | ActiveRecord: 0.1ms)
3644
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (4.6ms)
3645
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 14:56:31 -0400
3646
+ Processing by Dossier::ReportsController#multi as HTML
3647
+ Parameters: {"report"=>"combination"}
3648
+ Rendered dossier/reports/combination/_options.html.haml (5.2ms)
3649
+ EmployeeReport (0.3ms)
3650
+ SELECT * FROM employees WHERE 1=1
3651
+ ORDER BY name ASC
3652
+ EmployeeWithCustomViewReport (0.3ms) 
3653
+ SELECT * FROM employees WHERE suspended = true
3654
+ Completed 200 OK in 27ms (Views: 25.2ms | ActiveRecord: 0.6ms)
3655
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 14:56:31 -0400
3656
+ Processing by Dossier::ReportsController#multi as HTML
3657
+ Parameters: {"report"=>"combination"}
3658
+ Rendered dossier/reports/combination/_options.html.haml (1.5ms)
3659
+ EmployeeReport (0.3ms)
3660
+ SELECT * FROM employees WHERE 1=1
3661
+ ORDER BY name ASC
3662
+ EmployeeWithCustomViewReport (0.3ms) 
3663
+ SELECT * FROM employees WHERE suspended = true
3664
+ Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.7ms)
3665
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 14:56:31 -0400
3666
+ Processing by Dossier::ReportsController#multi as CSV
3667
+ Parameters: {"report"=>"combination"}
3668
+ Completed 500 Internal Server Error in 1ms
3669
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 14:56:31 -0400
3670
+ Processing by Dossier::ReportsController#multi as HTML
3671
+ Parameters: {"report"=>"combination"}
3672
+ Rendered dossier/reports/combination/_options.html.haml (1.4ms)
3673
+ EmployeeReport (0.3ms)
3674
+ SELECT * FROM employees WHERE 1=1
3675
+ ORDER BY name ASC
3676
+ EmployeeWithCustomViewReport (0.4ms) 
3677
+ SELECT * FROM employees WHERE suspended = true
3678
+ Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.7ms)
3679
+ EmployeeReport (0.3ms)
3680
+ SELECT * FROM employees WHERE 1=1
3681
+ ORDER BY name ASC
3682
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 14:56:31 -0400
3683
+ Processing by Dossier::ReportsController#show as HTML
3684
+ Parameters: {"report"=>"employee_with_custom_client"}
3685
+ EmployeeWithCustomClientReport (0.3ms) 
3686
+ SELECT * FROM `employees`
3687
+ Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms)
3688
+ FACTORY (0.2ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
3689
+ FACTORY (2.2ms) DROP TABLE IF EXISTS `employees`
3690
+ FACTORY (17.9ms)  CREATE TABLE `employees` (
3691
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
3692
+ `name` varchar(255) NOT NULL,
3693
+ `division` varchar(255) NOT NULL,
3694
+ `salary` int(11) NOT NULL,
3695
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
3696
+ `hired_on` date NOT NULL,
3697
+ PRIMARY KEY (`id`)
3698
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
3699
+ 
3700
+ FACTORY (6.0ms) TRUNCATE `employees`
3701
+ FACTORY (0.4ms)  INSERT INTO
3702
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3703
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
3704
+ 
3705
+ FACTORY (0.3ms) INSERT INTO
3706
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3707
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
3708
+
3709
+ FACTORY (0.4ms)  INSERT INTO
3710
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3711
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
3712
+ 
3713
+ FACTORY (1.6ms) DROP TABLE IF EXISTS `employees`
3714
+ FACTORY (1.0ms)  CREATE TABLE `employees` (
3715
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
3716
+ `name` TEXT NOT NULL,
3717
+ `division` TEXT NOT NULL,
3718
+ `salary` INTEGER NOT NULL,
3719
+ `suspended` TINYINT NOT NULL DEFAULT 0,
3720
+ `hired_on` DATE NOT NULL
3721
+ );
3722
+ 
3723
+ FACTORY (0.7ms) DELETE FROM `employees`
3724
+ FACTORY (0.8ms)  INSERT INTO
3725
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3726
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
3727
+ 
3728
+ FACTORY (0.8ms) INSERT INTO
3729
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3730
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
3731
+
3732
+ FACTORY (0.8ms)  INSERT INTO
3733
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3734
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
3735
+ 
3736
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 14:58:26 -0400
3737
+ Processing by SiteController#report as HTML
3738
+ EmployeeReport (0.3ms)
3739
+ SELECT * FROM employees WHERE 1=1
3740
+ ORDER BY name ASC
3741
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (24.9ms)
3742
+ Completed 200 OK in 39ms (Views: 33.8ms | ActiveRecord: 0.3ms)
3743
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 14:58:26 -0400
3744
+ Processing by Dossier::ReportsController#show as HTML
3745
+ Parameters: {"report"=>"employee_with_custom_client"}
3746
+ EmployeeWithCustomClientReport (0.2ms) 
3747
+ SELECT * FROM `employees`
3748
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (2.8ms)
3749
+ Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.2ms)
3750
+ EmployeeReport (0.3ms)
3751
+ SELECT * FROM employees WHERE 1=1
3752
+ ORDER BY name ASC
3753
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (13.5ms)
3754
+ EmployeeReport (0.4ms) 
3755
+ SELECT * FROM employees WHERE 1=1
3756
+ ORDER BY name ASC
3757
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (7.3ms)
3758
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 14:58:27 -0400
3759
+ Processing by Dossier::ReportsController#show as HTML
3760
+ Parameters: {"report"=>"cats/are/super_fun"}
3761
+ Cats::Are::SuperFunReport (0.1ms)
3762
+ select 'cats', 'are', 'super', 'fun'
3763
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (42.1ms)
3764
+ Completed 200 OK in 45ms (Views: 42.8ms | ActiveRecord: 0.1ms)
3765
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 14:58:27 -0400
3766
+ Processing by Dossier::ReportsController#show as HTML
3767
+ Parameters: {"report"=>"employee"}
3768
+ EmployeeReport (0.3ms) 
3769
+ SELECT * FROM employees WHERE 1=1
3770
+ ORDER BY name ASC
3771
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.7ms)
3772
+ Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.3ms)
3773
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 14:58:27 -0400
3774
+ Processing by Dossier::ReportsController#show as HTML
3775
+ Parameters: {"report"=>"employee_with_custom_view"}
3776
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (7.6ms)
3777
+ EmployeeWithCustomViewReport (0.3ms)
3778
+ SELECT * FROM employees WHERE suspended = true
3779
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (15.9ms)
3780
+ Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.3ms)
3781
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 14:58:27 -0400
3782
+ Processing by Dossier::ReportsController#show as HTML
3783
+ Parameters: {"report"=>"employee_with_custom_view"}
3784
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.5ms)
3785
+ EmployeeWithCustomViewReport (0.2ms) 
3786
+ SELECT * FROM employees WHERE suspended = true
3787
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (7.1ms)
3788
+ Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.2ms)
3789
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 14:58:27 -0400
3790
+ Processing by Dossier::ReportsController#show as HTML
3791
+ Parameters: {"report"=>"employee"}
3792
+ EmployeeReport (0.3ms)
3793
+ SELECT * FROM employees WHERE 1=1
3794
+ ORDER BY name ASC
3795
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.9ms)
3796
+ Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.3ms)
3797
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 14:58:27 -0400
3798
+ Processing by Dossier::ReportsController#show as HTML
3799
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
3800
+ EmployeeReport (0.5ms) 
3801
+ SELECT * FROM employees WHERE 1=1
3802
+ AND division in (('Tedious Toiling'))
3803
+ AND salary > 10000
3804
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
3805
+ ORDER BY name DESC
3806
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (7.3ms)
3807
+ Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.5ms)
3808
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 14:58:27 -0400
3809
+ Processing by Dossier::ReportsController#show as HTML
3810
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
3811
+ EmployeeReport (0.4ms)
3812
+ SELECT * FROM employees WHERE 1=1
3813
+ ORDER BY name ASC
3814
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.8ms)
3815
+ Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.4ms)
3816
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 14:58:27 -0400
3817
+ Processing by Dossier::ReportsController#show as CSV
3818
+ Parameters: {"report"=>"employee"}
3819
+ EmployeeReport (0.3ms) 
3820
+ SELECT * FROM employees WHERE 1=1
3821
+ ORDER BY name ASC
3822
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
3823
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 14:58:27 -0400
3824
+ Processing by Dossier::ReportsController#show as XLS
3825
+ Parameters: {"report"=>"employee"}
3826
+ EmployeeReport (0.3ms)
3827
+ SELECT * FROM employees WHERE 1=1
3828
+ ORDER BY name ASC
3829
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
3830
+ EmployeeReport (0.4ms) 
3831
+ SELECT * FROM employees WHERE 1=1
3832
+ ORDER BY name ASC
3833
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (6.5ms)
3834
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 14:58:27 -0400
3835
+ Processing by Dossier::ReportsController#multi as HTML
3836
+ Parameters: {"report"=>"combination"}
3837
+ Rendered dossier/reports/combination/_options.html.haml (5.2ms)
3838
+ EmployeeReport (0.3ms)
3839
+ SELECT * FROM employees WHERE 1=1
3840
+ ORDER BY name ASC
3841
+ EmployeeWithCustomViewReport (0.3ms) 
3842
+ SELECT * FROM employees WHERE suspended = true
3843
+ Completed 200 OK in 25ms (Views: 23.0ms | ActiveRecord: 0.6ms)
3844
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 14:58:27 -0400
3845
+ Processing by Dossier::ReportsController#multi as HTML
3846
+ Parameters: {"report"=>"combination"}
3847
+ Rendered dossier/reports/combination/_options.html.haml (1.4ms)
3848
+ EmployeeReport (0.4ms)
3849
+ SELECT * FROM employees WHERE 1=1
3850
+ ORDER BY name ASC
3851
+ EmployeeWithCustomViewReport (0.4ms) 
3852
+ SELECT * FROM employees WHERE suspended = true
3853
+ Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 0.8ms)
3854
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 14:58:27 -0400
3855
+ Processing by Dossier::ReportsController#multi as HTML
3856
+ Parameters: {"report"=>"combination"}
3857
+ Rendered dossier/reports/combination/_options.html.haml (2.4ms)
3858
+ EmployeeReport (0.3ms)
3859
+ SELECT * FROM employees WHERE 1=1
3860
+ ORDER BY name ASC
3861
+ EmployeeWithCustomViewReport (0.3ms) 
3862
+ SELECT * FROM employees WHERE suspended = true
3863
+ Completed 200 OK in 16ms (Views: 13.3ms | ActiveRecord: 0.6ms)
3864
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 14:58:27 -0400
3865
+ Processing by Dossier::ReportsController#multi as CSV
3866
+ Parameters: {"report"=>"combination"}
3867
+ Completed 500 Internal Server Error in 1ms
3868
+ FACTORY (0.2ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
3869
+ FACTORY (2.5ms) DROP TABLE IF EXISTS `employees`
3870
+ FACTORY (16.3ms)  CREATE TABLE `employees` (
3871
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
3872
+ `name` varchar(255) NOT NULL,
3873
+ `division` varchar(255) NOT NULL,
3874
+ `salary` int(11) NOT NULL,
3875
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
3876
+ `hired_on` date NOT NULL,
3877
+ PRIMARY KEY (`id`)
3878
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
3879
+ 
3880
+ FACTORY (7.2ms) TRUNCATE `employees`
3881
+ FACTORY (0.4ms)  INSERT INTO
3882
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3883
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
3884
+ 
3885
+ FACTORY (0.3ms) INSERT INTO
3886
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3887
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
3888
+
3889
+ FACTORY (0.3ms)  INSERT INTO
3890
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3891
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
3892
+ 
3893
+ FACTORY (1.7ms) DROP TABLE IF EXISTS `employees`
3894
+ FACTORY (0.9ms)  CREATE TABLE `employees` (
3895
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
3896
+ `name` TEXT NOT NULL,
3897
+ `division` TEXT NOT NULL,
3898
+ `salary` INTEGER NOT NULL,
3899
+ `suspended` TINYINT NOT NULL DEFAULT 0,
3900
+ `hired_on` DATE NOT NULL
3901
+ );
3902
+ 
3903
+ FACTORY (0.6ms) DELETE FROM `employees`
3904
+ FACTORY (0.9ms)  INSERT INTO
3905
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3906
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
3907
+ 
3908
+ FACTORY (0.8ms) INSERT INTO
3909
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3910
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
3911
+
3912
+ FACTORY (0.8ms)  INSERT INTO
3913
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
3914
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
3915
+ 
3916
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 14:58:43 -0400
3917
+ Processing by Dossier::ReportsController#multi as HTML
3918
+ Parameters: {"report"=>"combination"}
3919
+ Rendered dossier/reports/combination/_options.html.haml (21.4ms)
3920
+ EmployeeReport (0.3ms)
3921
+ SELECT * FROM employees WHERE 1=1
3922
+ ORDER BY name ASC
3923
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (13.3ms)
3924
+ EmployeeWithCustomViewReport (0.4ms) 
3925
+ SELECT * FROM employees WHERE suspended = true
3926
+ Rendered dossier/reports/employee_with_custom_view.html.haml (14.3ms)
3927
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (82.0ms)
3928
+ Completed 200 OK in 107ms (Views: 99.4ms | ActiveRecord: 0.7ms)
3929
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 14:58:43 -0400
3930
+ Processing by Dossier::ReportsController#multi as HTML
3931
+ Parameters: {"report"=>"combination"}
3932
+ Rendered dossier/reports/combination/_options.html.haml (1.4ms)
3933
+ EmployeeReport (0.3ms)
3934
+ SELECT * FROM employees WHERE 1=1
3935
+ ORDER BY name ASC
3936
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.2ms)
3937
+ EmployeeWithCustomViewReport (0.3ms) 
3938
+ SELECT * FROM employees WHERE suspended = true
3939
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.8ms)
3940
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (10.0ms)
3941
+ Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.6ms)
3942
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 14:58:43 -0400
3943
+ Processing by Dossier::ReportsController#multi as HTML
3944
+ Parameters: {"report"=>"combination"}
3945
+ Rendered dossier/reports/combination/_options.html.haml (1.4ms)
3946
+ EmployeeReport (0.3ms)
3947
+ SELECT * FROM employees WHERE 1=1
3948
+ ORDER BY name ASC
3949
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (6.3ms)
3950
+ EmployeeWithCustomViewReport (0.3ms) 
3951
+ SELECT * FROM employees WHERE suspended = true
3952
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.7ms)
3953
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (11.4ms)
3954
+ Completed 200 OK in 14ms (Views: 11.7ms | ActiveRecord: 0.6ms)
3955
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 14:58:43 -0400
3956
+ Processing by Dossier::ReportsController#multi as CSV
3957
+ Parameters: {"report"=>"combination"}
3958
+ Completed 500 Internal Server Error in 2ms
3959
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (8.3ms)
3960
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 14:58:43 -0400
3961
+ Processing by Dossier::ReportsController#show as HTML
3962
+ Parameters: {"report"=>"employee_with_custom_client"}
3963
+ EmployeeWithCustomClientReport (0.3ms)
3964
+ SELECT * FROM `employees`
3965
+ Completed 200 OK in 19ms (Views: 7.4ms | ActiveRecord: 0.3ms)
3966
+ EmployeeReport (0.4ms) 
3967
+ SELECT * FROM employees WHERE 1=1
3968
+ ORDER BY name ASC
3969
+ EmployeeReport (0.3ms)
3970
+ SELECT * FROM employees WHERE 1=1
3971
+ ORDER BY name ASC
3972
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 14:58:44 -0400
3973
+ Processing by SiteController#report as HTML
3974
+ EmployeeReport (0.4ms) 
3975
+ SELECT * FROM employees WHERE 1=1
3976
+ ORDER BY name ASC
3977
+ Completed 200 OK in 10ms (Views: 5.0ms | ActiveRecord: 0.4ms)
3978
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 14:58:44 -0400
3979
+ Processing by Dossier::ReportsController#show as CSV
3980
+ Parameters: {"report"=>"employee"}
3981
+ EmployeeReport (0.3ms)
3982
+ SELECT * FROM employees WHERE 1=1
3983
+ ORDER BY name ASC
3984
+ Completed 200 OK in 7ms (ActiveRecord: 0.3ms)
3985
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 14:58:44 -0400
3986
+ Processing by Dossier::ReportsController#show as HTML
3987
+ Parameters: {"report"=>"employee_with_custom_view"}
3988
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.9ms)
3989
+ EmployeeWithCustomViewReport (0.5ms) 
3990
+ SELECT * FROM employees WHERE suspended = true
3991
+ Completed 200 OK in 15ms (Views: 13.2ms | ActiveRecord: 0.5ms)
3992
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 14:58:44 -0400
3993
+ Processing by Dossier::ReportsController#show as HTML
3994
+ Parameters: {"report"=>"employee_with_custom_view"}
3995
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.3ms)
3996
+ EmployeeWithCustomViewReport (0.3ms)
3997
+ SELECT * FROM employees WHERE suspended = true
3998
+ Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.3ms)
3999
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 14:58:44 -0400
4000
+ Processing by Dossier::ReportsController#show as HTML
4001
+ Parameters: {"report"=>"employee"}
4002
+ EmployeeReport (0.3ms) 
4003
+ SELECT * FROM employees WHERE 1=1
4004
+ ORDER BY name ASC
4005
+ Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
4006
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 14:58:44 -0400
4007
+ Processing by Dossier::ReportsController#show as HTML
4008
+ Parameters: {"report"=>"employee"}
4009
+ EmployeeReport (0.4ms)
4010
+ SELECT * FROM employees WHERE 1=1
4011
+ ORDER BY name ASC
4012
+ Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.4ms)
4013
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 14:58:44 -0400
4014
+ Processing by Dossier::ReportsController#show as HTML
4015
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
4016
+ EmployeeReport (0.4ms) 
4017
+ SELECT * FROM employees WHERE 1=1
4018
+ AND division in (('Tedious Toiling'))
4019
+ AND salary > 10000
4020
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
4021
+ ORDER BY name DESC
4022
+ Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.4ms)
4023
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 14:58:44 -0400
4024
+ Processing by Dossier::ReportsController#show as HTML
4025
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
4026
+ EmployeeReport (0.4ms)
4027
+ SELECT * FROM employees WHERE 1=1
4028
+ ORDER BY name ASC
4029
+ Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.4ms)
4030
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 14:58:44 -0400
4031
+ Processing by Dossier::ReportsController#show as XLS
4032
+ Parameters: {"report"=>"employee"}
4033
+ EmployeeReport (0.3ms) 
4034
+ SELECT * FROM employees WHERE 1=1
4035
+ ORDER BY name ASC
4036
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
4037
+ EmployeeReport (0.5ms)
4038
+ SELECT * FROM employees WHERE 1=1
4039
+ ORDER BY name ASC
4040
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 14:58:44 -0400
4041
+ Processing by Dossier::ReportsController#show as HTML
4042
+ Parameters: {"report"=>"cats/are/super_fun"}
4043
+ Cats::Are::SuperFunReport (0.2ms) 
4044
+ select 'cats', 'are', 'super', 'fun'
4045
+ Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.2ms)
4046
+ FACTORY (0.1ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
4047
+ FACTORY (2.0ms) DROP TABLE IF EXISTS `employees`
4048
+ FACTORY (24.0ms)  CREATE TABLE `employees` (
4049
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
4050
+ `name` varchar(255) NOT NULL,
4051
+ `division` varchar(255) NOT NULL,
4052
+ `salary` int(11) NOT NULL,
4053
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
4054
+ `hired_on` date NOT NULL,
4055
+ PRIMARY KEY (`id`)
4056
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
4057
+ 
4058
+ FACTORY (3.6ms) TRUNCATE `employees`
4059
+ FACTORY (0.4ms)  INSERT INTO
4060
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4061
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
4062
+ 
4063
+ FACTORY (0.4ms) INSERT INTO
4064
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4065
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
4066
+
4067
+ FACTORY (0.4ms)  INSERT INTO
4068
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4069
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
4070
+ 
4071
+ FACTORY (1.5ms) DROP TABLE IF EXISTS `employees`
4072
+ FACTORY (1.0ms)  CREATE TABLE `employees` (
4073
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
4074
+ `name` TEXT NOT NULL,
4075
+ `division` TEXT NOT NULL,
4076
+ `salary` INTEGER NOT NULL,
4077
+ `suspended` TINYINT NOT NULL DEFAULT 0,
4078
+ `hired_on` DATE NOT NULL
4079
+ );
4080
+ 
4081
+ FACTORY (1.5ms) DELETE FROM `employees`
4082
+ FACTORY (0.8ms)  INSERT INTO
4083
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4084
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
4085
+ 
4086
+ FACTORY (0.7ms) INSERT INTO
4087
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4088
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
4089
+
4090
+ FACTORY (0.8ms)  INSERT INTO
4091
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4092
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
4093
+ 
4094
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 14:59:59 -0400
4095
+ Processing by Dossier::ReportsController#show as XLS
4096
+ Parameters: {"report"=>"employee"}
4097
+ EmployeeReport (0.3ms)
4098
+ SELECT * FROM employees WHERE 1=1
4099
+ ORDER BY name ASC
4100
+ Completed 200 OK in 128ms (ActiveRecord: 0.3ms)
4101
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 14:59:59 -0400
4102
+ Processing by Dossier::ReportsController#show as CSV
4103
+ Parameters: {"report"=>"employee"}
4104
+ EmployeeReport (0.3ms) 
4105
+ SELECT * FROM employees WHERE 1=1
4106
+ ORDER BY name ASC
4107
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
4108
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 14:59:59 -0400
4109
+ Processing by Dossier::ReportsController#show as HTML
4110
+ Parameters: {"report"=>"employee"}
4111
+ EmployeeReport (0.3ms)
4112
+ SELECT * FROM employees WHERE 1=1
4113
+ ORDER BY name ASC
4114
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (13.8ms)
4115
+ Completed 200 OK in 26ms (Views: 17.9ms | ActiveRecord: 0.3ms)
4116
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 14:59:59 -0400
4117
+ Processing by Dossier::ReportsController#show as HTML
4118
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
4119
+ EmployeeReport (0.3ms) 
4120
+ SELECT * FROM employees WHERE 1=1
4121
+ AND division in (('Tedious Toiling'))
4122
+ AND salary > 10000
4123
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
4124
+ ORDER BY name DESC
4125
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.7ms)
4126
+ Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.3ms)
4127
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 14:59:59 -0400
4128
+ Processing by Dossier::ReportsController#show as HTML
4129
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
4130
+ EmployeeReport (0.3ms)
4131
+ SELECT * FROM employees WHERE 1=1
4132
+ ORDER BY name ASC
4133
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.5ms)
4134
+ Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.3ms)
4135
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 14:59:59 -0400
4136
+ Processing by Dossier::ReportsController#show as HTML
4137
+ Parameters: {"report"=>"employee_with_custom_view"}
4138
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (8.5ms)
4139
+ EmployeeWithCustomViewReport (0.4ms) 
4140
+ SELECT * FROM employees WHERE suspended = true
4141
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (18.2ms)
4142
+ Completed 200 OK in 23ms (Views: 19.7ms | ActiveRecord: 0.4ms)
4143
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 14:59:59 -0400
4144
+ Processing by Dossier::ReportsController#show as HTML
4145
+ Parameters: {"report"=>"employee_with_custom_view"}
4146
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.5ms)
4147
+ EmployeeWithCustomViewReport (0.2ms)
4148
+ SELECT * FROM employees WHERE suspended = true
4149
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (7.0ms)
4150
+ Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.2ms)
4151
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 14:59:59 -0400
4152
+ Processing by Dossier::ReportsController#show as HTML
4153
+ Parameters: {"report"=>"employee"}
4154
+ EmployeeReport (0.3ms) 
4155
+ SELECT * FROM employees WHERE 1=1
4156
+ ORDER BY name ASC
4157
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.0ms)
4158
+ Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.3ms)
4159
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 14:59:59 -0400
4160
+ Processing by SiteController#report as HTML
4161
+ EmployeeReport (0.3ms)
4162
+ SELECT * FROM employees WHERE 1=1
4163
+ ORDER BY name ASC
4164
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (3.1ms)
4165
+ Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 0.3ms)
4166
+ EmployeeReport (0.5ms) 
4167
+ SELECT * FROM employees WHERE 1=1
4168
+ ORDER BY name ASC
4169
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (5.0ms)
4170
+ EmployeeReport (0.3ms)
4171
+ SELECT * FROM employees WHERE 1=1
4172
+ ORDER BY name ASC
4173
+ EmployeeReport (0.4ms) 
4174
+ SELECT * FROM employees WHERE 1=1
4175
+ ORDER BY name ASC
4176
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:00:00 -0400
4177
+ Processing by Dossier::ReportsController#multi as CSV
4178
+ Parameters: {"report"=>"combination"}
4179
+ Completed 500 Internal Server Error in 1ms
4180
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:00:00 -0400
4181
+ Processing by Dossier::ReportsController#multi as HTML
4182
+ Parameters: {"report"=>"combination"}
4183
+ Rendered dossier/reports/combination/_options.html.haml (8.2ms)
4184
+ EmployeeReport (0.3ms)
4185
+ SELECT * FROM employees WHERE 1=1
4186
+ ORDER BY name ASC
4187
+ EmployeeWithCustomViewReport (0.3ms) 
4188
+ SELECT * FROM employees WHERE suspended = true
4189
+ Completed 200 OK in 30ms (Views: 28.9ms | ActiveRecord: 0.6ms)
4190
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:00:00 -0400
4191
+ Processing by Dossier::ReportsController#multi as HTML
4192
+ Parameters: {"report"=>"combination"}
4193
+ Rendered dossier/reports/combination/_options.html.haml (1.5ms)
4194
+ EmployeeReport (0.3ms)
4195
+ SELECT * FROM employees WHERE 1=1
4196
+ ORDER BY name ASC
4197
+ EmployeeWithCustomViewReport (0.3ms) 
4198
+ SELECT * FROM employees WHERE suspended = true
4199
+ Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.6ms)
4200
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:00:00 -0400
4201
+ Processing by Dossier::ReportsController#multi as HTML
4202
+ Parameters: {"report"=>"combination"}
4203
+ Rendered dossier/reports/combination/_options.html.haml (1.5ms)
4204
+ EmployeeReport (0.3ms)
4205
+ SELECT * FROM employees WHERE 1=1
4206
+ ORDER BY name ASC
4207
+ EmployeeWithCustomViewReport (0.4ms) 
4208
+ SELECT * FROM employees WHERE suspended = true
4209
+ Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.7ms)
4210
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:00:00 -0400
4211
+ Processing by Dossier::ReportsController#show as HTML
4212
+ Parameters: {"report"=>"cats/are/super_fun"}
4213
+ Cats::Are::SuperFunReport (0.2ms)
4214
+ select 'cats', 'are', 'super', 'fun'
4215
+ Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.2ms)
4216
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:00:00 -0400
4217
+ Processing by Dossier::ReportsController#show as HTML
4218
+ Parameters: {"report"=>"employee_with_custom_client"}
4219
+ EmployeeWithCustomClientReport (0.4ms) 
4220
+ SELECT * FROM `employees`
4221
+ Completed 200 OK in 7ms (Views: 4.2ms | ActiveRecord: 0.4ms)
4222
+ FACTORY (0.2ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
4223
+ FACTORY (2.1ms) DROP TABLE IF EXISTS `employees`
4224
+ FACTORY (12.0ms)  CREATE TABLE `employees` (
4225
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
4226
+ `name` varchar(255) NOT NULL,
4227
+ `division` varchar(255) NOT NULL,
4228
+ `salary` int(11) NOT NULL,
4229
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
4230
+ `hired_on` date NOT NULL,
4231
+ PRIMARY KEY (`id`)
4232
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
4233
+ 
4234
+ FACTORY (7.8ms) TRUNCATE `employees`
4235
+ FACTORY (0.3ms)  INSERT INTO
4236
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4237
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
4238
+ 
4239
+ FACTORY (0.3ms) INSERT INTO
4240
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4241
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
4242
+
4243
+ FACTORY (2.9ms)  INSERT INTO
4244
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4245
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
4246
+ 
4247
+ FACTORY (1.4ms) DROP TABLE IF EXISTS `employees`
4248
+ FACTORY (1.0ms)  CREATE TABLE `employees` (
4249
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
4250
+ `name` TEXT NOT NULL,
4251
+ `division` TEXT NOT NULL,
4252
+ `salary` INTEGER NOT NULL,
4253
+ `suspended` TINYINT NOT NULL DEFAULT 0,
4254
+ `hired_on` DATE NOT NULL
4255
+ );
4256
+ 
4257
+ FACTORY (0.7ms) DELETE FROM `employees`
4258
+ FACTORY (0.8ms)  INSERT INTO
4259
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4260
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
4261
+ 
4262
+ FACTORY (0.8ms) INSERT INTO
4263
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4264
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
4265
+
4266
+ FACTORY (0.8ms)  INSERT INTO
4267
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4268
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
4269
+ 
4270
+ EmployeeReport (0.3ms)
4271
+ SELECT * FROM employees WHERE 1=1
4272
+ ORDER BY name ASC
4273
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:00:46 -0400
4274
+ Processing by Dossier::ReportsController#show as HTML
4275
+ Parameters: {"report"=>"cats/are/super_fun"}
4276
+ Cats::Are::SuperFunReport (0.1ms) 
4277
+ select 'cats', 'are', 'super', 'fun'
4278
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (11.9ms)
4279
+ Completed 200 OK in 27ms (Views: 16.4ms | ActiveRecord: 0.1ms)
4280
+ EmployeeReport (0.3ms)
4281
+ SELECT * FROM employees WHERE 1=1
4282
+ ORDER BY name ASC
4283
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (19.4ms)
4284
+ EmployeeReport (0.3ms) 
4285
+ SELECT * FROM employees WHERE 1=1
4286
+ ORDER BY name ASC
4287
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (5.5ms)
4288
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:00:46 -0400
4289
+ Processing by Dossier::ReportsController#multi as HTML
4290
+ Parameters: {"report"=>"combination"}
4291
+ Rendered dossier/reports/combination/_options.html.haml (6.0ms)
4292
+ EmployeeReport (0.3ms)
4293
+ SELECT * FROM employees WHERE 1=1
4294
+ ORDER BY name ASC
4295
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.6ms)
4296
+ EmployeeWithCustomViewReport (0.3ms) 
4297
+ SELECT * FROM employees WHERE suspended = true
4298
+ Rendered dossier/reports/employee_with_custom_view.html.haml (44.0ms)
4299
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (65.5ms)
4300
+ Completed 200 OK in 69ms (Views: 66.6ms | ActiveRecord: 0.6ms)
4301
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:00:46 -0400
4302
+ Processing by Dossier::ReportsController#multi as HTML
4303
+ Parameters: {"report"=>"combination"}
4304
+ Rendered dossier/reports/combination/_options.html.haml (1.5ms)
4305
+ EmployeeReport (0.3ms)
4306
+ SELECT * FROM employees WHERE 1=1
4307
+ ORDER BY name ASC
4308
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (6.4ms)
4309
+ EmployeeWithCustomViewReport (0.3ms) 
4310
+ SELECT * FROM employees WHERE suspended = true
4311
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.7ms)
4312
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (11.6ms)
4313
+ Completed 200 OK in 14ms (Views: 11.7ms | ActiveRecord: 0.6ms)
4314
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:00:46 -0400
4315
+ Processing by Dossier::ReportsController#multi as HTML
4316
+ Parameters: {"report"=>"combination"}
4317
+ Rendered dossier/reports/combination/_options.html.haml (1.3ms)
4318
+ EmployeeReport (0.3ms)
4319
+ SELECT * FROM employees WHERE 1=1
4320
+ ORDER BY name ASC
4321
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.2ms)
4322
+ EmployeeWithCustomViewReport (0.3ms) 
4323
+ SELECT * FROM employees WHERE suspended = true
4324
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.8ms)
4325
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (10.0ms)
4326
+ Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.6ms)
4327
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:00:46 -0400
4328
+ Processing by Dossier::ReportsController#multi as CSV
4329
+ Parameters: {"report"=>"combination"}
4330
+ Completed 500 Internal Server Error in 1ms
4331
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:00:46 -0400
4332
+ Processing by Dossier::ReportsController#show as HTML
4333
+ Parameters: {"report"=>"employee_with_custom_client"}
4334
+ EmployeeWithCustomClientReport (0.2ms)
4335
+ SELECT * FROM `employees`
4336
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (3.7ms)
4337
+ Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.2ms)
4338
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:00:46 -0400
4339
+ Processing by SiteController#report as HTML
4340
+ EmployeeReport (0.3ms) 
4341
+ SELECT * FROM employees WHERE 1=1
4342
+ ORDER BY name ASC
4343
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (3.3ms)
4344
+ Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.3ms)
4345
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (7.2ms)
4346
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:00:46 -0400
4347
+ Processing by Dossier::ReportsController#show as CSV
4348
+ Parameters: {"report"=>"employee"}
4349
+ EmployeeReport (0.3ms)
4350
+ SELECT * FROM employees WHERE 1=1
4351
+ ORDER BY name ASC
4352
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
4353
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:00:46 -0400
4354
+ Processing by Dossier::ReportsController#show as HTML
4355
+ Parameters: {"report"=>"employee_with_custom_view"}
4356
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.7ms)
4357
+ EmployeeWithCustomViewReport (0.4ms) 
4358
+ SELECT * FROM employees WHERE suspended = true
4359
+ Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.4ms)
4360
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:00:46 -0400
4361
+ Processing by Dossier::ReportsController#show as HTML
4362
+ Parameters: {"report"=>"employee_with_custom_view"}
4363
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.1ms)
4364
+ EmployeeWithCustomViewReport (0.3ms)
4365
+ SELECT * FROM employees WHERE suspended = true
4366
+ Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.3ms)
4367
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:00:46 -0400
4368
+ Processing by Dossier::ReportsController#show as HTML
4369
+ Parameters: {"report"=>"employee"}
4370
+ EmployeeReport (0.3ms) 
4371
+ SELECT * FROM employees WHERE 1=1
4372
+ ORDER BY name ASC
4373
+ Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 0.3ms)
4374
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:00:46 -0400
4375
+ Processing by Dossier::ReportsController#show as HTML
4376
+ Parameters: {"report"=>"employee"}
4377
+ EmployeeReport (0.3ms)
4378
+ SELECT * FROM employees WHERE 1=1
4379
+ ORDER BY name ASC
4380
+ Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.3ms)
4381
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:00:46 -0400
4382
+ Processing by Dossier::ReportsController#show as HTML
4383
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
4384
+ EmployeeReport (0.3ms) 
4385
+ SELECT * FROM employees WHERE 1=1
4386
+ ORDER BY name ASC
4387
+ Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.3ms)
4388
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:00:46 -0400
4389
+ Processing by Dossier::ReportsController#show as HTML
4390
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
4391
+ EmployeeReport (0.4ms)
4392
+ SELECT * FROM employees WHERE 1=1
4393
+ AND division in (('Tedious Toiling'))
4394
+ AND salary > 10000
4395
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
4396
+ ORDER BY name DESC
4397
+ Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.4ms)
4398
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:00:46 -0400
4399
+ Processing by Dossier::ReportsController#show as XLS
4400
+ Parameters: {"report"=>"employee"}
4401
+ EmployeeReport (0.4ms) 
4402
+ SELECT * FROM employees WHERE 1=1
4403
+ ORDER BY name ASC
4404
+ Completed 200 OK in 5ms (ActiveRecord: 0.4ms)
4405
+ FACTORY (0.1ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
4406
+ FACTORY (2.1ms) DROP TABLE IF EXISTS `employees`
4407
+ FACTORY (16.9ms)  CREATE TABLE `employees` (
4408
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
4409
+ `name` varchar(255) NOT NULL,
4410
+ `division` varchar(255) NOT NULL,
4411
+ `salary` int(11) NOT NULL,
4412
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
4413
+ `hired_on` date NOT NULL,
4414
+ PRIMARY KEY (`id`)
4415
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
4416
+ 
4417
+ FACTORY (4.3ms) TRUNCATE `employees`
4418
+ FACTORY (0.4ms)  INSERT INTO
4419
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4420
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
4421
+ 
4422
+ FACTORY (0.3ms) INSERT INTO
4423
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4424
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
4425
+
4426
+ FACTORY (0.4ms)  INSERT INTO
4427
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4428
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
4429
+ 
4430
+ FACTORY (1.8ms) DROP TABLE IF EXISTS `employees`
4431
+ FACTORY (1.1ms)  CREATE TABLE `employees` (
4432
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
4433
+ `name` TEXT NOT NULL,
4434
+ `division` TEXT NOT NULL,
4435
+ `salary` INTEGER NOT NULL,
4436
+ `suspended` TINYINT NOT NULL DEFAULT 0,
4437
+ `hired_on` DATE NOT NULL
4438
+ );
4439
+ 
4440
+ FACTORY (0.7ms) DELETE FROM `employees`
4441
+ FACTORY (0.8ms)  INSERT INTO
4442
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4443
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
4444
+ 
4445
+ FACTORY (0.6ms) INSERT INTO
4446
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4447
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
4448
+
4449
+ FACTORY (0.8ms)  INSERT INTO
4450
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4451
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
4452
+ 
4453
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:04:42 -0400
4454
+ Processing by Dossier::ReportsController#multi as HTML
4455
+ Parameters: {"report"=>"combination"}
4456
+ Rendered dossier/reports/combination/_options.html.haml (10.5ms)
4457
+ EmployeeReport (0.3ms)
4458
+ SELECT * FROM employees WHERE 1=1
4459
+ ORDER BY name ASC
4460
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (27.1ms)
4461
+ EmployeeWithCustomViewReport (0.3ms) 
4462
+ SELECT * FROM employees WHERE suspended = true
4463
+ Rendered dossier/reports/employee_with_custom_view.html.haml (3.3ms)
4464
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (65.8ms)
4465
+ Completed 200 OK in 77ms (Views: 74.7ms | ActiveRecord: 0.7ms)
4466
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:04:43 -0400
4467
+ Processing by Dossier::ReportsController#multi as HTML
4468
+ Parameters: {"report"=>"combination"}
4469
+ Rendered dossier/reports/combination/_options.html.haml (1.4ms)
4470
+ EmployeeReport (0.3ms)
4471
+ SELECT * FROM employees WHERE 1=1
4472
+ ORDER BY name ASC
4473
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.8ms)
4474
+ EmployeeWithCustomViewReport (0.4ms) 
4475
+ SELECT * FROM employees WHERE suspended = true
4476
+ Rendered dossier/reports/employee_with_custom_view.html.haml (2.5ms)
4477
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (12.0ms)
4478
+ Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.7ms)
4479
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:04:43 -0400
4480
+ Processing by Dossier::ReportsController#multi as HTML
4481
+ Parameters: {"report"=>"combination"}
4482
+ Rendered dossier/reports/combination/_options.html.haml (2.5ms)
4483
+ EmployeeReport (0.3ms)
4484
+ SELECT * FROM employees WHERE 1=1
4485
+ ORDER BY name ASC
4486
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.9ms)
4487
+ EmployeeWithCustomViewReport (0.3ms) 
4488
+ SELECT * FROM employees WHERE suspended = true
4489
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.9ms)
4490
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (12.8ms)
4491
+ Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 0.5ms)
4492
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:04:43 -0400
4493
+ Processing by Dossier::ReportsController#multi as CSV
4494
+ Parameters: {"report"=>"combination"}
4495
+ Completed 500 Internal Server Error in 1ms
4496
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:04:43 -0400
4497
+ Processing by Dossier::ReportsController#show as HTML
4498
+ Parameters: {"report"=>"cats/are/super_fun"}
4499
+ Cats::Are::SuperFunReport (0.1ms)
4500
+ select 'cats', 'are', 'super', 'fun'
4501
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (7.4ms)
4502
+ Completed 200 OK in 13ms (Views: 8.7ms | ActiveRecord: 0.1ms)
4503
+ EmployeeReport (0.3ms) 
4504
+ SELECT * FROM employees WHERE 1=1
4505
+ ORDER BY name ASC
4506
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:04:43 -0400
4507
+ Processing by Dossier::ReportsController#show as HTML
4508
+ Parameters: {"report"=>"employee_with_custom_client"}
4509
+ EmployeeWithCustomClientReport (0.6ms)
4510
+ SELECT * FROM `employees`
4511
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.3ms)
4512
+ Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.6ms)
4513
+ EmployeeReport (0.3ms) 
4514
+ SELECT * FROM employees WHERE 1=1
4515
+ ORDER BY name ASC
4516
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (11.2ms)
4517
+ EmployeeReport (0.4ms)
4518
+ SELECT * FROM employees WHERE 1=1
4519
+ ORDER BY name ASC
4520
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (6.6ms)
4521
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (6.0ms)
4522
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:04:43 -0400
4523
+ Processing by SiteController#report as HTML
4524
+ EmployeeReport (0.4ms) 
4525
+ SELECT * FROM employees WHERE 1=1
4526
+ ORDER BY name ASC
4527
+ Completed 200 OK in 9ms (Views: 5.2ms | ActiveRecord: 0.4ms)
4528
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:04:43 -0400
4529
+ Processing by Dossier::ReportsController#show as XLS
4530
+ Parameters: {"report"=>"employee"}
4531
+ EmployeeReport (0.3ms)
4532
+ SELECT * FROM employees WHERE 1=1
4533
+ ORDER BY name ASC
4534
+ Completed 200 OK in 106ms (ActiveRecord: 0.3ms)
4535
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:04:43 -0400
4536
+ Processing by Dossier::ReportsController#show as CSV
4537
+ Parameters: {"report"=>"employee"}
4538
+ EmployeeReport (0.4ms) 
4539
+ SELECT * FROM employees WHERE 1=1
4540
+ ORDER BY name ASC
4541
+ Completed 200 OK in 5ms (ActiveRecord: 0.4ms)
4542
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:04:43 -0400
4543
+ Processing by Dossier::ReportsController#show as HTML
4544
+ Parameters: {"report"=>"employee"}
4545
+ EmployeeReport (0.3ms)
4546
+ SELECT * FROM employees WHERE 1=1
4547
+ ORDER BY name ASC
4548
+ Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.3ms)
4549
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:04:43 -0400
4550
+ Processing by Dossier::ReportsController#show as HTML
4551
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
4552
+ EmployeeReport (0.4ms) 
4553
+ SELECT * FROM employees WHERE 1=1
4554
+ AND division in (('Tedious Toiling'))
4555
+ AND salary > 10000
4556
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
4557
+ ORDER BY name DESC
4558
+ Completed 200 OK in 12ms (Views: 9.1ms | ActiveRecord: 0.4ms)
4559
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:04:43 -0400
4560
+ Processing by Dossier::ReportsController#show as HTML
4561
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
4562
+ EmployeeReport (0.3ms)
4563
+ SELECT * FROM employees WHERE 1=1
4564
+ ORDER BY name ASC
4565
+ Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.3ms)
4566
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:04:43 -0400
4567
+ Processing by Dossier::ReportsController#show as HTML
4568
+ Parameters: {"report"=>"employee_with_custom_view"}
4569
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (4.9ms)
4570
+ EmployeeWithCustomViewReport (0.3ms) 
4571
+ SELECT * FROM employees WHERE suspended = true
4572
+ Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.2ms)
4573
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:04:43 -0400
4574
+ Processing by Dossier::ReportsController#show as HTML
4575
+ Parameters: {"report"=>"employee_with_custom_view"}
4576
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.3ms)
4577
+ EmployeeWithCustomViewReport (0.3ms)
4578
+ SELECT * FROM employees WHERE suspended = true
4579
+ Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.3ms)
4580
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:04:43 -0400
4581
+ Processing by Dossier::ReportsController#show as HTML
4582
+ Parameters: {"report"=>"employee"}
4583
+ EmployeeReport (0.3ms) 
4584
+ SELECT * FROM employees WHERE 1=1
4585
+ ORDER BY name ASC
4586
+ Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.3ms)
4587
+ FACTORY (0.2ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
4588
+ FACTORY (1.6ms) DROP TABLE IF EXISTS `employees`
4589
+ FACTORY (18.6ms)  CREATE TABLE `employees` (
4590
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
4591
+ `name` varchar(255) NOT NULL,
4592
+ `division` varchar(255) NOT NULL,
4593
+ `salary` int(11) NOT NULL,
4594
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
4595
+ `hired_on` date NOT NULL,
4596
+ PRIMARY KEY (`id`)
4597
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
4598
+ 
4599
+ FACTORY (4.0ms) TRUNCATE `employees`
4600
+ FACTORY (0.4ms)  INSERT INTO
4601
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4602
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
4603
+ 
4604
+ FACTORY (0.3ms) INSERT INTO
4605
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4606
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
4607
+
4608
+ FACTORY (0.4ms)  INSERT INTO
4609
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4610
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
4611
+ 
4612
+ FACTORY (1.6ms) DROP TABLE IF EXISTS `employees`
4613
+ FACTORY (0.9ms)  CREATE TABLE `employees` (
4614
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
4615
+ `name` TEXT NOT NULL,
4616
+ `division` TEXT NOT NULL,
4617
+ `salary` INTEGER NOT NULL,
4618
+ `suspended` TINYINT NOT NULL DEFAULT 0,
4619
+ `hired_on` DATE NOT NULL
4620
+ );
4621
+ 
4622
+ FACTORY (0.7ms) DELETE FROM `employees`
4623
+ FACTORY (0.8ms)  INSERT INTO
4624
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4625
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
4626
+ 
4627
+ FACTORY (1.0ms) INSERT INTO
4628
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4629
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
4630
+
4631
+ FACTORY (1.3ms)  INSERT INTO
4632
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4633
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
4634
+ 
4635
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:05:54 -0400
4636
+ Processing by Dossier::ReportsController#multi as CSV
4637
+ Parameters: {"report"=>"combination"}
4638
+ Completed 500 Internal Server Error in 4ms
4639
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:05:54 -0400
4640
+ Processing by Dossier::ReportsController#multi as HTML
4641
+ Parameters: {"report"=>"combination"}
4642
+ Rendered dossier/reports/combination/_options.html.haml (9.3ms)
4643
+ EmployeeReport (0.3ms)
4644
+ SELECT * FROM employees WHERE 1=1
4645
+ ORDER BY name ASC
4646
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (14.1ms)
4647
+ EmployeeWithCustomViewReport (0.4ms) 
4648
+ SELECT * FROM employees WHERE suspended = true
4649
+ Rendered dossier/reports/employee_with_custom_view.html.haml (4.4ms)
4650
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (62.7ms)
4651
+ Completed 200 OK in 72ms (Views: 70.3ms | ActiveRecord: 0.7ms)
4652
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:05:54 -0400
4653
+ Processing by Dossier::ReportsController#multi as HTML
4654
+ Parameters: {"report"=>"combination"}
4655
+ Rendered dossier/reports/combination/_options.html.haml (1.3ms)
4656
+ EmployeeReport (0.3ms)
4657
+ SELECT * FROM employees WHERE 1=1
4658
+ ORDER BY name ASC
4659
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (7.0ms)
4660
+ EmployeeWithCustomViewReport (0.3ms) 
4661
+ SELECT * FROM employees WHERE suspended = true
4662
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.7ms)
4663
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (11.7ms)
4664
+ Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.6ms)
4665
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:05:54 -0400
4666
+ Processing by Dossier::ReportsController#multi as HTML
4667
+ Parameters: {"report"=>"combination"}
4668
+ Rendered dossier/reports/combination/_options.html.haml (1.4ms)
4669
+ EmployeeReport (0.3ms)
4670
+ SELECT * FROM employees WHERE 1=1
4671
+ ORDER BY name ASC
4672
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.6ms)
4673
+ EmployeeWithCustomViewReport (0.3ms) 
4674
+ SELECT * FROM employees WHERE suspended = true
4675
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.7ms)
4676
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (10.4ms)
4677
+ Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.6ms)
4678
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:05:54 -0400
4679
+ Processing by Dossier::ReportsController#show as XLS
4680
+ Parameters: {"report"=>"employee"}
4681
+ EmployeeReport (0.3ms)
4682
+ SELECT * FROM employees WHERE 1=1
4683
+ ORDER BY name ASC
4684
+ Completed 200 OK in 49ms (ActiveRecord: 0.3ms)
4685
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:05:54 -0400
4686
+ Processing by Dossier::ReportsController#show as CSV
4687
+ Parameters: {"report"=>"employee"}
4688
+ EmployeeReport (0.3ms) 
4689
+ SELECT * FROM employees WHERE 1=1
4690
+ ORDER BY name ASC
4691
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
4692
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:05:54 -0400
4693
+ Processing by Dossier::ReportsController#show as HTML
4694
+ Parameters: {"report"=>"employee"}
4695
+ EmployeeReport (0.3ms)
4696
+ SELECT * FROM employees WHERE 1=1
4697
+ ORDER BY name ASC
4698
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (10.5ms)
4699
+ Completed 200 OK in 14ms (Views: 11.8ms | ActiveRecord: 0.3ms)
4700
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:05:54 -0400
4701
+ Processing by Dossier::ReportsController#show as HTML
4702
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
4703
+ EmployeeReport (0.3ms) 
4704
+ SELECT * FROM employees WHERE 1=1
4705
+ ORDER BY name ASC
4706
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (7.6ms)
4707
+ Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.3ms)
4708
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:05:54 -0400
4709
+ Processing by Dossier::ReportsController#show as HTML
4710
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
4711
+ EmployeeReport (0.3ms)
4712
+ SELECT * FROM employees WHERE 1=1
4713
+ AND division in (('Tedious Toiling'))
4714
+ AND salary > 10000
4715
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
4716
+ ORDER BY name DESC
4717
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.6ms)
4718
+ Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.3ms)
4719
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:05:54 -0400
4720
+ Processing by Dossier::ReportsController#show as HTML
4721
+ Parameters: {"report"=>"employee_with_custom_view"}
4722
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (6.7ms)
4723
+ EmployeeWithCustomViewReport (0.3ms) 
4724
+ SELECT * FROM employees WHERE suspended = true
4725
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (14.3ms)
4726
+ Completed 200 OK in 17ms (Views: 15.6ms | ActiveRecord: 0.3ms)
4727
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:05:54 -0400
4728
+ Processing by Dossier::ReportsController#show as HTML
4729
+ Parameters: {"report"=>"employee_with_custom_view"}
4730
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.9ms)
4731
+ EmployeeWithCustomViewReport (0.3ms)
4732
+ SELECT * FROM employees WHERE suspended = true
4733
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (8.8ms)
4734
+ Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.2ms)
4735
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:05:54 -0400
4736
+ Processing by Dossier::ReportsController#show as HTML
4737
+ Parameters: {"report"=>"employee"}
4738
+ EmployeeReport (0.3ms) 
4739
+ SELECT * FROM employees WHERE 1=1
4740
+ ORDER BY name ASC
4741
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.8ms)
4742
+ Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.3ms)
4743
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:05:55 -0400
4744
+ Processing by SiteController#report as HTML
4745
+ EmployeeReport (0.3ms)
4746
+ SELECT * FROM employees WHERE 1=1
4747
+ ORDER BY name ASC
4748
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (3.4ms)
4749
+ Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 0.3ms)
4750
+ EmployeeReport (0.3ms) 
4751
+ SELECT * FROM employees WHERE 1=1
4752
+ ORDER BY name ASC
4753
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (12.4ms)
4754
+ EmployeeReport (0.3ms)
4755
+ SELECT * FROM employees WHERE 1=1
4756
+ ORDER BY name ASC
4757
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (5.2ms)
4758
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:05:55 -0400
4759
+ Processing by Dossier::ReportsController#show as HTML
4760
+ Parameters: {"report"=>"employee_with_custom_client"}
4761
+ EmployeeWithCustomClientReport (0.2ms) 
4762
+ SELECT * FROM `employees`
4763
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (2.6ms)
4764
+ Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms)
4765
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.6ms)
4766
+ EmployeeReport (0.3ms)
4767
+ SELECT * FROM employees WHERE 1=1
4768
+ ORDER BY name ASC
4769
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:05:55 -0400
4770
+ Processing by Dossier::ReportsController#show as HTML
4771
+ Parameters: {"report"=>"cats/are/super_fun"}
4772
+ Cats::Are::SuperFunReport (0.1ms) 
4773
+ select 'cats', 'are', 'super', 'fun'
4774
+ Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.1ms)
4775
+ FACTORY (0.1ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
4776
+ FACTORY (2.1ms) DROP TABLE IF EXISTS `employees`
4777
+ FACTORY (24.5ms)  CREATE TABLE `employees` (
4778
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
4779
+ `name` varchar(255) NOT NULL,
4780
+ `division` varchar(255) NOT NULL,
4781
+ `salary` int(11) NOT NULL,
4782
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
4783
+ `hired_on` date NOT NULL,
4784
+ PRIMARY KEY (`id`)
4785
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
4786
+ 
4787
+ FACTORY (6.2ms) TRUNCATE `employees`
4788
+ FACTORY (0.3ms)  INSERT INTO
4789
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4790
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
4791
+ 
4792
+ FACTORY (0.5ms) INSERT INTO
4793
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4794
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
4795
+
4796
+ FACTORY (0.3ms)  INSERT INTO
4797
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4798
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
4799
+ 
4800
+ FACTORY (1.3ms) DROP TABLE IF EXISTS `employees`
4801
+ FACTORY (1.0ms)  CREATE TABLE `employees` (
4802
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
4803
+ `name` TEXT NOT NULL,
4804
+ `division` TEXT NOT NULL,
4805
+ `salary` INTEGER NOT NULL,
4806
+ `suspended` TINYINT NOT NULL DEFAULT 0,
4807
+ `hired_on` DATE NOT NULL
4808
+ );
4809
+ 
4810
+ FACTORY (0.6ms) DELETE FROM `employees`
4811
+ FACTORY (0.7ms)  INSERT INTO
4812
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4813
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
4814
+ 
4815
+ FACTORY (1.0ms) INSERT INTO
4816
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4817
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
4818
+
4819
+ FACTORY (0.9ms)  INSERT INTO
4820
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4821
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
4822
+ 
4823
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:06:07 -0400
4824
+ Processing by SiteController#report as HTML
4825
+ EmployeeReport (0.3ms)
4826
+ SELECT * FROM employees WHERE 1=1
4827
+ ORDER BY name ASC
4828
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (19.0ms)
4829
+ Completed 200 OK in 34ms (Views: 27.6ms | ActiveRecord: 0.3ms)
4830
+ EmployeeReport (0.3ms) 
4831
+ SELECT * FROM employees WHERE 1=1
4832
+ ORDER BY name ASC
4833
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (18.8ms)
4834
+ EmployeeReport (0.3ms)
4835
+ SELECT * FROM employees WHERE 1=1
4836
+ ORDER BY name ASC
4837
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (5.2ms)
4838
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:06:08 -0400
4839
+ Processing by Dossier::ReportsController#multi as HTML
4840
+ Parameters: {"report"=>"combination"}
4841
+ Rendered dossier/reports/combination/_options.html.haml (5.2ms)
4842
+ EmployeeReport (0.3ms) 
4843
+ SELECT * FROM employees WHERE 1=1
4844
+ ORDER BY name ASC
4845
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.1ms)
4846
+ EmployeeWithCustomViewReport (0.3ms)
4847
+ SELECT * FROM employees WHERE suspended = true
4848
+ Rendered dossier/reports/employee_with_custom_view.html.haml (3.5ms)
4849
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (21.6ms)
4850
+ Completed 200 OK in 27ms (Views: 23.6ms | ActiveRecord: 0.6ms)
4851
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:06:08 -0400
4852
+ Processing by Dossier::ReportsController#multi as HTML
4853
+ Parameters: {"report"=>"combination"}
4854
+ Rendered dossier/reports/combination/_options.html.haml (2.5ms)
4855
+ EmployeeReport (0.3ms) 
4856
+ SELECT * FROM employees WHERE 1=1
4857
+ ORDER BY name ASC
4858
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.5ms)
4859
+ EmployeeWithCustomViewReport (0.3ms)
4860
+ SELECT * FROM employees WHERE suspended = true
4861
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.7ms)
4862
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (11.5ms)
4863
+ Completed 200 OK in 14ms (Views: 11.7ms | ActiveRecord: 0.6ms)
4864
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:06:08 -0400
4865
+ Processing by Dossier::ReportsController#multi as HTML
4866
+ Parameters: {"report"=>"combination"}
4867
+ Rendered dossier/reports/combination/_options.html.haml (1.3ms)
4868
+ EmployeeReport (0.3ms) 
4869
+ SELECT * FROM employees WHERE 1=1
4870
+ ORDER BY name ASC
4871
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.8ms)
4872
+ EmployeeWithCustomViewReport (0.3ms)
4873
+ SELECT * FROM employees WHERE suspended = true
4874
+ Rendered dossier/reports/employee_with_custom_view.html.haml (2.0ms)
4875
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (11.0ms)
4876
+ Completed 200 OK in 14ms (Views: 11.6ms | ActiveRecord: 0.6ms)
4877
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:06:08 -0400
4878
+ Processing by Dossier::ReportsController#multi as CSV
4879
+ Parameters: {"report"=>"combination"}
4880
+ Completed 500 Internal Server Error in 1ms
4881
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:06:08 -0400
4882
+ Processing by Dossier::ReportsController#show as HTML
4883
+ Parameters: {"report"=>"cats/are/super_fun"}
4884
+ Cats::Are::SuperFunReport (0.2ms) 
4885
+ select 'cats', 'are', 'super', 'fun'
4886
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.8ms)
4887
+ Completed 200 OK in 11ms (Views: 6.3ms | ActiveRecord: 0.2ms)
4888
+ EmployeeReport (0.3ms)
4889
+ SELECT * FROM employees WHERE 1=1
4890
+ ORDER BY name ASC
4891
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:06:08 -0400
4892
+ Processing by Dossier::ReportsController#show as XLS
4893
+ Parameters: {"report"=>"employee"}
4894
+ EmployeeReport (0.3ms) 
4895
+ SELECT * FROM employees WHERE 1=1
4896
+ ORDER BY name ASC
4897
+ Completed 500 Internal Server Error in 5ms
4898
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:06:08 -0400
4899
+ Processing by Dossier::ReportsController#show as CSV
4900
+ Parameters: {"report"=>"employee"}
4901
+ EmployeeReport (0.3ms)
4902
+ SELECT * FROM employees WHERE 1=1
4903
+ ORDER BY name ASC
4904
+ Completed 500 Internal Server Error in 5ms
4905
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:06:08 -0400
4906
+ Processing by Dossier::ReportsController#show as HTML
4907
+ Parameters: {"report"=>"employee"}
4908
+ EmployeeReport (0.3ms) 
4909
+ SELECT * FROM employees WHERE 1=1
4910
+ ORDER BY name ASC
4911
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.7ms)
4912
+ Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 0.3ms)
4913
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:06:08 -0400
4914
+ Processing by Dossier::ReportsController#show as HTML
4915
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
4916
+ EmployeeReport (0.5ms)
4917
+ SELECT * FROM employees WHERE 1=1
4918
+ AND division in (('Tedious Toiling'))
4919
+ AND salary > 10000
4920
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
4921
+ ORDER BY name DESC
4922
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.6ms)
4923
+ Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.5ms)
4924
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:06:08 -0400
4925
+ Processing by Dossier::ReportsController#show as HTML
4926
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
4927
+ EmployeeReport (0.3ms) 
4928
+ SELECT * FROM employees WHERE 1=1
4929
+ ORDER BY name ASC
4930
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.6ms)
4931
+ Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.3ms)
4932
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:06:08 -0400
4933
+ Processing by Dossier::ReportsController#show as HTML
4934
+ Parameters: {"report"=>"employee_with_custom_view"}
4935
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (7.6ms)
4936
+ EmployeeWithCustomViewReport (0.3ms)
4937
+ SELECT * FROM employees WHERE suspended = true
4938
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (15.0ms)
4939
+ Completed 200 OK in 18ms (Views: 16.4ms | ActiveRecord: 0.3ms)
4940
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:06:08 -0400
4941
+ Processing by Dossier::ReportsController#show as HTML
4942
+ Parameters: {"report"=>"employee_with_custom_view"}
4943
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.7ms)
4944
+ EmployeeWithCustomViewReport (0.3ms) 
4945
+ SELECT * FROM employees WHERE suspended = true
4946
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (7.6ms)
4947
+ Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.3ms)
4948
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:06:08 -0400
4949
+ Processing by Dossier::ReportsController#show as HTML
4950
+ Parameters: {"report"=>"employee"}
4951
+ EmployeeReport (0.3ms)
4952
+ SELECT * FROM employees WHERE 1=1
4953
+ ORDER BY name ASC
4954
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.5ms)
4955
+ Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.3ms)
4956
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.8ms)
4957
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:06:08 -0400
4958
+ Processing by Dossier::ReportsController#show as HTML
4959
+ Parameters: {"report"=>"employee_with_custom_client"}
4960
+ EmployeeWithCustomClientReport (0.2ms) 
4961
+ SELECT * FROM `employees`
4962
+ Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms)
4963
+ FACTORY (0.1ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
4964
+ FACTORY (2.2ms) DROP TABLE IF EXISTS `employees`
4965
+ FACTORY (23.8ms)  CREATE TABLE `employees` (
4966
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
4967
+ `name` varchar(255) NOT NULL,
4968
+ `division` varchar(255) NOT NULL,
4969
+ `salary` int(11) NOT NULL,
4970
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
4971
+ `hired_on` date NOT NULL,
4972
+ PRIMARY KEY (`id`)
4973
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
4974
+ 
4975
+ FACTORY (4.5ms) TRUNCATE `employees`
4976
+ FACTORY (0.9ms)  INSERT INTO
4977
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4978
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
4979
+ 
4980
+ FACTORY (1.0ms) INSERT INTO
4981
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4982
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
4983
+
4984
+ FACTORY (0.7ms)  INSERT INTO
4985
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
4986
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
4987
+ 
4988
+ FACTORY (1.5ms) DROP TABLE IF EXISTS `employees`
4989
+ FACTORY (1.2ms)  CREATE TABLE `employees` (
4990
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
4991
+ `name` TEXT NOT NULL,
4992
+ `division` TEXT NOT NULL,
4993
+ `salary` INTEGER NOT NULL,
4994
+ `suspended` TINYINT NOT NULL DEFAULT 0,
4995
+ `hired_on` DATE NOT NULL
4996
+ );
4997
+ 
4998
+ FACTORY (1.0ms) DELETE FROM `employees`
4999
+ FACTORY (1.2ms)  INSERT INTO
5000
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5001
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
5002
+ 
5003
+ FACTORY (5.1ms) INSERT INTO
5004
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5005
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
5006
+
5007
+ FACTORY (4.0ms)  INSERT INTO
5008
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5009
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
5010
+ 
5011
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:06:22 -0400
5012
+ Processing by SiteController#report as HTML
5013
+ EmployeeReport (0.3ms)
5014
+ SELECT * FROM employees WHERE 1=1
5015
+ ORDER BY name ASC
5016
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (10.1ms)
5017
+ Completed 200 OK in 22ms (Views: 17.5ms | ActiveRecord: 0.3ms)
5018
+ EmployeeReport (0.3ms) 
5019
+ SELECT * FROM employees WHERE 1=1
5020
+ ORDER BY name ASC
5021
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (15.0ms)
5022
+ EmployeeReport (0.3ms)
5023
+ SELECT * FROM employees WHERE 1=1
5024
+ ORDER BY name ASC
5025
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (6.1ms)
5026
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:06:23 -0400
5027
+ Processing by Dossier::ReportsController#multi as HTML
5028
+ Parameters: {"report"=>"combination"}
5029
+ Rendered dossier/reports/combination/_options.html.haml (7.9ms)
5030
+ EmployeeReport (0.3ms) 
5031
+ SELECT * FROM employees WHERE 1=1
5032
+ ORDER BY name ASC
5033
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (42.0ms)
5034
+ EmployeeWithCustomViewReport (0.5ms)
5035
+ SELECT * FROM employees WHERE suspended = true
5036
+ Rendered dossier/reports/employee_with_custom_view.html.haml (4.5ms)
5037
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (62.7ms)
5038
+ Completed 200 OK in 69ms (Views: 66.6ms | ActiveRecord: 0.9ms)
5039
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:06:23 -0400
5040
+ Processing by Dossier::ReportsController#multi as HTML
5041
+ Parameters: {"report"=>"combination"}
5042
+ Rendered dossier/reports/combination/_options.html.haml (1.6ms)
5043
+ EmployeeReport (0.3ms) 
5044
+ SELECT * FROM employees WHERE 1=1
5045
+ ORDER BY name ASC
5046
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.4ms)
5047
+ EmployeeWithCustomViewReport (0.4ms)
5048
+ SELECT * FROM employees WHERE suspended = true
5049
+ Rendered dossier/reports/employee_with_custom_view.html.haml (2.0ms)
5050
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (10.8ms)
5051
+ Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.7ms)
5052
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:06:23 -0400
5053
+ Processing by Dossier::ReportsController#multi as HTML
5054
+ Parameters: {"report"=>"combination"}
5055
+ Rendered dossier/reports/combination/_options.html.haml (2.5ms)
5056
+ EmployeeReport (0.3ms) 
5057
+ SELECT * FROM employees WHERE 1=1
5058
+ ORDER BY name ASC
5059
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (8.7ms)
5060
+ EmployeeWithCustomViewReport (0.3ms)
5061
+ SELECT * FROM employees WHERE suspended = true
5062
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.9ms)
5063
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (15.6ms)
5064
+ Completed 200 OK in 18ms (Views: 16.1ms | ActiveRecord: 0.6ms)
5065
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:06:23 -0400
5066
+ Processing by Dossier::ReportsController#multi as CSV
5067
+ Parameters: {"report"=>"combination"}
5068
+ Completed 500 Internal Server Error in 1ms
5069
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (6.9ms)
5070
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:06:23 -0400
5071
+ Processing by Dossier::ReportsController#show as HTML
5072
+ Parameters: {"report"=>"employee"}
5073
+ EmployeeReport (0.3ms) 
5074
+ SELECT * FROM employees WHERE 1=1
5075
+ ORDER BY name ASC
5076
+ Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.3ms)
5077
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:06:23 -0400
5078
+ Processing by Dossier::ReportsController#show as HTML
5079
+ Parameters: {"report"=>"employee_with_custom_view"}
5080
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (5.4ms)
5081
+ EmployeeWithCustomViewReport (0.3ms)
5082
+ SELECT * FROM employees WHERE suspended = true
5083
+ Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.3ms)
5084
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:06:23 -0400
5085
+ Processing by Dossier::ReportsController#show as HTML
5086
+ Parameters: {"report"=>"employee_with_custom_view"}
5087
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.6ms)
5088
+ EmployeeWithCustomViewReport (0.3ms) 
5089
+ SELECT * FROM employees WHERE suspended = true
5090
+ Completed 200 OK in 13ms (Views: 10.3ms | ActiveRecord: 0.3ms)
5091
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:06:23 -0400
5092
+ Processing by Dossier::ReportsController#show as HTML
5093
+ Parameters: {"report"=>"employee"}
5094
+ EmployeeReport (0.3ms)
5095
+ SELECT * FROM employees WHERE 1=1
5096
+ ORDER BY name ASC
5097
+ Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.3ms)
5098
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:06:23 -0400
5099
+ Processing by Dossier::ReportsController#show as HTML
5100
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
5101
+ EmployeeReport (0.3ms) 
5102
+ SELECT * FROM employees WHERE 1=1
5103
+ ORDER BY name ASC
5104
+ Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.3ms)
5105
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:06:23 -0400
5106
+ Processing by Dossier::ReportsController#show as HTML
5107
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
5108
+ EmployeeReport (0.4ms)
5109
+ SELECT * FROM employees WHERE 1=1
5110
+ AND division in (('Tedious Toiling'))
5111
+ AND salary > 10000
5112
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
5113
+ ORDER BY name DESC
5114
+ Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.4ms)
5115
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:06:23 -0400
5116
+ Processing by Dossier::ReportsController#show as CSV
5117
+ Parameters: {"report"=>"employee"}
5118
+ EmployeeReport (0.5ms) 
5119
+ SELECT * FROM employees WHERE 1=1
5120
+ ORDER BY name ASC
5121
+ Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
5122
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:06:23 -0400
5123
+ Processing by Dossier::ReportsController#show as XLS
5124
+ Parameters: {"report"=>"employee"}
5125
+ EmployeeReport (0.4ms)
5126
+ SELECT * FROM employees WHERE 1=1
5127
+ ORDER BY name ASC
5128
+ Completed 200 OK in 4ms (ActiveRecord: 0.4ms)
5129
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:06:23 -0400
5130
+ Processing by Dossier::ReportsController#show as HTML
5131
+ Parameters: {"report"=>"cats/are/super_fun"}
5132
+ Cats::Are::SuperFunReport (0.1ms) 
5133
+ select 'cats', 'are', 'super', 'fun'
5134
+ Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.1ms)
5135
+ EmployeeReport (0.4ms)
5136
+ SELECT * FROM employees WHERE 1=1
5137
+ ORDER BY name ASC
5138
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:06:23 -0400
5139
+ Processing by Dossier::ReportsController#show as HTML
5140
+ Parameters: {"report"=>"employee_with_custom_client"}
5141
+ EmployeeWithCustomClientReport (0.3ms) 
5142
+ SELECT * FROM `employees`
5143
+ Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.3ms)
5144
+ FACTORY (0.2ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
5145
+ FACTORY (2.4ms) DROP TABLE IF EXISTS `employees`
5146
+ FACTORY (19.2ms)  CREATE TABLE `employees` (
5147
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
5148
+ `name` varchar(255) NOT NULL,
5149
+ `division` varchar(255) NOT NULL,
5150
+ `salary` int(11) NOT NULL,
5151
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
5152
+ `hired_on` date NOT NULL,
5153
+ PRIMARY KEY (`id`)
5154
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
5155
+ 
5156
+ FACTORY (3.4ms) TRUNCATE `employees`
5157
+ FACTORY (0.4ms)  INSERT INTO
5158
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5159
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
5160
+ 
5161
+ FACTORY (0.3ms) INSERT INTO
5162
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5163
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
5164
+
5165
+ FACTORY (0.3ms)  INSERT INTO
5166
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5167
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
5168
+ 
5169
+ FACTORY (1.3ms) DROP TABLE IF EXISTS `employees`
5170
+ FACTORY (0.9ms)  CREATE TABLE `employees` (
5171
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
5172
+ `name` TEXT NOT NULL,
5173
+ `division` TEXT NOT NULL,
5174
+ `salary` INTEGER NOT NULL,
5175
+ `suspended` TINYINT NOT NULL DEFAULT 0,
5176
+ `hired_on` DATE NOT NULL
5177
+ );
5178
+ 
5179
+ FACTORY (0.8ms) DELETE FROM `employees`
5180
+ FACTORY (1.0ms)  INSERT INTO
5181
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5182
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
5183
+ 
5184
+ FACTORY (1.0ms) INSERT INTO
5185
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5186
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
5187
+
5188
+ FACTORY (1.2ms)  INSERT INTO
5189
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5190
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
5191
+ 
5192
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:06:38 -0400
5193
+ Processing by Dossier::ReportsController#show as XLS
5194
+ Parameters: {"report"=>"employee"}
5195
+ EmployeeReport (0.3ms)
5196
+ SELECT * FROM employees WHERE 1=1
5197
+ ORDER BY name ASC
5198
+ Completed 200 OK in 129ms (ActiveRecord: 0.3ms)
5199
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:06:38 -0400
5200
+ Processing by Dossier::ReportsController#show as CSV
5201
+ Parameters: {"report"=>"employee"}
5202
+ EmployeeReport (0.3ms) 
5203
+ SELECT * FROM employees WHERE 1=1
5204
+ ORDER BY name ASC
5205
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
5206
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:06:38 -0400
5207
+ Processing by Dossier::ReportsController#show as HTML
5208
+ Parameters: {"report"=>"employee"}
5209
+ EmployeeReport (0.3ms)
5210
+ SELECT * FROM employees WHERE 1=1
5211
+ ORDER BY name ASC
5212
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (13.7ms)
5213
+ Completed 200 OK in 32ms (Views: 17.7ms | ActiveRecord: 0.3ms)
5214
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:06:38 -0400
5215
+ Processing by Dossier::ReportsController#show as HTML
5216
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
5217
+ EmployeeReport (0.3ms) 
5218
+ SELECT * FROM employees WHERE 1=1
5219
+ AND division in (('Tedious Toiling'))
5220
+ AND salary > 10000
5221
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
5222
+ ORDER BY name DESC
5223
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.4ms)
5224
+ Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.3ms)
5225
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:06:38 -0400
5226
+ Processing by Dossier::ReportsController#show as HTML
5227
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
5228
+ EmployeeReport (0.3ms)
5229
+ SELECT * FROM employees WHERE 1=1
5230
+ ORDER BY name ASC
5231
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.3ms)
5232
+ Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.3ms)
5233
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:06:38 -0400
5234
+ Processing by Dossier::ReportsController#show as HTML
5235
+ Parameters: {"report"=>"employee_with_custom_view"}
5236
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (7.3ms)
5237
+ EmployeeWithCustomViewReport (0.3ms) 
5238
+ SELECT * FROM employees WHERE suspended = true
5239
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (14.4ms)
5240
+ Completed 200 OK in 18ms (Views: 15.5ms | ActiveRecord: 0.3ms)
5241
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:06:38 -0400
5242
+ Processing by Dossier::ReportsController#show as HTML
5243
+ Parameters: {"report"=>"employee_with_custom_view"}
5244
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.4ms)
5245
+ EmployeeWithCustomViewReport (0.3ms)
5246
+ SELECT * FROM employees WHERE suspended = true
5247
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (7.1ms)
5248
+ Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.3ms)
5249
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:06:38 -0400
5250
+ Processing by Dossier::ReportsController#show as HTML
5251
+ Parameters: {"report"=>"employee"}
5252
+ EmployeeReport (0.4ms) 
5253
+ SELECT * FROM employees WHERE 1=1
5254
+ ORDER BY name ASC
5255
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (8.7ms)
5256
+ Completed 200 OK in 12ms (Views: 9.3ms | ActiveRecord: 0.4ms)
5257
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:06:38 -0400
5258
+ Processing by Dossier::ReportsController#multi as CSV
5259
+ Parameters: {"report"=>"combination"}
5260
+ Completed 500 Internal Server Error in 2ms
5261
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:06:38 -0400
5262
+ Processing by Dossier::ReportsController#multi as HTML
5263
+ Parameters: {"report"=>"combination"}
5264
+ Rendered dossier/reports/combination/_options.html.haml (4.2ms)
5265
+ EmployeeReport (0.4ms)
5266
+ SELECT * FROM employees WHERE 1=1
5267
+ ORDER BY name ASC
5268
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (10.0ms)
5269
+ EmployeeWithCustomViewReport (0.4ms) 
5270
+ SELECT * FROM employees WHERE suspended = true
5271
+ Rendered dossier/reports/employee_with_custom_view.html.haml (48.1ms)
5272
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (81.9ms)
5273
+ Completed 200 OK in 84ms (Views: 83.1ms | ActiveRecord: 0.8ms)
5274
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:06:38 -0400
5275
+ Processing by Dossier::ReportsController#multi as HTML
5276
+ Parameters: {"report"=>"combination"}
5277
+ Rendered dossier/reports/combination/_options.html.haml (1.4ms)
5278
+ EmployeeReport (0.4ms)
5279
+ SELECT * FROM employees WHERE 1=1
5280
+ ORDER BY name ASC
5281
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (7.6ms)
5282
+ EmployeeWithCustomViewReport (0.3ms) 
5283
+ SELECT * FROM employees WHERE suspended = true
5284
+ Rendered dossier/reports/employee_with_custom_view.html.haml (2.2ms)
5285
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (13.3ms)
5286
+ Completed 200 OK in 16ms (Views: 13.5ms | ActiveRecord: 0.7ms)
5287
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:06:38 -0400
5288
+ Processing by Dossier::ReportsController#multi as HTML
5289
+ Parameters: {"report"=>"combination"}
5290
+ Rendered dossier/reports/combination/_options.html.haml (1.5ms)
5291
+ EmployeeReport (0.3ms)
5292
+ SELECT * FROM employees WHERE 1=1
5293
+ ORDER BY name ASC
5294
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.4ms)
5295
+ EmployeeWithCustomViewReport (0.3ms) 
5296
+ SELECT * FROM employees WHERE suspended = true
5297
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.8ms)
5298
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (10.5ms)
5299
+ Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.6ms)
5300
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:06:38 -0400
5301
+ Processing by SiteController#report as HTML
5302
+ EmployeeReport (0.4ms)
5303
+ SELECT * FROM employees WHERE 1=1
5304
+ ORDER BY name ASC
5305
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (2.9ms)
5306
+ Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.4ms)
5307
+ EmployeeReport (0.3ms) 
5308
+ SELECT * FROM employees WHERE 1=1
5309
+ ORDER BY name ASC
5310
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (11.2ms)
5311
+ EmployeeReport (0.3ms)
5312
+ SELECT * FROM employees WHERE 1=1
5313
+ ORDER BY name ASC
5314
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (6.1ms)
5315
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:06:38 -0400
5316
+ Processing by Dossier::ReportsController#show as HTML
5317
+ Parameters: {"report"=>"cats/are/super_fun"}
5318
+ Cats::Are::SuperFunReport (0.2ms) 
5319
+ select 'cats', 'are', 'super', 'fun'
5320
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.1ms)
5321
+ Completed 200 OK in 12ms (Views: 5.8ms | ActiveRecord: 0.2ms)
5322
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:06:38 -0400
5323
+ Processing by Dossier::ReportsController#show as HTML
5324
+ Parameters: {"report"=>"employee_with_custom_client"}
5325
+ EmployeeWithCustomClientReport (0.3ms)
5326
+ SELECT * FROM `employees`
5327
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (3.9ms)
5328
+ Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.3ms)
5329
+ EmployeeReport (0.3ms) 
5330
+ SELECT * FROM employees WHERE 1=1
5331
+ ORDER BY name ASC
5332
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (4.4ms)
5333
+ FACTORY (0.1ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
5334
+ FACTORY (2.4ms) DROP TABLE IF EXISTS `employees`
5335
+ FACTORY (13.8ms)  CREATE TABLE `employees` (
5336
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
5337
+ `name` varchar(255) NOT NULL,
5338
+ `division` varchar(255) NOT NULL,
5339
+ `salary` int(11) NOT NULL,
5340
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
5341
+ `hired_on` date NOT NULL,
5342
+ PRIMARY KEY (`id`)
5343
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
5344
+ 
5345
+ FACTORY (3.5ms) TRUNCATE `employees`
5346
+ FACTORY (0.4ms)  INSERT INTO
5347
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5348
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
5349
+ 
5350
+ FACTORY (0.4ms) INSERT INTO
5351
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5352
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
5353
+
5354
+ FACTORY (0.3ms)  INSERT INTO
5355
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5356
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
5357
+ 
5358
+ FACTORY (1.6ms) DROP TABLE IF EXISTS `employees`
5359
+ FACTORY (1.0ms)  CREATE TABLE `employees` (
5360
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
5361
+ `name` TEXT NOT NULL,
5362
+ `division` TEXT NOT NULL,
5363
+ `salary` INTEGER NOT NULL,
5364
+ `suspended` TINYINT NOT NULL DEFAULT 0,
5365
+ `hired_on` DATE NOT NULL
5366
+ );
5367
+ 
5368
+ FACTORY (0.6ms) DELETE FROM `employees`
5369
+ FACTORY (0.7ms)  INSERT INTO
5370
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5371
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
5372
+ 
5373
+ FACTORY (0.8ms) INSERT INTO
5374
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5375
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
5376
+
5377
+ FACTORY (0.8ms)  INSERT INTO
5378
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5379
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
5380
+ 
5381
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:08:35 -0400
5382
+ Processing by Dossier::ReportsController#show as HTML
5383
+ Parameters: {"report"=>"employee_with_custom_client"}
5384
+ EmployeeWithCustomClientReport (1.1ms)
5385
+ SELECT * FROM `employees`
5386
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (10.3ms)
5387
+ Completed 200 OK in 26ms (Views: 13.1ms | ActiveRecord: 1.1ms)
5388
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:08:35 -0400
5389
+ Processing by Dossier::ReportsController#show as HTML
5390
+ Parameters: {"report"=>"cats/are/super_fun"}
5391
+ Cats::Are::SuperFunReport (0.1ms) 
5392
+ select 'cats', 'are', 'super', 'fun'
5393
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (4.7ms)
5394
+ Completed 200 OK in 10ms (Views: 5.3ms | ActiveRecord: 0.1ms)
5395
+ EmployeeReport (0.3ms)
5396
+ SELECT * FROM employees WHERE 1=1
5397
+ ORDER BY name ASC
5398
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (7.1ms)
5399
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:08:36 -0400
5400
+ Processing by Dossier::ReportsController#multi as CSV
5401
+ Parameters: {"report"=>"combination"}
5402
+ Completed 500 Internal Server Error in 1ms
5403
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:08:36 -0400
5404
+ Processing by Dossier::ReportsController#multi as HTML
5405
+ Parameters: {"report"=>"combination"}
5406
+ Rendered dossier/reports/combination/_options.html.haml (4.2ms)
5407
+ EmployeeReport (0.3ms) 
5408
+ SELECT * FROM employees WHERE 1=1
5409
+ ORDER BY name ASC
5410
+ EmployeeWithCustomViewReport (0.3ms)
5411
+ SELECT * FROM employees WHERE suspended = true
5412
+ Completed 200 OK in 36ms (Views: 35.3ms | ActiveRecord: 0.7ms)
5413
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:08:36 -0400
5414
+ Processing by Dossier::ReportsController#multi as HTML
5415
+ Parameters: {"report"=>"combination"}
5416
+ Rendered dossier/reports/combination/_options.html.haml (1.4ms)
5417
+ EmployeeReport (0.3ms) 
5418
+ SELECT * FROM employees WHERE 1=1
5419
+ ORDER BY name ASC
5420
+ EmployeeWithCustomViewReport (0.3ms)
5421
+ SELECT * FROM employees WHERE suspended = true
5422
+ Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.6ms)
5423
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:08:36 -0400
5424
+ Processing by Dossier::ReportsController#multi as HTML
5425
+ Parameters: {"report"=>"combination"}
5426
+ Rendered dossier/reports/combination/_options.html.haml (1.3ms)
5427
+ EmployeeReport (0.3ms) 
5428
+ SELECT * FROM employees WHERE 1=1
5429
+ ORDER BY name ASC
5430
+ EmployeeWithCustomViewReport (0.4ms)
5431
+ SELECT * FROM employees WHERE suspended = true
5432
+ Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 0.7ms)
5433
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:08:36 -0400
5434
+ Processing by Dossier::ReportsController#show as XLS
5435
+ Parameters: {"report"=>"employee"}
5436
+ EmployeeReport (0.3ms) 
5437
+ SELECT * FROM employees WHERE 1=1
5438
+ ORDER BY name ASC
5439
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
5440
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:08:36 -0400
5441
+ Processing by Dossier::ReportsController#show as CSV
5442
+ Parameters: {"report"=>"employee"}
5443
+ EmployeeReport (0.3ms)
5444
+ SELECT * FROM employees WHERE 1=1
5445
+ ORDER BY name ASC
5446
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
5447
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:08:36 -0400
5448
+ Processing by Dossier::ReportsController#show as HTML
5449
+ Parameters: {"report"=>"employee"}
5450
+ EmployeeReport (0.3ms) 
5451
+ SELECT * FROM employees WHERE 1=1
5452
+ ORDER BY name ASC
5453
+ Completed 200 OK in 10ms (Views: 6.7ms | ActiveRecord: 0.3ms)
5454
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:08:36 -0400
5455
+ Processing by Dossier::ReportsController#show as HTML
5456
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
5457
+ EmployeeReport (0.3ms)
5458
+ SELECT * FROM employees WHERE 1=1
5459
+ AND division in (('Tedious Toiling'))
5460
+ AND salary > 10000
5461
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
5462
+ ORDER BY name DESC
5463
+ Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)
5464
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:08:36 -0400
5465
+ Processing by Dossier::ReportsController#show as HTML
5466
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
5467
+ EmployeeReport (0.3ms) 
5468
+ SELECT * FROM employees WHERE 1=1
5469
+ ORDER BY name ASC
5470
+ Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.3ms)
5471
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:08:36 -0400
5472
+ Processing by Dossier::ReportsController#show as HTML
5473
+ Parameters: {"report"=>"employee_with_custom_view"}
5474
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.6ms)
5475
+ EmployeeWithCustomViewReport (0.3ms)
5476
+ SELECT * FROM employees WHERE suspended = true
5477
+ Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.3ms)
5478
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:08:36 -0400
5479
+ Processing by Dossier::ReportsController#show as HTML
5480
+ Parameters: {"report"=>"employee_with_custom_view"}
5481
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.3ms)
5482
+ EmployeeWithCustomViewReport (0.5ms) 
5483
+ SELECT * FROM employees WHERE suspended = true
5484
+ Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.5ms)
5485
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:08:36 -0400
5486
+ Processing by Dossier::ReportsController#show as HTML
5487
+ Parameters: {"report"=>"employee"}
5488
+ EmployeeReport (0.3ms)
5489
+ SELECT * FROM employees WHERE 1=1
5490
+ ORDER BY name ASC
5491
+ Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.3ms)
5492
+ EmployeeReport (0.3ms) 
5493
+ SELECT * FROM employees WHERE 1=1
5494
+ ORDER BY name ASC
5495
+ EmployeeReport (0.3ms)
5496
+ SELECT * FROM employees WHERE 1=1
5497
+ ORDER BY name ASC
5498
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:08:36 -0400
5499
+ Processing by SiteController#report as HTML
5500
+ EmployeeReport (0.3ms) 
5501
+ SELECT * FROM employees WHERE 1=1
5502
+ ORDER BY name ASC
5503
+ Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 0.3ms)
5504
+ FACTORY (0.1ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
5505
+ FACTORY (2.3ms) DROP TABLE IF EXISTS `employees`
5506
+ FACTORY (25.4ms)  CREATE TABLE `employees` (
5507
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
5508
+ `name` varchar(255) NOT NULL,
5509
+ `division` varchar(255) NOT NULL,
5510
+ `salary` int(11) NOT NULL,
5511
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
5512
+ `hired_on` date NOT NULL,
5513
+ PRIMARY KEY (`id`)
5514
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
5515
+ 
5516
+ FACTORY (3.5ms) TRUNCATE `employees`
5517
+ FACTORY (0.3ms)  INSERT INTO
5518
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5519
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
5520
+ 
5521
+ FACTORY (0.4ms) INSERT INTO
5522
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5523
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
5524
+
5525
+ FACTORY (0.4ms)  INSERT INTO
5526
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5527
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
5528
+ 
5529
+ FACTORY (1.5ms) DROP TABLE IF EXISTS `employees`
5530
+ FACTORY (0.9ms)  CREATE TABLE `employees` (
5531
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
5532
+ `name` TEXT NOT NULL,
5533
+ `division` TEXT NOT NULL,
5534
+ `salary` INTEGER NOT NULL,
5535
+ `suspended` TINYINT NOT NULL DEFAULT 0,
5536
+ `hired_on` DATE NOT NULL
5537
+ );
5538
+ 
5539
+ FACTORY (0.8ms) DELETE FROM `employees`
5540
+ FACTORY (0.8ms)  INSERT INTO
5541
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5542
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
5543
+ 
5544
+ FACTORY (0.8ms) INSERT INTO
5545
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5546
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
5547
+
5548
+ FACTORY (0.8ms)  INSERT INTO
5549
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5550
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
5551
+ 
5552
+ EmployeeReport (0.3ms)
5553
+ SELECT * FROM employees WHERE 1=1
5554
+ ORDER BY name ASC
5555
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (19.4ms)
5556
+ EmployeeReport (0.3ms) 
5557
+ SELECT * FROM employees WHERE 1=1
5558
+ ORDER BY name ASC
5559
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (5.3ms)
5560
+ EmployeeReport (0.3ms)
5561
+ SELECT * FROM employees WHERE 1=1
5562
+ ORDER BY name ASC
5563
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:10:53 -0400
5564
+ Processing by Dossier::ReportsController#show as XLS
5565
+ Parameters: {"report"=>"employee"}
5566
+ EmployeeReport (0.3ms) 
5567
+ SELECT * FROM employees WHERE 1=1
5568
+ ORDER BY name ASC
5569
+ Completed 200 OK in 8ms (ActiveRecord: 0.3ms)
5570
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:10:53 -0400
5571
+ Processing by Dossier::ReportsController#show as HTML
5572
+ Parameters: {"report"=>"employee"}
5573
+ EmployeeReport (0.4ms)
5574
+ SELECT * FROM employees WHERE 1=1
5575
+ ORDER BY name ASC
5576
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (10.7ms)
5577
+ Completed 200 OK in 17ms (Views: 14.2ms | ActiveRecord: 0.4ms)
5578
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:10:53 -0400
5579
+ Processing by Dossier::ReportsController#show as HTML
5580
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
5581
+ EmployeeReport (0.3ms) 
5582
+ SELECT * FROM employees WHERE 1=1
5583
+ ORDER BY name ASC
5584
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.6ms)
5585
+ Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.3ms)
5586
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:10:53 -0400
5587
+ Processing by Dossier::ReportsController#show as HTML
5588
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
5589
+ EmployeeReport (0.4ms)
5590
+ SELECT * FROM employees WHERE 1=1
5591
+ AND division in (('Tedious Toiling'))
5592
+ AND salary > 10000
5593
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
5594
+ ORDER BY name DESC
5595
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (7.9ms)
5596
+ Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.4ms)
5597
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:10:53 -0400
5598
+ Processing by Dossier::ReportsController#show as HTML
5599
+ Parameters: {"report"=>"employee"}
5600
+ EmployeeReport (0.3ms) 
5601
+ SELECT * FROM employees WHERE 1=1
5602
+ ORDER BY name ASC
5603
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (7.2ms)
5604
+ Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.3ms)
5605
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:10:53 -0400
5606
+ Processing by Dossier::ReportsController#show as HTML
5607
+ Parameters: {"report"=>"employee_with_custom_view"}
5608
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (5.8ms)
5609
+ EmployeeWithCustomViewReport (0.3ms)
5610
+ SELECT * FROM employees WHERE suspended = true
5611
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (12.1ms)
5612
+ Completed 200 OK in 15ms (Views: 13.2ms | ActiveRecord: 0.3ms)
5613
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:10:53 -0400
5614
+ Processing by Dossier::ReportsController#show as HTML
5615
+ Parameters: {"report"=>"employee_with_custom_view"}
5616
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.1ms)
5617
+ EmployeeWithCustomViewReport (0.2ms) 
5618
+ SELECT * FROM employees WHERE suspended = true
5619
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (6.4ms)
5620
+ Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.2ms)
5621
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:10:53 -0400
5622
+ Processing by Dossier::ReportsController#show as CSV
5623
+ Parameters: {"report"=>"employee"}
5624
+ EmployeeReport (0.3ms)
5625
+ SELECT * FROM employees WHERE 1=1
5626
+ ORDER BY name ASC
5627
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
5628
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.8ms)
5629
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:10:53 -0400
5630
+ Processing by Dossier::ReportsController#show as HTML
5631
+ Parameters: {"report"=>"employee_with_custom_client"}
5632
+ EmployeeWithCustomClientReport (0.3ms) 
5633
+ SELECT * FROM `employees`
5634
+ Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.3ms)
5635
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:10:53 -0400
5636
+ Processing by Dossier::ReportsController#multi as CSV
5637
+ Parameters: {"report"=>"combination"}
5638
+ Completed 500 Internal Server Error in 1ms
5639
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:10:53 -0400
5640
+ Processing by Dossier::ReportsController#multi as HTML
5641
+ Parameters: {"report"=>"combination"}
5642
+ Rendered dossier/reports/combination/_options.html.haml (5.0ms)
5643
+ EmployeeReport (1.3ms)
5644
+ SELECT * FROM employees WHERE 1=1
5645
+ ORDER BY name ASC
5646
+ EmployeeWithCustomViewReport (0.4ms) 
5647
+ SELECT * FROM employees WHERE suspended = true
5648
+ Completed 200 OK in 32ms (Views: 29.4ms | ActiveRecord: 1.7ms)
5649
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:10:54 -0400
5650
+ Processing by Dossier::ReportsController#multi as HTML
5651
+ Parameters: {"report"=>"combination"}
5652
+ Rendered dossier/reports/combination/_options.html.haml (1.6ms)
5653
+ EmployeeReport (0.3ms)
5654
+ SELECT * FROM employees WHERE 1=1
5655
+ ORDER BY name ASC
5656
+ EmployeeWithCustomViewReport (0.6ms) 
5657
+ SELECT * FROM employees WHERE suspended = true
5658
+ Completed 200 OK in 14ms (Views: 11.7ms | ActiveRecord: 0.9ms)
5659
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:10:54 -0400
5660
+ Processing by Dossier::ReportsController#multi as HTML
5661
+ Parameters: {"report"=>"combination"}
5662
+ Rendered dossier/reports/combination/_options.html.haml (1.3ms)
5663
+ EmployeeReport (0.3ms)
5664
+ SELECT * FROM employees WHERE 1=1
5665
+ ORDER BY name ASC
5666
+ EmployeeWithCustomViewReport (0.4ms) 
5667
+ SELECT * FROM employees WHERE suspended = true
5668
+ Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.7ms)
5669
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:10:54 -0400
5670
+ Processing by Dossier::ReportsController#show as HTML
5671
+ Parameters: {"report"=>"cats/are/super_fun"}
5672
+ Cats::Are::SuperFunReport (0.2ms)
5673
+ select 'cats', 'are', 'super', 'fun'
5674
+ Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.2ms)
5675
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:10:54 -0400
5676
+ Processing by SiteController#report as HTML
5677
+ EmployeeReport (0.3ms) 
5678
+ SELECT * FROM employees WHERE 1=1
5679
+ ORDER BY name ASC
5680
+ Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 0.3ms)
5681
+ FACTORY (0.2ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
5682
+ FACTORY (2.3ms) DROP TABLE IF EXISTS `employees`
5683
+ FACTORY (23.2ms)  CREATE TABLE `employees` (
5684
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
5685
+ `name` varchar(255) NOT NULL,
5686
+ `division` varchar(255) NOT NULL,
5687
+ `salary` int(11) NOT NULL,
5688
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
5689
+ `hired_on` date NOT NULL,
5690
+ PRIMARY KEY (`id`)
5691
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
5692
+ 
5693
+ FACTORY (3.3ms) TRUNCATE `employees`
5694
+ FACTORY (0.4ms)  INSERT INTO
5695
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5696
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
5697
+ 
5698
+ FACTORY (0.3ms) INSERT INTO
5699
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5700
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
5701
+
5702
+ FACTORY (0.5ms)  INSERT INTO
5703
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5704
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
5705
+ 
5706
+ FACTORY (1.6ms) DROP TABLE IF EXISTS `employees`
5707
+ FACTORY (0.9ms)  CREATE TABLE `employees` (
5708
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
5709
+ `name` TEXT NOT NULL,
5710
+ `division` TEXT NOT NULL,
5711
+ `salary` INTEGER NOT NULL,
5712
+ `suspended` TINYINT NOT NULL DEFAULT 0,
5713
+ `hired_on` DATE NOT NULL
5714
+ );
5715
+ 
5716
+ FACTORY (0.8ms) DELETE FROM `employees`
5717
+ FACTORY (0.8ms)  INSERT INTO
5718
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5719
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
5720
+ 
5721
+ FACTORY (0.8ms) INSERT INTO
5722
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5723
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
5724
+
5725
+ FACTORY (0.9ms)  INSERT INTO
5726
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5727
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
5728
+ 
5729
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:11:18 -0400
5730
+ Processing by Dossier::ReportsController#show as HTML
5731
+ Parameters: {"report"=>"employee"}
5732
+ EmployeeReport (0.3ms)
5733
+ SELECT * FROM employees WHERE 1=1
5734
+ ORDER BY name ASC
5735
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (17.0ms)
5736
+ Completed 200 OK in 31ms (Views: 22.2ms | ActiveRecord: 0.3ms)
5737
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:11:18 -0400
5738
+ Processing by Dossier::ReportsController#show as HTML
5739
+ Parameters: {"report"=>"employee_with_custom_view"}
5740
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (6.5ms)
5741
+ EmployeeWithCustomViewReport (0.3ms) 
5742
+ SELECT * FROM employees WHERE suspended = true
5743
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (13.2ms)
5744
+ Completed 200 OK in 17ms (Views: 14.8ms | ActiveRecord: 0.3ms)
5745
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:11:18 -0400
5746
+ Processing by Dossier::ReportsController#show as HTML
5747
+ Parameters: {"report"=>"employee_with_custom_view"}
5748
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.1ms)
5749
+ EmployeeWithCustomViewReport (0.3ms)
5750
+ SELECT * FROM employees WHERE suspended = true
5751
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (6.5ms)
5752
+ Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.3ms)
5753
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:11:18 -0400
5754
+ Processing by Dossier::ReportsController#show as HTML
5755
+ Parameters: {"report"=>"employee"}
5756
+ EmployeeReport (0.3ms) 
5757
+ SELECT * FROM employees WHERE 1=1
5758
+ ORDER BY name ASC
5759
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.7ms)
5760
+ Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.3ms)
5761
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:11:18 -0400
5762
+ Processing by Dossier::ReportsController#show as HTML
5763
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
5764
+ EmployeeReport (0.3ms)
5765
+ SELECT * FROM employees WHERE 1=1
5766
+ AND division in (('Tedious Toiling'))
5767
+ AND salary > 10000
5768
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
5769
+ ORDER BY name DESC
5770
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (7.7ms)
5771
+ Completed 200 OK in 11ms (Views: 8.2ms | ActiveRecord: 0.3ms)
5772
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:11:18 -0400
5773
+ Processing by Dossier::ReportsController#show as HTML
5774
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
5775
+ EmployeeReport (0.3ms) 
5776
+ SELECT * FROM employees WHERE 1=1
5777
+ ORDER BY name ASC
5778
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.6ms)
5779
+ Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.3ms)
5780
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:11:18 -0400
5781
+ Processing by Dossier::ReportsController#show as CSV
5782
+ Parameters: {"report"=>"employee"}
5783
+ EmployeeReport (0.4ms)
5784
+ SELECT * FROM employees WHERE 1=1
5785
+ ORDER BY name ASC
5786
+ Completed 200 OK in 126ms (ActiveRecord: 0.4ms)
5787
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:11:18 -0400
5788
+ Processing by Dossier::ReportsController#show as XLS
5789
+ Parameters: {"report"=>"employee"}
5790
+ EmployeeReport (0.3ms) 
5791
+ SELECT * FROM employees WHERE 1=1
5792
+ ORDER BY name ASC
5793
+ Completed 200 OK in 7ms (ActiveRecord: 0.3ms)
5794
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (8.3ms)
5795
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:11:18 -0400
5796
+ Processing by Dossier::ReportsController#show as HTML
5797
+ Parameters: {"report"=>"employee_with_custom_client"}
5798
+ EmployeeWithCustomClientReport (0.4ms)
5799
+ SELECT * FROM `employees`
5800
+ Completed 200 OK in 20ms (Views: 13.0ms | ActiveRecord: 0.4ms)
5801
+ EmployeeReport (0.4ms) 
5802
+ SELECT * FROM employees WHERE 1=1
5803
+ ORDER BY name ASC
5804
+ EmployeeReport (0.3ms)
5805
+ SELECT * FROM employees WHERE 1=1
5806
+ ORDER BY name ASC
5807
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:11:19 -0400
5808
+ Processing by Dossier::ReportsController#multi as HTML
5809
+ Parameters: {"report"=>"combination"}
5810
+ Rendered dossier/reports/combination/_options.html.haml (4.9ms)
5811
+ EmployeeReport (0.4ms) 
5812
+ SELECT * FROM employees WHERE 1=1
5813
+ ORDER BY name ASC
5814
+ EmployeeWithCustomViewReport (0.3ms)
5815
+ SELECT * FROM employees WHERE suspended = true
5816
+ Completed 200 OK in 28ms (Views: 26.4ms | ActiveRecord: 0.7ms)
5817
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:11:19 -0400
5818
+ Processing by Dossier::ReportsController#multi as HTML
5819
+ Parameters: {"report"=>"combination"}
5820
+ Rendered dossier/reports/combination/_options.html.haml (1.3ms)
5821
+ EmployeeReport (0.3ms) 
5822
+ SELECT * FROM employees WHERE 1=1
5823
+ ORDER BY name ASC
5824
+ EmployeeWithCustomViewReport (0.3ms)
5825
+ SELECT * FROM employees WHERE suspended = true
5826
+ Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 0.7ms)
5827
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:11:19 -0400
5828
+ Processing by Dossier::ReportsController#multi as CSV
5829
+ Parameters: {"report"=>"combination"}
5830
+ Completed 500 Internal Server Error in 2ms
5831
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:11:19 -0400
5832
+ Processing by Dossier::ReportsController#multi as HTML
5833
+ Parameters: {"report"=>"combination"}
5834
+ Rendered dossier/reports/combination/_options.html.haml (1.4ms)
5835
+ EmployeeReport (0.4ms) 
5836
+ SELECT * FROM employees WHERE 1=1
5837
+ ORDER BY name ASC
5838
+ EmployeeWithCustomViewReport (0.3ms)
5839
+ SELECT * FROM employees WHERE suspended = true
5840
+ Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.6ms)
5841
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:11:19 -0400
5842
+ Processing by Dossier::ReportsController#show as HTML
5843
+ Parameters: {"report"=>"cats/are/super_fun"}
5844
+ Cats::Are::SuperFunReport (0.1ms) 
5845
+ select 'cats', 'are', 'super', 'fun'
5846
+ Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.1ms)
5847
+ EmployeeReport (0.3ms)
5848
+ SELECT * FROM employees WHERE 1=1
5849
+ ORDER BY name ASC
5850
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:11:19 -0400
5851
+ Processing by SiteController#report as HTML
5852
+ EmployeeReport (0.6ms) 
5853
+ SELECT * FROM employees WHERE 1=1
5854
+ ORDER BY name ASC
5855
+ Completed 200 OK in 12ms (Views: 7.2ms | ActiveRecord: 0.6ms)
5856
+ FACTORY (0.1ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
5857
+ FACTORY (2.3ms) DROP TABLE IF EXISTS `employees`
5858
+ FACTORY (11.9ms)  CREATE TABLE `employees` (
5859
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
5860
+ `name` varchar(255) NOT NULL,
5861
+ `division` varchar(255) NOT NULL,
5862
+ `salary` int(11) NOT NULL,
5863
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
5864
+ `hired_on` date NOT NULL,
5865
+ PRIMARY KEY (`id`)
5866
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
5867
+ 
5868
+ FACTORY (3.2ms) TRUNCATE `employees`
5869
+ FACTORY (0.6ms)  INSERT INTO
5870
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5871
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
5872
+ 
5873
+ FACTORY (0.4ms) INSERT INTO
5874
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5875
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
5876
+
5877
+ FACTORY (0.6ms)  INSERT INTO
5878
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5879
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
5880
+ 
5881
+ FACTORY (1.4ms) DROP TABLE IF EXISTS `employees`
5882
+ FACTORY (1.0ms)  CREATE TABLE `employees` (
5883
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
5884
+ `name` TEXT NOT NULL,
5885
+ `division` TEXT NOT NULL,
5886
+ `salary` INTEGER NOT NULL,
5887
+ `suspended` TINYINT NOT NULL DEFAULT 0,
5888
+ `hired_on` DATE NOT NULL
5889
+ );
5890
+ 
5891
+ FACTORY (0.7ms) DELETE FROM `employees`
5892
+ FACTORY (1.0ms)  INSERT INTO
5893
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5894
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
5895
+ 
5896
+ FACTORY (1.1ms) INSERT INTO
5897
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5898
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
5899
+
5900
+ FACTORY (1.2ms)  INSERT INTO
5901
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
5902
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
5903
+ 
5904
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:12:05 -0400
5905
+ Processing by Dossier::ReportsController#show as HTML
5906
+ Parameters: {"report"=>"cats/are/super_fun"}
5907
+ Cats::Are::SuperFunReport (0.1ms)
5908
+ select 'cats', 'are', 'super', 'fun'
5909
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (13.1ms)
5910
+ Completed 200 OK in 29ms (Views: 17.5ms | ActiveRecord: 0.1ms)
5911
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (39.9ms)
5912
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:12:06 -0400
5913
+ Processing by Dossier::ReportsController#multi as HTML
5914
+ Parameters: {"report"=>"combination"}
5915
+ Rendered dossier/reports/combination/_options.html.haml (4.2ms)
5916
+ EmployeeReport (0.4ms) 
5917
+ SELECT * FROM employees WHERE 1=1
5918
+ ORDER BY name ASC
5919
+ EmployeeWithCustomViewReport (0.3ms)
5920
+ SELECT * FROM employees WHERE suspended = true
5921
+ Completed 200 OK in 39ms (Views: 37.9ms | ActiveRecord: 0.7ms)
5922
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:12:06 -0400
5923
+ Processing by Dossier::ReportsController#multi as HTML
5924
+ Parameters: {"report"=>"combination"}
5925
+ Rendered dossier/reports/combination/_options.html.haml (1.5ms)
5926
+ EmployeeReport (0.3ms) 
5927
+ SELECT * FROM employees WHERE 1=1
5928
+ ORDER BY name ASC
5929
+ EmployeeWithCustomViewReport (0.3ms)
5930
+ SELECT * FROM employees WHERE suspended = true
5931
+ Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.6ms)
5932
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:12:06 -0400
5933
+ Processing by Dossier::ReportsController#multi as HTML
5934
+ Parameters: {"report"=>"combination"}
5935
+ Rendered dossier/reports/combination/_options.html.haml (1.3ms)
5936
+ EmployeeReport (0.3ms) 
5937
+ SELECT * FROM employees WHERE 1=1
5938
+ ORDER BY name ASC
5939
+ EmployeeWithCustomViewReport (0.4ms)
5940
+ SELECT * FROM employees WHERE suspended = true
5941
+ Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.7ms)
5942
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:12:06 -0400
5943
+ Processing by Dossier::ReportsController#multi as CSV
5944
+ Parameters: {"report"=>"combination"}
5945
+ Completed 500 Internal Server Error in 1ms
5946
+ EmployeeReport (0.3ms) 
5947
+ SELECT * FROM employees WHERE 1=1
5948
+ ORDER BY name ASC
5949
+ EmployeeReport (0.3ms)
5950
+ SELECT * FROM employees WHERE 1=1
5951
+ ORDER BY name ASC
5952
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:12:06 -0400
5953
+ Processing by Dossier::ReportsController#show as HTML
5954
+ Parameters: {"report"=>"employee_with_custom_client"}
5955
+ EmployeeWithCustomClientReport (0.2ms) 
5956
+ SELECT * FROM `employees`
5957
+ Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.2ms)
5958
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:12:06 -0400
5959
+ Processing by Dossier::ReportsController#show as HTML
5960
+ Parameters: {"report"=>"employee"}
5961
+ EmployeeReport (0.3ms)
5962
+ SELECT * FROM employees WHERE 1=1
5963
+ ORDER BY name ASC
5964
+ Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.3ms)
5965
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:12:06 -0400
5966
+ Processing by Dossier::ReportsController#show as HTML
5967
+ Parameters: {"report"=>"employee"}
5968
+ EmployeeReport (0.3ms) 
5969
+ SELECT * FROM employees WHERE 1=1
5970
+ ORDER BY name ASC
5971
+ Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.3ms)
5972
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:12:06 -0400
5973
+ Processing by Dossier::ReportsController#show as HTML
5974
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
5975
+ EmployeeReport (0.3ms)
5976
+ SELECT * FROM employees WHERE 1=1
5977
+ AND division in (('Tedious Toiling'))
5978
+ AND salary > 10000
5979
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
5980
+ ORDER BY name DESC
5981
+ Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.3ms)
5982
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:12:06 -0400
5983
+ Processing by Dossier::ReportsController#show as HTML
5984
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
5985
+ EmployeeReport (0.4ms) 
5986
+ SELECT * FROM employees WHERE 1=1
5987
+ ORDER BY name ASC
5988
+ Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.4ms)
5989
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:12:06 -0400
5990
+ Processing by Dossier::ReportsController#show as HTML
5991
+ Parameters: {"report"=>"employee_with_custom_view"}
5992
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.5ms)
5993
+ EmployeeWithCustomViewReport (0.5ms)
5994
+ SELECT * FROM employees WHERE suspended = true
5995
+ Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.5ms)
5996
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:12:06 -0400
5997
+ Processing by Dossier::ReportsController#show as HTML
5998
+ Parameters: {"report"=>"employee_with_custom_view"}
5999
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.1ms)
6000
+ EmployeeWithCustomViewReport (0.3ms) 
6001
+ SELECT * FROM employees WHERE suspended = true
6002
+ Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.3ms)
6003
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:12:06 -0400
6004
+ Processing by Dossier::ReportsController#show as XLS
6005
+ Parameters: {"report"=>"employee"}
6006
+ EmployeeReport (0.3ms)
6007
+ SELECT * FROM employees WHERE 1=1
6008
+ ORDER BY name ASC
6009
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
6010
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:12:06 -0400
6011
+ Processing by Dossier::ReportsController#show as CSV
6012
+ Parameters: {"report"=>"employee"}
6013
+ EmployeeReport (0.3ms) 
6014
+ SELECT * FROM employees WHERE 1=1
6015
+ ORDER BY name ASC
6016
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
6017
+ EmployeeReport (0.3ms)
6018
+ SELECT * FROM employees WHERE 1=1
6019
+ ORDER BY name ASC
6020
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:12:06 -0400
6021
+ Processing by SiteController#report as HTML
6022
+ EmployeeReport (0.3ms) 
6023
+ SELECT * FROM employees WHERE 1=1
6024
+ ORDER BY name ASC
6025
+ Completed 200 OK in 9ms (Views: 4.3ms | ActiveRecord: 0.3ms)
6026
+ FACTORY (0.1ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
6027
+ FACTORY (2.1ms) DROP TABLE IF EXISTS `employees`
6028
+ FACTORY (16.3ms)  CREATE TABLE `employees` (
6029
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
6030
+ `name` varchar(255) NOT NULL,
6031
+ `division` varchar(255) NOT NULL,
6032
+ `salary` int(11) NOT NULL,
6033
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
6034
+ `hired_on` date NOT NULL,
6035
+ PRIMARY KEY (`id`)
6036
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
6037
+ 
6038
+ FACTORY (3.6ms) TRUNCATE `employees`
6039
+ FACTORY (0.5ms)  INSERT INTO
6040
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6041
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
6042
+ 
6043
+ FACTORY (0.4ms) INSERT INTO
6044
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6045
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
6046
+
6047
+ FACTORY (0.4ms)  INSERT INTO
6048
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6049
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
6050
+ 
6051
+ FACTORY (1.5ms) DROP TABLE IF EXISTS `employees`
6052
+ FACTORY (1.0ms)  CREATE TABLE `employees` (
6053
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
6054
+ `name` TEXT NOT NULL,
6055
+ `division` TEXT NOT NULL,
6056
+ `salary` INTEGER NOT NULL,
6057
+ `suspended` TINYINT NOT NULL DEFAULT 0,
6058
+ `hired_on` DATE NOT NULL
6059
+ );
6060
+ 
6061
+ FACTORY (0.7ms) DELETE FROM `employees`
6062
+ FACTORY (0.8ms)  INSERT INTO
6063
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6064
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
6065
+ 
6066
+ FACTORY (0.8ms) INSERT INTO
6067
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6068
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
6069
+
6070
+ FACTORY (0.8ms)  INSERT INTO
6071
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6072
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
6073
+ 
6074
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:13:29 -0400
6075
+ Processing by Dossier::ReportsController#show as HTML
6076
+ Parameters: {"report"=>"employee"}
6077
+ EmployeeReport (0.3ms)
6078
+ SELECT * FROM employees WHERE 1=1
6079
+ ORDER BY name ASC
6080
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (26.8ms)
6081
+ Completed 200 OK in 39ms (Views: 30.4ms | ActiveRecord: 0.3ms)
6082
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:13:29 -0400
6083
+ Processing by Dossier::ReportsController#show as HTML
6084
+ Parameters: {"report"=>"employee_with_custom_view"}
6085
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (6.6ms)
6086
+ EmployeeWithCustomViewReport (0.3ms) 
6087
+ SELECT * FROM employees WHERE suspended = true
6088
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (13.0ms)
6089
+ Completed 200 OK in 27ms (Views: 14.2ms | ActiveRecord: 0.3ms)
6090
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:13:29 -0400
6091
+ Processing by Dossier::ReportsController#show as HTML
6092
+ Parameters: {"report"=>"employee_with_custom_view"}
6093
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.2ms)
6094
+ EmployeeWithCustomViewReport (0.2ms)
6095
+ SELECT * FROM employees WHERE suspended = true
6096
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (6.7ms)
6097
+ Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.2ms)
6098
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:13:29 -0400
6099
+ Processing by Dossier::ReportsController#show as HTML
6100
+ Parameters: {"report"=>"employee"}
6101
+ EmployeeReport (0.4ms) 
6102
+ SELECT * FROM employees WHERE 1=1
6103
+ ORDER BY name ASC
6104
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.4ms)
6105
+ Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.4ms)
6106
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:13:29 -0400
6107
+ Processing by Dossier::ReportsController#show as HTML
6108
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
6109
+ EmployeeReport (0.4ms)
6110
+ SELECT * FROM employees WHERE 1=1
6111
+ AND division in (('Tedious Toiling'))
6112
+ AND salary > 10000
6113
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
6114
+ ORDER BY name DESC
6115
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (9.0ms)
6116
+ Completed 200 OK in 13ms (Views: 9.9ms | ActiveRecord: 0.4ms)
6117
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:13:29 -0400
6118
+ Processing by Dossier::ReportsController#show as HTML
6119
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
6120
+ EmployeeReport (0.3ms) 
6121
+ SELECT * FROM employees WHERE 1=1
6122
+ ORDER BY name ASC
6123
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.1ms)
6124
+ Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.3ms)
6125
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:13:29 -0400
6126
+ Processing by Dossier::ReportsController#show as CSV
6127
+ Parameters: {"report"=>"employee"}
6128
+ EmployeeReport (0.3ms)
6129
+ SELECT * FROM employees WHERE 1=1
6130
+ ORDER BY name ASC
6131
+ Completed 200 OK in 96ms (ActiveRecord: 0.3ms)
6132
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:13:29 -0400
6133
+ Processing by Dossier::ReportsController#show as XLS
6134
+ Parameters: {"report"=>"employee"}
6135
+ EmployeeReport (0.3ms) 
6136
+ SELECT * FROM employees WHERE 1=1
6137
+ ORDER BY name ASC
6138
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
6139
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:13:29 -0400
6140
+ Processing by Dossier::ReportsController#show as HTML
6141
+ Parameters: {"report"=>"employee_with_custom_client"}
6142
+ EmployeeWithCustomClientReport (0.2ms)
6143
+ SELECT * FROM `employees`
6144
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (2.9ms)
6145
+ Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.2ms)
6146
+ EmployeeReport (0.3ms) 
6147
+ SELECT * FROM employees WHERE 1=1
6148
+ ORDER BY name ASC
6149
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (15.5ms)
6150
+ EmployeeReport (0.3ms)
6151
+ SELECT * FROM employees WHERE 1=1
6152
+ ORDER BY name ASC
6153
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (6.3ms)
6154
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:13:29 -0400
6155
+ Processing by Dossier::ReportsController#multi as HTML
6156
+ Parameters: {"report"=>"combination"}
6157
+ Rendered dossier/reports/combination/_options.html.haml (4.1ms)
6158
+ EmployeeReport (0.5ms) 
6159
+ SELECT * FROM employees WHERE 1=1
6160
+ ORDER BY name ASC
6161
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (7.1ms)
6162
+ EmployeeWithCustomViewReport (0.3ms)
6163
+ SELECT * FROM employees WHERE suspended = true
6164
+ Rendered dossier/reports/employee_with_custom_view.html.haml (3.5ms)
6165
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (22.8ms)
6166
+ Completed 200 OK in 26ms (Views: 23.9ms | ActiveRecord: 0.8ms)
6167
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:13:29 -0400
6168
+ Processing by Dossier::ReportsController#multi as HTML
6169
+ Parameters: {"report"=>"combination"}
6170
+ Rendered dossier/reports/combination/_options.html.haml (1.4ms)
6171
+ EmployeeReport (0.3ms) 
6172
+ SELECT * FROM employees WHERE 1=1
6173
+ ORDER BY name ASC
6174
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.4ms)
6175
+ EmployeeWithCustomViewReport (0.3ms)
6176
+ SELECT * FROM employees WHERE suspended = true
6177
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.8ms)
6178
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (10.3ms)
6179
+ Completed 200 OK in 13ms (Views: 10.6ms | ActiveRecord: 0.5ms)
6180
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:13:29 -0400
6181
+ Processing by Dossier::ReportsController#multi as HTML
6182
+ Parameters: {"report"=>"combination"}
6183
+ Rendered dossier/reports/combination/_options.html.haml (1.3ms)
6184
+ EmployeeReport (0.3ms) 
6185
+ SELECT * FROM employees WHERE 1=1
6186
+ ORDER BY name ASC
6187
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (6.2ms)
6188
+ EmployeeWithCustomViewReport (0.3ms)
6189
+ SELECT * FROM employees WHERE suspended = true
6190
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.9ms)
6191
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (11.5ms)
6192
+ Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.6ms)
6193
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:13:29 -0400
6194
+ Processing by Dossier::ReportsController#multi as CSV
6195
+ Parameters: {"report"=>"combination"}
6196
+ Completed 500 Internal Server Error in 1ms
6197
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (4.1ms)
6198
+ EmployeeReport (0.3ms) 
6199
+ SELECT * FROM employees WHERE 1=1
6200
+ ORDER BY name ASC
6201
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:13:29 -0400
6202
+ Processing by Dossier::ReportsController#show as HTML
6203
+ Parameters: {"report"=>"cats/are/super_fun"}
6204
+ Cats::Are::SuperFunReport (0.2ms)
6205
+ select 'cats', 'are', 'super', 'fun'
6206
+ Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.2ms)
6207
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:13:29 -0400
6208
+ Processing by SiteController#report as HTML
6209
+ EmployeeReport (0.3ms) 
6210
+ SELECT * FROM employees WHERE 1=1
6211
+ ORDER BY name ASC
6212
+ Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.3ms)
6213
+ FACTORY (0.2ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
6214
+ FACTORY (1.9ms) DROP TABLE IF EXISTS `employees`
6215
+ FACTORY (17.4ms)  CREATE TABLE `employees` (
6216
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
6217
+ `name` varchar(255) NOT NULL,
6218
+ `division` varchar(255) NOT NULL,
6219
+ `salary` int(11) NOT NULL,
6220
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
6221
+ `hired_on` date NOT NULL,
6222
+ PRIMARY KEY (`id`)
6223
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
6224
+ 
6225
+ FACTORY (3.6ms) TRUNCATE `employees`
6226
+ FACTORY (0.4ms)  INSERT INTO
6227
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6228
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
6229
+ 
6230
+ FACTORY (0.3ms) INSERT INTO
6231
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6232
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
6233
+
6234
+ FACTORY (0.6ms)  INSERT INTO
6235
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6236
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
6237
+ 
6238
+ FACTORY (1.8ms) DROP TABLE IF EXISTS `employees`
6239
+ FACTORY (1.1ms)  CREATE TABLE `employees` (
6240
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
6241
+ `name` TEXT NOT NULL,
6242
+ `division` TEXT NOT NULL,
6243
+ `salary` INTEGER NOT NULL,
6244
+ `suspended` TINYINT NOT NULL DEFAULT 0,
6245
+ `hired_on` DATE NOT NULL
6246
+ );
6247
+ 
6248
+ FACTORY (0.7ms) DELETE FROM `employees`
6249
+ FACTORY (0.9ms)  INSERT INTO
6250
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6251
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
6252
+ 
6253
+ FACTORY (0.9ms) INSERT INTO
6254
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6255
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
6256
+
6257
+ FACTORY (0.8ms)  INSERT INTO
6258
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6259
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
6260
+ 
6261
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:14:07 -0400
6262
+ Processing by Dossier::ReportsController#show as HTML
6263
+ Parameters: {"report"=>"cats/are/super_fun"}
6264
+ Cats::Are::SuperFunReport (0.1ms)
6265
+ select 'cats', 'are', 'super', 'fun'
6266
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (13.3ms)
6267
+ Completed 200 OK in 28ms (Views: 17.4ms | ActiveRecord: 0.1ms)
6268
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:14:08 -0400
6269
+ Processing by Dossier::ReportsController#multi as HTML
6270
+ Parameters: {"report"=>"combination"}
6271
+ Rendered dossier/reports/combination/_options.html.haml (14.8ms)
6272
+ EmployeeReport (0.7ms) 
6273
+ SELECT * FROM employees WHERE 1=1
6274
+ ORDER BY name ASC
6275
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (23.6ms)
6276
+ EmployeeWithCustomViewReport (0.4ms)
6277
+ SELECT * FROM employees WHERE suspended = true
6278
+ Rendered dossier/reports/employee_with_custom_view.html.haml (4.8ms)
6279
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (70.0ms)
6280
+ Completed 200 OK in 74ms (Views: 70.5ms | ActiveRecord: 1.1ms)
6281
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:14:08 -0400
6282
+ Processing by Dossier::ReportsController#multi as HTML
6283
+ Parameters: {"report"=>"combination"}
6284
+ Rendered dossier/reports/combination/_options.html.haml (2.2ms)
6285
+ EmployeeReport (0.3ms) 
6286
+ SELECT * FROM employees WHERE 1=1
6287
+ ORDER BY name ASC
6288
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (6.9ms)
6289
+ EmployeeWithCustomViewReport (0.3ms)
6290
+ SELECT * FROM employees WHERE suspended = true
6291
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.6ms)
6292
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (12.9ms)
6293
+ Completed 200 OK in 16ms (Views: 13.3ms | ActiveRecord: 0.6ms)
6294
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:14:08 -0400
6295
+ Processing by Dossier::ReportsController#multi as CSV
6296
+ Parameters: {"report"=>"combination"}
6297
+ Completed 500 Internal Server Error in 2ms
6298
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:14:08 -0400
6299
+ Processing by Dossier::ReportsController#multi as HTML
6300
+ Parameters: {"report"=>"combination"}
6301
+ Rendered dossier/reports/combination/_options.html.haml (1.5ms)
6302
+ EmployeeReport (0.4ms) 
6303
+ SELECT * FROM employees WHERE 1=1
6304
+ ORDER BY name ASC
6305
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (6.2ms)
6306
+ EmployeeWithCustomViewReport (0.3ms)
6307
+ SELECT * FROM employees WHERE suspended = true
6308
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.8ms)
6309
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (11.1ms)
6310
+ Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.7ms)
6311
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:14:08 -0400
6312
+ Processing by Dossier::ReportsController#show as HTML
6313
+ Parameters: {"report"=>"employee"}
6314
+ EmployeeReport (0.3ms) 
6315
+ SELECT * FROM employees WHERE 1=1
6316
+ ORDER BY name ASC
6317
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.3ms)
6318
+ Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)
6319
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:14:08 -0400
6320
+ Processing by Dossier::ReportsController#show as HTML
6321
+ Parameters: {"report"=>"employee_with_custom_view"}
6322
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (5.3ms)
6323
+ EmployeeWithCustomViewReport (0.2ms)
6324
+ SELECT * FROM employees WHERE suspended = true
6325
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (11.7ms)
6326
+ Completed 200 OK in 15ms (Views: 12.9ms | ActiveRecord: 0.2ms)
6327
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:14:08 -0400
6328
+ Processing by Dossier::ReportsController#show as HTML
6329
+ Parameters: {"report"=>"employee_with_custom_view"}
6330
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.6ms)
6331
+ EmployeeWithCustomViewReport (0.3ms) 
6332
+ SELECT * FROM employees WHERE suspended = true
6333
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (8.5ms)
6334
+ Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.3ms)
6335
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:14:08 -0400
6336
+ Processing by Dossier::ReportsController#show as HTML
6337
+ Parameters: {"report"=>"employee"}
6338
+ EmployeeReport (0.3ms)
6339
+ SELECT * FROM employees WHERE 1=1
6340
+ ORDER BY name ASC
6341
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.4ms)
6342
+ Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.3ms)
6343
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:14:08 -0400
6344
+ Processing by Dossier::ReportsController#show as HTML
6345
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
6346
+ EmployeeReport (0.3ms) 
6347
+ SELECT * FROM employees WHERE 1=1
6348
+ AND division in (('Tedious Toiling'))
6349
+ AND salary > 10000
6350
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
6351
+ ORDER BY name DESC
6352
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.6ms)
6353
+ Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.3ms)
6354
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:14:08 -0400
6355
+ Processing by Dossier::ReportsController#show as HTML
6356
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
6357
+ EmployeeReport (0.3ms)
6358
+ SELECT * FROM employees WHERE 1=1
6359
+ ORDER BY name ASC
6360
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.1ms)
6361
+ Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.3ms)
6362
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:14:08 -0400
6363
+ Processing by Dossier::ReportsController#show as CSV
6364
+ Parameters: {"report"=>"employee"}
6365
+ EmployeeReport (0.5ms) 
6366
+ SELECT * FROM employees WHERE 1=1
6367
+ ORDER BY name ASC
6368
+ Completed 200 OK in 143ms (ActiveRecord: 0.5ms)
6369
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:14:08 -0400
6370
+ Processing by Dossier::ReportsController#show as XLS
6371
+ Parameters: {"report"=>"employee"}
6372
+ EmployeeReport (0.4ms)
6373
+ SELECT * FROM employees WHERE 1=1
6374
+ ORDER BY name ASC
6375
+ Completed 200 OK in 8ms (ActiveRecord: 0.4ms)
6376
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (5.2ms)
6377
+ EmployeeReport (0.3ms) 
6378
+ SELECT * FROM employees WHERE 1=1
6379
+ ORDER BY name ASC
6380
+ EmployeeReport (0.3ms)
6381
+ SELECT * FROM employees WHERE 1=1
6382
+ ORDER BY name ASC
6383
+ EmployeeReport (0.4ms) 
6384
+ SELECT * FROM employees WHERE 1=1
6385
+ ORDER BY name ASC
6386
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:14:08 -0400
6387
+ Processing by SiteController#report as HTML
6388
+ EmployeeReport (0.3ms)
6389
+ SELECT * FROM employees WHERE 1=1
6390
+ ORDER BY name ASC
6391
+ Completed 200 OK in 7ms (Views: 4.1ms | ActiveRecord: 0.3ms)
6392
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:14:08 -0400
6393
+ Processing by Dossier::ReportsController#show as HTML
6394
+ Parameters: {"report"=>"employee_with_custom_client"}
6395
+ EmployeeWithCustomClientReport (0.2ms) 
6396
+ SELECT * FROM `employees`
6397
+ Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.2ms)
6398
+ FACTORY (0.1ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
6399
+ FACTORY (1.9ms) DROP TABLE IF EXISTS `employees`
6400
+ FACTORY (28.3ms)  CREATE TABLE `employees` (
6401
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
6402
+ `name` varchar(255) NOT NULL,
6403
+ `division` varchar(255) NOT NULL,
6404
+ `salary` int(11) NOT NULL,
6405
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
6406
+ `hired_on` date NOT NULL,
6407
+ PRIMARY KEY (`id`)
6408
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
6409
+ 
6410
+ FACTORY (4.4ms) TRUNCATE `employees`
6411
+ FACTORY (0.5ms)  INSERT INTO
6412
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6413
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
6414
+ 
6415
+ FACTORY (0.5ms) INSERT INTO
6416
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6417
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
6418
+
6419
+ FACTORY (0.4ms)  INSERT INTO
6420
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6421
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
6422
+ 
6423
+ FACTORY (1.5ms) DROP TABLE IF EXISTS `employees`
6424
+ FACTORY (1.0ms)  CREATE TABLE `employees` (
6425
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
6426
+ `name` TEXT NOT NULL,
6427
+ `division` TEXT NOT NULL,
6428
+ `salary` INTEGER NOT NULL,
6429
+ `suspended` TINYINT NOT NULL DEFAULT 0,
6430
+ `hired_on` DATE NOT NULL
6431
+ );
6432
+ 
6433
+ FACTORY (0.6ms) DELETE FROM `employees`
6434
+ FACTORY (0.9ms)  INSERT INTO
6435
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6436
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
6437
+ 
6438
+ FACTORY (1.3ms) INSERT INTO
6439
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6440
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
6441
+
6442
+ FACTORY (0.8ms)  INSERT INTO
6443
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6444
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
6445
+ 
6446
+ EmployeeReport (0.3ms)
6447
+ SELECT * FROM employees WHERE 1=1
6448
+ ORDER BY name ASC
6449
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:14:52 -0400
6450
+ Processing by SiteController#report as HTML
6451
+ EmployeeReport (0.6ms) 
6452
+ SELECT * FROM employees WHERE 1=1
6453
+ ORDER BY name ASC
6454
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (11.1ms)
6455
+ Completed 200 OK in 26ms (Views: 20.8ms | ActiveRecord: 0.6ms)
6456
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:14:52 -0400
6457
+ Processing by Dossier::ReportsController#show as HTML
6458
+ Parameters: {"report"=>"employee"}
6459
+ EmployeeReport (0.3ms)
6460
+ SELECT * FROM employees WHERE 1=1
6461
+ ORDER BY name ASC
6462
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.7ms)
6463
+ Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.3ms)
6464
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:14:52 -0400
6465
+ Processing by Dossier::ReportsController#show as HTML
6466
+ Parameters: {"report"=>"employee"}
6467
+ EmployeeReport (0.3ms) 
6468
+ SELECT * FROM employees WHERE 1=1
6469
+ ORDER BY name ASC
6470
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.1ms)
6471
+ Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.3ms)
6472
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:14:52 -0400
6473
+ Processing by Dossier::ReportsController#show as HTML
6474
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
6475
+ EmployeeReport (0.3ms)
6476
+ SELECT * FROM employees WHERE 1=1
6477
+ AND division in (('Tedious Toiling'))
6478
+ AND salary > 10000
6479
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
6480
+ ORDER BY name DESC
6481
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.7ms)
6482
+ Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.3ms)
6483
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:14:52 -0400
6484
+ Processing by Dossier::ReportsController#show as HTML
6485
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
6486
+ EmployeeReport (0.3ms) 
6487
+ SELECT * FROM employees WHERE 1=1
6488
+ ORDER BY name ASC
6489
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.7ms)
6490
+ Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
6491
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:14:52 -0400
6492
+ Processing by Dossier::ReportsController#show as HTML
6493
+ Parameters: {"report"=>"employee_with_custom_view"}
6494
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (9.6ms)
6495
+ EmployeeWithCustomViewReport (0.3ms)
6496
+ SELECT * FROM employees WHERE suspended = true
6497
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (17.6ms)
6498
+ Completed 200 OK in 21ms (Views: 19.2ms | ActiveRecord: 0.3ms)
6499
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:14:52 -0400
6500
+ Processing by Dossier::ReportsController#show as HTML
6501
+ Parameters: {"report"=>"employee_with_custom_view"}
6502
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.0ms)
6503
+ EmployeeWithCustomViewReport (0.3ms) 
6504
+ SELECT * FROM employees WHERE suspended = true
6505
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (7.8ms)
6506
+ Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.3ms)
6507
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:14:53 -0400
6508
+ Processing by Dossier::ReportsController#show as XLS
6509
+ Parameters: {"report"=>"employee"}
6510
+ EmployeeReport (0.3ms)
6511
+ SELECT * FROM employees WHERE 1=1
6512
+ ORDER BY name ASC
6513
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
6514
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:14:53 -0400
6515
+ Processing by Dossier::ReportsController#show as CSV
6516
+ Parameters: {"report"=>"employee"}
6517
+ EmployeeReport (0.3ms) 
6518
+ SELECT * FROM employees WHERE 1=1
6519
+ ORDER BY name ASC
6520
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
6521
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:14:53 -0400
6522
+ Processing by Dossier::ReportsController#show as HTML
6523
+ Parameters: {"report"=>"employee_with_custom_client"}
6524
+ EmployeeWithCustomClientReport (0.2ms)
6525
+ SELECT * FROM `employees`
6526
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (3.2ms)
6527
+ Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.2ms)
6528
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:14:53 -0400
6529
+ Processing by Dossier::ReportsController#show as HTML
6530
+ Parameters: {"report"=>"cats/are/super_fun"}
6531
+ Cats::Are::SuperFunReport (0.1ms) 
6532
+ select 'cats', 'are', 'super', 'fun'
6533
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (4.7ms)
6534
+ Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.1ms)
6535
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:14:53 -0400
6536
+ Processing by Dossier::ReportsController#multi as HTML
6537
+ Parameters: {"report"=>"combination"}
6538
+ Rendered dossier/reports/combination/_options.html.haml (4.3ms)
6539
+ EmployeeReport (0.3ms)
6540
+ SELECT * FROM employees WHERE 1=1
6541
+ ORDER BY name ASC
6542
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (9.9ms)
6543
+ EmployeeWithCustomViewReport (0.3ms) 
6544
+ SELECT * FROM employees WHERE suspended = true
6545
+ Rendered dossier/reports/employee_with_custom_view.html.haml (3.8ms)
6546
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (37.4ms)
6547
+ Completed 200 OK in 41ms (Views: 38.7ms | ActiveRecord: 0.6ms)
6548
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:14:53 -0400
6549
+ Processing by Dossier::ReportsController#multi as HTML
6550
+ Parameters: {"report"=>"combination"}
6551
+ Rendered dossier/reports/combination/_options.html.haml (1.6ms)
6552
+ EmployeeReport (0.4ms)
6553
+ SELECT * FROM employees WHERE 1=1
6554
+ ORDER BY name ASC
6555
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (8.6ms)
6556
+ EmployeeWithCustomViewReport (0.3ms) 
6557
+ SELECT * FROM employees WHERE suspended = true
6558
+ Rendered dossier/reports/employee_with_custom_view.html.haml (1.9ms)
6559
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (14.9ms)
6560
+ Completed 200 OK in 17ms (Views: 15.3ms | ActiveRecord: 0.8ms)
6561
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:14:53 -0400
6562
+ Processing by Dossier::ReportsController#multi as HTML
6563
+ Parameters: {"report"=>"combination"}
6564
+ Rendered dossier/reports/combination/_options.html.haml (1.3ms)
6565
+ EmployeeReport (0.3ms)
6566
+ SELECT * FROM employees WHERE 1=1
6567
+ ORDER BY name ASC
6568
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.1ms)
6569
+ EmployeeWithCustomViewReport (0.4ms) 
6570
+ SELECT * FROM employees WHERE suspended = true
6571
+ Rendered dossier/reports/employee_with_custom_view.html.haml (2.9ms)
6572
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (11.2ms)
6573
+ Completed 200 OK in 14ms (Views: 11.7ms | ActiveRecord: 0.7ms)
6574
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:14:53 -0400
6575
+ Processing by Dossier::ReportsController#multi as CSV
6576
+ Parameters: {"report"=>"combination"}
6577
+ Completed 500 Internal Server Error in 2ms
6578
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (5.4ms)
6579
+ EmployeeReport (0.3ms)
6580
+ SELECT * FROM employees WHERE 1=1
6581
+ ORDER BY name ASC
6582
+ EmployeeReport (0.5ms) 
6583
+ SELECT * FROM employees WHERE 1=1
6584
+ ORDER BY name ASC
6585
+ FACTORY (0.1ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
6586
+ FACTORY (2.2ms) DROP TABLE IF EXISTS `employees`
6587
+ FACTORY (11.8ms)  CREATE TABLE `employees` (
6588
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
6589
+ `name` varchar(255) NOT NULL,
6590
+ `division` varchar(255) NOT NULL,
6591
+ `salary` int(11) NOT NULL,
6592
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
6593
+ `hired_on` date NOT NULL,
6594
+ PRIMARY KEY (`id`)
6595
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
6596
+ 
6597
+ FACTORY (3.4ms) TRUNCATE `employees`
6598
+ FACTORY (0.4ms)  INSERT INTO
6599
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6600
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
6601
+ 
6602
+ FACTORY (0.3ms) INSERT INTO
6603
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6604
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
6605
+
6606
+ FACTORY (0.3ms)  INSERT INTO
6607
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6608
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
6609
+ 
6610
+ FACTORY (1.6ms) DROP TABLE IF EXISTS `employees`
6611
+ FACTORY (1.0ms)  CREATE TABLE `employees` (
6612
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
6613
+ `name` TEXT NOT NULL,
6614
+ `division` TEXT NOT NULL,
6615
+ `salary` INTEGER NOT NULL,
6616
+ `suspended` TINYINT NOT NULL DEFAULT 0,
6617
+ `hired_on` DATE NOT NULL
6618
+ );
6619
+ 
6620
+ FACTORY (0.7ms) DELETE FROM `employees`
6621
+ FACTORY (0.9ms)  INSERT INTO
6622
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6623
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
6624
+ 
6625
+ FACTORY (0.9ms) INSERT INTO
6626
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6627
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
6628
+
6629
+ FACTORY (0.7ms)  INSERT INTO
6630
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6631
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
6632
+ 
6633
+ EmployeeReport (0.3ms)
6634
+ SELECT * FROM employees WHERE 1=1
6635
+ ORDER BY name ASC
6636
+ EmployeeReport (0.3ms) 
6637
+ SELECT * FROM employees WHERE 1=1
6638
+ ORDER BY name ASC
6639
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (38.7ms)
6640
+ EmployeeReport (0.4ms)
6641
+ SELECT * FROM employees WHERE 1=1
6642
+ ORDER BY name ASC
6643
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (10.0ms)
6644
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:15:27 -0400
6645
+ Processing by Dossier::ReportsController#show as HTML
6646
+ Parameters: {"report"=>"cats/are/super_fun"}
6647
+ Cats::Are::SuperFunReport (0.1ms) 
6648
+ select 'cats', 'are', 'super', 'fun'
6649
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (7.9ms)
6650
+ Completed 200 OK in 17ms (Views: 11.5ms | ActiveRecord: 0.1ms)
6651
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:15:28 -0400
6652
+ Processing by SiteController#report as HTML
6653
+ EmployeeReport (0.3ms)
6654
+ SELECT * FROM employees WHERE 1=1
6655
+ ORDER BY name ASC
6656
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (4.0ms)
6657
+ Completed 200 OK in 9ms (Views: 6.2ms | ActiveRecord: 0.3ms)
6658
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:15:28 -0400
6659
+ Processing by Dossier::ReportsController#multi as HTML
6660
+ Parameters: {"report"=>"combination"}
6661
+ Rendered dossier/reports/combination/_options.html.haml (5.7ms)
6662
+ EmployeeReport (0.3ms) 
6663
+ SELECT * FROM employees WHERE 1=1
6664
+ ORDER BY name ASC
6665
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (6.0ms)
6666
+ EmployeeWithCustomViewReport (0.4ms)
6667
+ SELECT * FROM employees WHERE suspended = true
6668
+ Rendered dossier/reports/employee_with_custom_view.html.haml (3.5ms)
6669
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (22.4ms)
6670
+ Completed 200 OK in 25ms (Views: 23.4ms | ActiveRecord: 0.6ms)
6671
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:15:28 -0400
6672
+ Processing by Dossier::ReportsController#multi as HTML
6673
+ Parameters: {"report"=>"combination"}
6674
+ Rendered dossier/reports/combination/_options.html.haml (1.4ms)
6675
+ EmployeeReport (0.4ms) 
6676
+ SELECT * FROM employees WHERE 1=1
6677
+ ORDER BY name ASC
6678
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (7.7ms)
6679
+ EmployeeWithCustomViewReport (0.4ms)
6680
+ SELECT * FROM employees WHERE suspended = true
6681
+ Rendered dossier/reports/employee_with_custom_view.html.haml (3.1ms)
6682
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (14.3ms)
6683
+ Completed 200 OK in 17ms (Views: 14.6ms | ActiveRecord: 0.8ms)
6684
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:15:28 -0400
6685
+ Processing by Dossier::ReportsController#multi as HTML
6686
+ Parameters: {"report"=>"combination"}
6687
+ Rendered dossier/reports/combination/_options.html.haml (2.5ms)
6688
+ EmployeeReport (0.3ms) 
6689
+ SELECT * FROM employees WHERE 1=1
6690
+ ORDER BY name ASC
6691
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (7.1ms)
6692
+ EmployeeWithCustomViewReport (0.4ms)
6693
+ SELECT * FROM employees WHERE suspended = true
6694
+ Rendered dossier/reports/employee_with_custom_view.html.haml (2.0ms)
6695
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (14.0ms)
6696
+ Completed 200 OK in 17ms (Views: 14.5ms | ActiveRecord: 0.7ms)
6697
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:15:28 -0400
6698
+ Processing by Dossier::ReportsController#multi as CSV
6699
+ Parameters: {"report"=>"combination"}
6700
+ Completed 500 Internal Server Error in 1ms
6701
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:15:28 -0400
6702
+ Processing by Dossier::ReportsController#show as HTML
6703
+ Parameters: {"report"=>"employee"}
6704
+ EmployeeReport (0.3ms) 
6705
+ SELECT * FROM employees WHERE 1=1
6706
+ ORDER BY name ASC
6707
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.7ms)
6708
+ Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.3ms)
6709
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:15:28 -0400
6710
+ Processing by Dossier::ReportsController#show as HTML
6711
+ Parameters: {"report"=>"employee_with_custom_view"}
6712
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (7.8ms)
6713
+ EmployeeWithCustomViewReport (0.3ms)
6714
+ SELECT * FROM employees WHERE suspended = true
6715
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (15.5ms)
6716
+ Completed 200 OK in 18ms (Views: 16.8ms | ActiveRecord: 0.3ms)
6717
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:15:28 -0400
6718
+ Processing by Dossier::ReportsController#show as HTML
6719
+ Parameters: {"report"=>"employee_with_custom_view"}
6720
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.3ms)
6721
+ EmployeeWithCustomViewReport (0.3ms) 
6722
+ SELECT * FROM employees WHERE suspended = true
6723
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (6.6ms)
6724
+ Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.3ms)
6725
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:15:28 -0400
6726
+ Processing by Dossier::ReportsController#show as HTML
6727
+ Parameters: {"report"=>"employee"}
6728
+ EmployeeReport (0.3ms)
6729
+ SELECT * FROM employees WHERE 1=1
6730
+ ORDER BY name ASC
6731
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.7ms)
6732
+ Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.3ms)
6733
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:15:28 -0400
6734
+ Processing by Dossier::ReportsController#show as HTML
6735
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
6736
+ EmployeeReport (0.4ms) 
6737
+ SELECT * FROM employees WHERE 1=1
6738
+ AND division in (('Tedious Toiling'))
6739
+ AND salary > 10000
6740
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
6741
+ ORDER BY name DESC
6742
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.4ms)
6743
+ Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.4ms)
6744
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:15:28 -0400
6745
+ Processing by Dossier::ReportsController#show as HTML
6746
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
6747
+ EmployeeReport (0.3ms)
6748
+ SELECT * FROM employees WHERE 1=1
6749
+ ORDER BY name ASC
6750
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.6ms)
6751
+ Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.3ms)
6752
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:15:28 -0400
6753
+ Processing by Dossier::ReportsController#show as CSV
6754
+ Parameters: {"report"=>"employee"}
6755
+ EmployeeReport (0.3ms) 
6756
+ SELECT * FROM employees WHERE 1=1
6757
+ ORDER BY name ASC
6758
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
6759
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:15:28 -0400
6760
+ Processing by Dossier::ReportsController#show as XLS
6761
+ Parameters: {"report"=>"employee"}
6762
+ EmployeeReport (0.3ms)
6763
+ SELECT * FROM employees WHERE 1=1
6764
+ ORDER BY name ASC
6765
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
6766
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:15:28 -0400
6767
+ Processing by Dossier::ReportsController#show as HTML
6768
+ Parameters: {"report"=>"employee_with_custom_client"}
6769
+ EmployeeWithCustomClientReport (0.2ms) 
6770
+ SELECT * FROM `employees`
6771
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (2.9ms)
6772
+ Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.2ms)
6773
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (4.1ms)
6774
+ FACTORY (0.2ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
6775
+ FACTORY (10.8ms) DROP TABLE IF EXISTS `employees`
6776
+ FACTORY (11.3ms)  CREATE TABLE `employees` (
6777
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
6778
+ `name` varchar(255) NOT NULL,
6779
+ `division` varchar(255) NOT NULL,
6780
+ `salary` int(11) NOT NULL,
6781
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
6782
+ `hired_on` date NOT NULL,
6783
+ PRIMARY KEY (`id`)
6784
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
6785
+ 
6786
+ FACTORY (6.4ms) TRUNCATE `employees`
6787
+ FACTORY (0.4ms)  INSERT INTO
6788
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6789
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
6790
+ 
6791
+ FACTORY (0.3ms) INSERT INTO
6792
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6793
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
6794
+
6795
+ FACTORY (0.4ms)  INSERT INTO
6796
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6797
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
6798
+ 
6799
+ FACTORY (1.5ms) DROP TABLE IF EXISTS `employees`
6800
+ FACTORY (0.8ms)  CREATE TABLE `employees` (
6801
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
6802
+ `name` TEXT NOT NULL,
6803
+ `division` TEXT NOT NULL,
6804
+ `salary` INTEGER NOT NULL,
6805
+ `suspended` TINYINT NOT NULL DEFAULT 0,
6806
+ `hired_on` DATE NOT NULL
6807
+ );
6808
+ 
6809
+ FACTORY (0.8ms) DELETE FROM `employees`
6810
+ FACTORY (0.8ms)  INSERT INTO
6811
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6812
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
6813
+ 
6814
+ FACTORY (0.6ms) INSERT INTO
6815
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6816
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
6817
+
6818
+ FACTORY (0.8ms)  INSERT INTO
6819
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6820
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
6821
+ 
6822
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:16:23 -0400
6823
+ Processing by SiteController#report as HTML
6824
+ EmployeeReport (0.3ms)
6825
+ SELECT * FROM employees WHERE 1=1
6826
+ ORDER BY name ASC
6827
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (27.7ms)
6828
+ Completed 200 OK in 42ms (Views: 36.5ms | ActiveRecord: 0.3ms)
6829
+ EmployeeReport (0.3ms) 
6830
+ SELECT * FROM employees WHERE 1=1
6831
+ ORDER BY name ASC
6832
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (13.1ms)
6833
+ EmployeeReport (0.3ms)
6834
+ SELECT * FROM employees WHERE 1=1
6835
+ ORDER BY name ASC
6836
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (5.4ms)
6837
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:16:23 -0400
6838
+ Processing by Dossier::ReportsController#show as HTML
6839
+ Parameters: {"report"=>"employee_with_custom_client"}
6840
+ EmployeeWithCustomClientReport (0.3ms) 
6841
+ SELECT * FROM `employees`
6842
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (3.1ms)
6843
+ Completed 200 OK in 7ms (Views: 4.1ms | ActiveRecord: 0.3ms)
6844
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:16:23 -0400
6845
+ Processing by Dossier::ReportsController#multi as HTML
6846
+ Parameters: {"report"=>"combination"}
6847
+ Rendered dossier/reports/combination/_options.html.haml (44.0ms)
6848
+ EmployeeReport (0.3ms)
6849
+ SELECT * FROM employees WHERE 1=1
6850
+ ORDER BY name ASC
6851
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.3ms)
6852
+ EmployeeWithCustomViewReport (0.3ms) 
6853
+ SELECT * FROM employees WHERE suspended = true
6854
+ Rendered dossier/reports/employee_with_custom_view.html.haml (3.4ms)
6855
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (60.2ms)
6856
+ Completed 200 OK in 63ms (Views: 61.7ms | ActiveRecord: 0.6ms)
6857
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:16:23 -0400
6858
+ Processing by Dossier::ReportsController#multi as CSV
6859
+ Parameters: {"report"=>"combination"}
6860
+ Completed 500 Internal Server Error in 1ms
6861
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:16:23 -0400
6862
+ Processing by Dossier::ReportsController#multi as HTML
6863
+ Parameters: {"report"=>"combination"}
6864
+ Rendered dossier/reports/combination/_options.html.haml (1.3ms)
6865
+ EmployeeReport (0.3ms)
6866
+ SELECT * FROM employees WHERE 1=1
6867
+ ORDER BY name ASC
6868
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (6.3ms)
6869
+ EmployeeWithCustomViewReport (0.4ms) 
6870
+ SELECT * FROM employees WHERE suspended = true
6871
+ Rendered dossier/reports/employee_with_custom_view.html.haml (2.2ms)
6872
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (11.9ms)
6873
+ Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.8ms)
6874
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:16:23 -0400
6875
+ Processing by Dossier::ReportsController#multi as HTML
6876
+ Parameters: {"report"=>"combination"}
6877
+ Rendered dossier/reports/combination/_options.html.haml (1.4ms)
6878
+ EmployeeReport (0.3ms)
6879
+ SELECT * FROM employees WHERE 1=1
6880
+ ORDER BY name ASC
6881
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (7.2ms)
6882
+ EmployeeWithCustomViewReport (0.3ms) 
6883
+ SELECT * FROM employees WHERE suspended = true
6884
+ Rendered dossier/reports/employee_with_custom_view.html.haml (2.1ms)
6885
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (13.1ms)
6886
+ Completed 200 OK in 16ms (Views: 13.4ms | ActiveRecord: 0.6ms)
6887
+ EmployeeReport (0.3ms)
6888
+ SELECT * FROM employees WHERE 1=1
6889
+ ORDER BY name ASC
6890
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (6.1ms)
6891
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:16:24 -0400
6892
+ Processing by Dossier::ReportsController#show as HTML
6893
+ Parameters: {"report"=>"employee"}
6894
+ EmployeeReport (0.3ms) 
6895
+ SELECT * FROM employees WHERE 1=1
6896
+ ORDER BY name ASC
6897
+ Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.3ms)
6898
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:16:24 -0400
6899
+ Processing by Dossier::ReportsController#show as HTML
6900
+ Parameters: {"report"=>"employee"}
6901
+ EmployeeReport (0.3ms)
6902
+ SELECT * FROM employees WHERE 1=1
6903
+ ORDER BY name ASC
6904
+ Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.3ms)
6905
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:16:24 -0400
6906
+ Processing by Dossier::ReportsController#show as HTML
6907
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
6908
+ EmployeeReport (0.3ms) 
6909
+ SELECT * FROM employees WHERE 1=1
6910
+ AND division in (('Tedious Toiling'))
6911
+ AND salary > 10000
6912
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
6913
+ ORDER BY name DESC
6914
+ Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.3ms)
6915
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:16:24 -0400
6916
+ Processing by Dossier::ReportsController#show as HTML
6917
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
6918
+ EmployeeReport (0.3ms)
6919
+ SELECT * FROM employees WHERE 1=1
6920
+ ORDER BY name ASC
6921
+ Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.3ms)
6922
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:16:24 -0400
6923
+ Processing by Dossier::ReportsController#show as HTML
6924
+ Parameters: {"report"=>"employee_with_custom_view"}
6925
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (7.5ms)
6926
+ EmployeeWithCustomViewReport (0.5ms) 
6927
+ SELECT * FROM employees WHERE suspended = true
6928
+ Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 0.5ms)
6929
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:16:24 -0400
6930
+ Processing by Dossier::ReportsController#show as HTML
6931
+ Parameters: {"report"=>"employee_with_custom_view"}
6932
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (4.2ms)
6933
+ EmployeeWithCustomViewReport (1.5ms)
6934
+ SELECT * FROM employees WHERE suspended = true
6935
+ Completed 200 OK in 23ms (Views: 19.0ms | ActiveRecord: 1.5ms)
6936
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:16:24 -0400
6937
+ Processing by Dossier::ReportsController#show as XLS
6938
+ Parameters: {"report"=>"employee"}
6939
+ EmployeeReport (0.3ms) 
6940
+ SELECT * FROM employees WHERE 1=1
6941
+ ORDER BY name ASC
6942
+ Completed 200 OK in 7ms (ActiveRecord: 0.3ms)
6943
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:16:24 -0400
6944
+ Processing by Dossier::ReportsController#show as CSV
6945
+ Parameters: {"report"=>"employee"}
6946
+ EmployeeReport (0.3ms)
6947
+ SELECT * FROM employees WHERE 1=1
6948
+ ORDER BY name ASC
6949
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
6950
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:16:24 -0400
6951
+ Processing by Dossier::ReportsController#show as HTML
6952
+ Parameters: {"report"=>"cats/are/super_fun"}
6953
+ Cats::Are::SuperFunReport (0.1ms) 
6954
+ select 'cats', 'are', 'super', 'fun'
6955
+ Completed 200 OK in 13ms (Views: 9.0ms | ActiveRecord: 0.1ms)
6956
+ FACTORY (0.1ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
6957
+ FACTORY (2.4ms) DROP TABLE IF EXISTS `employees`
6958
+ FACTORY (18.5ms)  CREATE TABLE `employees` (
6959
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
6960
+ `name` varchar(255) NOT NULL,
6961
+ `division` varchar(255) NOT NULL,
6962
+ `salary` int(11) NOT NULL,
6963
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
6964
+ `hired_on` date NOT NULL,
6965
+ PRIMARY KEY (`id`)
6966
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
6967
+ 
6968
+ FACTORY (3.5ms) TRUNCATE `employees`
6969
+ FACTORY (0.4ms)  INSERT INTO
6970
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6971
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
6972
+ 
6973
+ FACTORY (0.3ms) INSERT INTO
6974
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6975
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
6976
+
6977
+ FACTORY (0.4ms)  INSERT INTO
6978
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6979
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
6980
+ 
6981
+ FACTORY (1.6ms) DROP TABLE IF EXISTS `employees`
6982
+ FACTORY (0.9ms)  CREATE TABLE `employees` (
6983
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
6984
+ `name` TEXT NOT NULL,
6985
+ `division` TEXT NOT NULL,
6986
+ `salary` INTEGER NOT NULL,
6987
+ `suspended` TINYINT NOT NULL DEFAULT 0,
6988
+ `hired_on` DATE NOT NULL
6989
+ );
6990
+ 
6991
+ FACTORY (0.8ms) DELETE FROM `employees`
6992
+ FACTORY (0.8ms)  INSERT INTO
6993
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6994
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
6995
+ 
6996
+ FACTORY (0.8ms) INSERT INTO
6997
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
6998
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
6999
+
7000
+ FACTORY (0.8ms)  INSERT INTO
7001
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
7002
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
7003
+ 
7004
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:17:08 -0400
7005
+ Processing by Dossier::ReportsController#show as HTML
7006
+ Parameters: {"report"=>"employee_with_custom_client"}
7007
+ EmployeeWithCustomClientReport (1.1ms)
7008
+ SELECT * FROM `employees`
7009
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (10.3ms)
7010
+ Completed 200 OK in 23ms (Views: 13.4ms | ActiveRecord: 1.1ms)
7011
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:17:08 -0400
7012
+ Processing by Dossier::ReportsController#show as HTML
7013
+ Parameters: {"report"=>"cats/are/super_fun"}
7014
+ Cats::Are::SuperFunReport (0.2ms) 
7015
+ select 'cats', 'are', 'super', 'fun'
7016
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (4.9ms)
7017
+ Completed 200 OK in 10ms (Views: 5.6ms | ActiveRecord: 0.2ms)
7018
+ EmployeeReport (0.4ms)
7019
+ SELECT * FROM employees WHERE 1=1
7020
+ ORDER BY name ASC
7021
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (35.9ms)
7022
+ EmployeeReport (0.3ms) 
7023
+ SELECT * FROM employees WHERE 1=1
7024
+ ORDER BY name ASC
7025
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (5.5ms)
7026
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:17:08 -0400
7027
+ Processing by Dossier::ReportsController#multi as HTML
7028
+ Parameters: {"report"=>"combination"}
7029
+ Rendered dossier/reports/combination/_options.html.haml (5.0ms)
7030
+ EmployeeReport (0.3ms)
7031
+ SELECT * FROM employees WHERE 1=1
7032
+ ORDER BY name ASC
7033
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (6.7ms)
7034
+ EmployeeWithCustomViewReport (0.3ms) 
7035
+ SELECT * FROM employees WHERE suspended = true
7036
+ Rendered dossier/reports/employee_with_custom_view.html.haml (4.0ms)
7037
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (25.0ms)
7038
+ Completed 200 OK in 28ms (Views: 25.9ms | ActiveRecord: 0.6ms)
7039
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:17:08 -0400
7040
+ Processing by Dossier::ReportsController#multi as CSV
7041
+ Parameters: {"report"=>"combination"}
7042
+ Completed 500 Internal Server Error in 1ms
7043
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:17:08 -0400
7044
+ Processing by Dossier::ReportsController#multi as HTML
7045
+ Parameters: {"report"=>"combination"}
7046
+ Rendered dossier/reports/combination/_options.html.haml (1.4ms)
7047
+ EmployeeReport (0.3ms)
7048
+ SELECT * FROM employees WHERE 1=1
7049
+ ORDER BY name ASC
7050
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.4ms)
7051
+ EmployeeWithCustomViewReport (0.4ms) 
7052
+ SELECT * FROM employees WHERE suspended = true
7053
+ Rendered dossier/reports/employee_with_custom_view.html.haml (2.7ms)
7054
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (11.3ms)
7055
+ Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.7ms)
7056
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:17:08 -0400
7057
+ Processing by Dossier::ReportsController#multi as HTML
7058
+ Parameters: {"report"=>"combination"}
7059
+ Rendered dossier/reports/combination/_options.html.haml (1.9ms)
7060
+ EmployeeReport (0.3ms)
7061
+ SELECT * FROM employees WHERE 1=1
7062
+ ORDER BY name ASC
7063
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.4ms)
7064
+ EmployeeWithCustomViewReport (0.4ms) 
7065
+ SELECT * FROM employees WHERE suspended = true
7066
+ Rendered dossier/reports/employee_with_custom_view.html.haml (2.3ms)
7067
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (12.1ms)
7068
+ Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.7ms)
7069
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:17:08 -0400
7070
+ Processing by SiteController#report as HTML
7071
+ EmployeeReport (0.4ms)
7072
+ SELECT * FROM employees WHERE 1=1
7073
+ ORDER BY name ASC
7074
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (4.1ms)
7075
+ Completed 200 OK in 11ms (Views: 6.9ms | ActiveRecord: 0.4ms)
7076
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:17:08 -0400
7077
+ Processing by Dossier::ReportsController#show as HTML
7078
+ Parameters: {"report"=>"employee"}
7079
+ EmployeeReport (0.3ms) 
7080
+ SELECT * FROM employees WHERE 1=1
7081
+ ORDER BY name ASC
7082
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (8.0ms)
7083
+ Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.3ms)
7084
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:17:08 -0400
7085
+ Processing by Dossier::ReportsController#show as HTML
7086
+ Parameters: {"report"=>"employee"}
7087
+ EmployeeReport (0.4ms)
7088
+ SELECT * FROM employees WHERE 1=1
7089
+ ORDER BY name ASC
7090
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (8.4ms)
7091
+ Completed 200 OK in 12ms (Views: 9.0ms | ActiveRecord: 0.4ms)
7092
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:17:08 -0400
7093
+ Processing by Dossier::ReportsController#show as HTML
7094
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
7095
+ EmployeeReport (0.3ms) 
7096
+ SELECT * FROM employees WHERE 1=1
7097
+ ORDER BY name ASC
7098
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.7ms)
7099
+ Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.3ms)
7100
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:17:08 -0400
7101
+ Processing by Dossier::ReportsController#show as HTML
7102
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
7103
+ EmployeeReport (0.3ms)
7104
+ SELECT * FROM employees WHERE 1=1
7105
+ AND division in (('Tedious Toiling'))
7106
+ AND salary > 10000
7107
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
7108
+ ORDER BY name DESC
7109
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.7ms)
7110
+ Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.3ms)
7111
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:17:08 -0400
7112
+ Processing by Dossier::ReportsController#show as HTML
7113
+ Parameters: {"report"=>"employee_with_custom_view"}
7114
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (5.4ms)
7115
+ EmployeeWithCustomViewReport (0.2ms) 
7116
+ SELECT * FROM employees WHERE suspended = true
7117
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (11.8ms)
7118
+ Completed 200 OK in 15ms (Views: 13.2ms | ActiveRecord: 0.2ms)
7119
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:17:08 -0400
7120
+ Processing by Dossier::ReportsController#show as HTML
7121
+ Parameters: {"report"=>"employee_with_custom_view"}
7122
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.8ms)
7123
+ EmployeeWithCustomViewReport (0.4ms)
7124
+ SELECT * FROM employees WHERE suspended = true
7125
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (9.1ms)
7126
+ Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.4ms)
7127
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:17:08 -0400
7128
+ Processing by Dossier::ReportsController#show as XLS
7129
+ Parameters: {"report"=>"employee"}
7130
+ EmployeeReport (0.3ms) 
7131
+ SELECT * FROM employees WHERE 1=1
7132
+ ORDER BY name ASC
7133
+ Completed 200 OK in 107ms (ActiveRecord: 0.3ms)
7134
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:17:08 -0400
7135
+ Processing by Dossier::ReportsController#show as CSV
7136
+ Parameters: {"report"=>"employee"}
7137
+ EmployeeReport (0.8ms)
7138
+ SELECT * FROM employees WHERE 1=1
7139
+ ORDER BY name ASC
7140
+ Completed 200 OK in 12ms (ActiveRecord: 0.8ms)
7141
+ EmployeeReport (0.3ms) 
7142
+ SELECT * FROM employees WHERE 1=1
7143
+ ORDER BY name ASC
7144
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (16.4ms)
7145
+ FACTORY (0.2ms) CREATE DATABASE IF NOT EXISTS `dossier_test`
7146
+ FACTORY (2.0ms) DROP TABLE IF EXISTS `employees`
7147
+ FACTORY (19.6ms)  CREATE TABLE `employees` (
7148
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
7149
+ `name` varchar(255) NOT NULL,
7150
+ `division` varchar(255) NOT NULL,
7151
+ `salary` int(11) NOT NULL,
7152
+ `suspended` tinyint(1) NOT NULL DEFAULT 0,
7153
+ `hired_on` date NOT NULL,
7154
+ PRIMARY KEY (`id`)
7155
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
7156
+ 
7157
+ FACTORY (5.7ms) TRUNCATE `employees`
7158
+ FACTORY (0.4ms)  INSERT INTO
7159
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
7160
+ VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
7161
+ 
7162
+ FACTORY (0.3ms) INSERT INTO
7163
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
7164
+ VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
7165
+
7166
+ FACTORY (0.5ms)  INSERT INTO
7167
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
7168
+ VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
7169
+ 
7170
+ FACTORY (1.5ms) DROP TABLE IF EXISTS `employees`
7171
+ FACTORY (1.0ms)  CREATE TABLE `employees` (
7172
+ `id` INTEGER PRIMARY KEY AUTOINCREMENT,
7173
+ `name` TEXT NOT NULL,
7174
+ `division` TEXT NOT NULL,
7175
+ `salary` INTEGER NOT NULL,
7176
+ `suspended` TINYINT NOT NULL DEFAULT 0,
7177
+ `hired_on` DATE NOT NULL
7178
+ );
7179
+ 
7180
+ FACTORY (0.7ms) DELETE FROM `employees`
7181
+ FACTORY (0.9ms)  INSERT INTO
7182
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
7183
+ VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
7184
+ 
7185
+ FACTORY (0.8ms) INSERT INTO
7186
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
7187
+ VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
7188
+
7189
+ FACTORY (0.8ms)  INSERT INTO
7190
+ `employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
7191
+ VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
7192
+ 
7193
+ EmployeeReport (0.3ms)
7194
+ SELECT * FROM employees WHERE 1=1
7195
+ ORDER BY name ASC
7196
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (27.7ms)
7197
+ EmployeeReport (0.4ms) 
7198
+ SELECT * FROM employees WHERE 1=1
7199
+ ORDER BY name ASC
7200
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (16.7ms)
7201
+ Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2014-04-25 15:18:34 -0400
7202
+ Processing by Dossier::ReportsController#show as HTML
7203
+ Parameters: {"report"=>"employee_with_custom_client"}
7204
+ EmployeeWithCustomClientReport (0.2ms)
7205
+ SELECT * FROM `employees`
7206
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.7ms)
7207
+ Completed 200 OK in 13ms (Views: 10.3ms | ActiveRecord: 0.2ms)
7208
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:18:34 -0400
7209
+ Processing by Dossier::ReportsController#show as HTML
7210
+ Parameters: {"report"=>"employee"}
7211
+ EmployeeReport (0.3ms) 
7212
+ SELECT * FROM employees WHERE 1=1
7213
+ ORDER BY name ASC
7214
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.0ms)
7215
+ Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.3ms)
7216
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:18:34 -0400
7217
+ Processing by Dossier::ReportsController#show as HTML
7218
+ Parameters: {"report"=>"employee_with_custom_view"}
7219
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (7.5ms)
7220
+ EmployeeWithCustomViewReport (0.3ms)
7221
+ SELECT * FROM employees WHERE suspended = true
7222
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (14.1ms)
7223
+ Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 0.2ms)
7224
+ Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2014-04-25 15:18:34 -0400
7225
+ Processing by Dossier::ReportsController#show as HTML
7226
+ Parameters: {"report"=>"employee_with_custom_view"}
7227
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (4.0ms)
7228
+ EmployeeWithCustomViewReport (0.3ms) 
7229
+ SELECT * FROM employees WHERE suspended = true
7230
+ Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (10.6ms)
7231
+ Completed 200 OK in 14ms (Views: 11.4ms | ActiveRecord: 0.3ms)
7232
+ Started GET "/reports/employee" for 127.0.0.1 at 2014-04-25 15:18:34 -0400
7233
+ Processing by Dossier::ReportsController#show as HTML
7234
+ Parameters: {"report"=>"employee"}
7235
+ EmployeeReport (0.4ms)
7236
+ SELECT * FROM employees WHERE 1=1
7237
+ ORDER BY name ASC
7238
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.2ms)
7239
+ Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.4ms)
7240
+ Started GET "/reports/employee?options[divisions][]=Tedious+Toiling&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[order]=desc&options[salary]=true" for 127.0.0.1 at 2014-04-25 15:18:34 -0400
7241
+ Processing by Dossier::ReportsController#show as HTML
7242
+ Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
7243
+ EmployeeReport (0.4ms) 
7244
+ SELECT * FROM employees WHERE 1=1
7245
+ AND division in (('Tedious Toiling'))
7246
+ AND salary > 10000
7247
+ AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
7248
+ ORDER BY name DESC
7249
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.4ms)
7250
+ Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.4ms)
7251
+ Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2014-04-25 15:18:34 -0400
7252
+ Processing by Dossier::ReportsController#show as HTML
7253
+ Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
7254
+ EmployeeReport (0.3ms)
7255
+ SELECT * FROM employees WHERE 1=1
7256
+ ORDER BY name ASC
7257
+ Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.9ms)
7258
+ Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.3ms)
7259
+ Started GET "/reports/employee.csv" for 127.0.0.1 at 2014-04-25 15:18:34 -0400
7260
+ Processing by Dossier::ReportsController#show as CSV
7261
+ Parameters: {"report"=>"employee"}
7262
+ EmployeeReport (0.3ms) 
7263
+ SELECT * FROM employees WHERE 1=1
7264
+ ORDER BY name ASC
7265
+ Completed 200 OK in 152ms (ActiveRecord: 0.3ms)
7266
+ Started GET "/reports/employee.xls" for 127.0.0.1 at 2014-04-25 15:18:34 -0400
7267
+ Processing by Dossier::ReportsController#show as XLS
7268
+ Parameters: {"report"=>"employee"}
7269
+ EmployeeReport (0.4ms)
7270
+ SELECT * FROM employees WHERE 1=1
7271
+ ORDER BY name ASC
7272
+ Completed 200 OK in 7ms (ActiveRecord: 0.4ms)
7273
+ Rendered dossier/reports/employee_with_custom_view/_options.html.haml (4.0ms)
7274
+ EmployeeReport (0.3ms) 
7275
+ SELECT * FROM employees WHERE 1=1
7276
+ ORDER BY name ASC
7277
+ Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2014-04-25 15:18:35 -0400
7278
+ Processing by Dossier::ReportsController#show as HTML
7279
+ Parameters: {"report"=>"cats/are/super_fun"}
7280
+ Cats::Are::SuperFunReport (0.1ms)
7281
+ select 'cats', 'are', 'super', 'fun'
7282
+ Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.1ms)
7283
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:18:35 -0400
7284
+ Processing by Dossier::ReportsController#multi as HTML
7285
+ Parameters: {"report"=>"combination"}
7286
+ Rendered dossier/reports/combination/_options.html.haml (6.7ms)
7287
+ EmployeeReport (0.3ms) 
7288
+ SELECT * FROM employees WHERE 1=1
7289
+ ORDER BY name ASC
7290
+ EmployeeWithCustomViewReport (0.3ms)
7291
+ SELECT * FROM employees WHERE suspended = true
7292
+ Completed 200 OK in 30ms (Views: 27.6ms | ActiveRecord: 0.6ms)
7293
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:18:35 -0400
7294
+ Processing by Dossier::ReportsController#multi as HTML
7295
+ Parameters: {"report"=>"combination"}
7296
+ Rendered dossier/reports/combination/_options.html.haml (1.4ms)
7297
+ EmployeeReport (0.3ms) 
7298
+ SELECT * FROM employees WHERE 1=1
7299
+ ORDER BY name ASC
7300
+ EmployeeWithCustomViewReport (0.3ms)
7301
+ SELECT * FROM employees WHERE suspended = true
7302
+ Completed 200 OK in 13ms (Views: 10.7ms | ActiveRecord: 0.6ms)
7303
+ Started GET "/multi/reports/combination" for 127.0.0.1 at 2014-04-25 15:18:35 -0400
7304
+ Processing by Dossier::ReportsController#multi as HTML
7305
+ Parameters: {"report"=>"combination"}
7306
+ Rendered dossier/reports/combination/_options.html.haml (1.3ms)
7307
+ EmployeeReport (0.4ms) 
7308
+ SELECT * FROM employees WHERE 1=1
7309
+ ORDER BY name ASC
7310
+ EmployeeWithCustomViewReport (0.4ms)
7311
+ SELECT * FROM employees WHERE suspended = true
7312
+ Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.7ms)
7313
+ Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2014-04-25 15:18:35 -0400
7314
+ Processing by Dossier::ReportsController#multi as CSV
7315
+ Parameters: {"report"=>"combination"}
7316
+ Completed 500 Internal Server Error in 2ms
7317
+ Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2014-04-25 15:18:35 -0400
7318
+ Processing by SiteController#report as HTML
7319
+ EmployeeReport (0.3ms) 
7320
+ SELECT * FROM employees WHERE 1=1
7321
+ ORDER BY name ASC
7322
+ Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 0.3ms)