dossier 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/dossier/reports_controller.rb +8 -4
- data/app/views/dossier/reports/show.html.haml +1 -1
- data/lib/dossier/report.rb +4 -4
- data/lib/dossier/version.rb +1 -1
- data/lib/dossier.rb +12 -3
- data/spec/dossier/report_spec.rb +4 -6
- data/spec/dossier_spec.rb +14 -1
- data/spec/dummy/app/controllers/site_controller.rb +6 -1
- data/spec/dummy/config/routes.rb +1 -2
- data/spec/dummy/config/setup_load_paths.rb +0 -3
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +512 -0
- data/spec/dummy/log/test.log +1376 -0
- data/spec/dummy/tmp/cache/assets/C35/BF0/sprockets%2F64292e0008108df585a755f2876c7869 +0 -0
- data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/D00/EF0/sprockets%2F4e1e8b85785ee1929c8e355c96902e9c +0 -0
- data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/D45/6A0/sprockets%2F22f3562bf7d5e640880df2a5d683f2fc +0 -0
- data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/DCF/420/sprockets%2F9f127ea0ab7236994d1ceaa7bbea86c8 +0 -0
- data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/fixtures/reports/employee.html +1 -1
- data/spec/fixtures/reports/employee_with_custom_client.html +1 -1
- data/spec/requests/employee_with_custom_controller_spec.rb +13 -0
- data/spec/support/reports/{employee.rb → employee_report.rb} +0 -0
- data/spec/support/reports/{employee_with_custom_client.rb → employee_with_custom_client_report.rb} +0 -0
- data/spec/support/reports/{employee_with_custom_view.rb → employee_with_custom_view_report.rb} +0 -0
- data/spec/support/reports/hello_my_friends_report.rb +5 -0
- data/spec/support/reports/{test.rb → test_report.rb} +0 -0
- metadata +36 -12
data/spec/dummy/log/test.log
CHANGED
@@ -543,3 +543,1379 @@ Processing by Dossier::ReportsController#show as HTML
|
|
543
543
|
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
544
544
|
[1m[36mEmployeeReport (0.3ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
545
545
|
ORDER BY name ASC[0m
|
546
|
+
Connecting to database specified by database.yml
|
547
|
+
Connecting to database specified by database.yml
|
548
|
+
[1m[36mFACTORY (9.2ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
549
|
+
[1m[35mFACTORY (38.1ms)[0m DROP TABLE IF EXISTS `employees`
|
550
|
+
[1m[36mFACTORY (19.4ms)[0m [1m CREATE TABLE `employees` (
|
551
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
552
|
+
`name` varchar(255) NOT NULL,
|
553
|
+
`division` varchar(255) NOT NULL,
|
554
|
+
`salary` int(11) NOT NULL,
|
555
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
556
|
+
`hired_on` date NOT NULL,
|
557
|
+
PRIMARY KEY (`id`)
|
558
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
559
|
+
[0m
|
560
|
+
[1m[35mFACTORY (0.9ms)[0m TRUNCATE `employees`
|
561
|
+
[1m[36mFACTORY (0.6ms)[0m [1m INSERT INTO
|
562
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
563
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
564
|
+
[0m
|
565
|
+
[1m[35mFACTORY (0.5ms)[0m INSERT INTO
|
566
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
567
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
568
|
+
|
569
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
570
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
571
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
572
|
+
[0m
|
573
|
+
[1m[35mFACTORY (6.3ms)[0m DROP TABLE IF EXISTS `employees`
|
574
|
+
[1m[36mFACTORY (1.0ms)[0m [1m CREATE TABLE `employees` (
|
575
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
576
|
+
`name` TEXT NOT NULL,
|
577
|
+
`division` TEXT NOT NULL,
|
578
|
+
`salary` INTEGER NOT NULL,
|
579
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
580
|
+
`hired_on` DATE NOT NULL
|
581
|
+
);
|
582
|
+
[0m
|
583
|
+
[1m[35mFACTORY (0.9ms)[0m DELETE FROM `employees`
|
584
|
+
[1m[36mFACTORY (1.0ms)[0m [1m INSERT INTO
|
585
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
586
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
587
|
+
[0m
|
588
|
+
[1m[35mFACTORY (0.8ms)[0m INSERT INTO
|
589
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
590
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
591
|
+
|
592
|
+
[1m[36mFACTORY (1.6ms)[0m [1m INSERT INTO
|
593
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
594
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
595
|
+
[0m
|
596
|
+
Connecting to database specified by database.yml
|
597
|
+
[1m[36mFACTORY (9.1ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
598
|
+
[1m[35mFACTORY (31.1ms)[0m DROP TABLE IF EXISTS `employees`
|
599
|
+
[1m[36mFACTORY (9.1ms)[0m [1m CREATE TABLE `employees` (
|
600
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
601
|
+
`name` varchar(255) NOT NULL,
|
602
|
+
`division` varchar(255) NOT NULL,
|
603
|
+
`salary` int(11) NOT NULL,
|
604
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
605
|
+
`hired_on` date NOT NULL,
|
606
|
+
PRIMARY KEY (`id`)
|
607
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
608
|
+
[0m
|
609
|
+
[1m[35mFACTORY (0.8ms)[0m TRUNCATE `employees`
|
610
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
611
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
612
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
613
|
+
[0m
|
614
|
+
[1m[35mFACTORY (0.4ms)[0m INSERT INTO
|
615
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
616
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
617
|
+
|
618
|
+
[1m[36mFACTORY (0.4ms)[0m [1m INSERT INTO
|
619
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
620
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
621
|
+
[0m
|
622
|
+
[1m[35mFACTORY (5.0ms)[0m DROP TABLE IF EXISTS `employees`
|
623
|
+
[1m[36mFACTORY (1.0ms)[0m [1m CREATE TABLE `employees` (
|
624
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
625
|
+
`name` TEXT NOT NULL,
|
626
|
+
`division` TEXT NOT NULL,
|
627
|
+
`salary` INTEGER NOT NULL,
|
628
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
629
|
+
`hired_on` DATE NOT NULL
|
630
|
+
);
|
631
|
+
[0m
|
632
|
+
[1m[35mFACTORY (0.7ms)[0m DELETE FROM `employees`
|
633
|
+
[1m[36mFACTORY (1.0ms)[0m [1m INSERT INTO
|
634
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
635
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
636
|
+
[0m
|
637
|
+
[1m[35mFACTORY (0.9ms)[0m INSERT INTO
|
638
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
639
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
640
|
+
|
641
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
642
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
643
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
644
|
+
[0m
|
645
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
646
|
+
ORDER BY name ASC
|
647
|
+
Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2013-02-05 08:49:41 -0500
|
648
|
+
Processing by Dossier::ReportsController#show as HTML
|
649
|
+
Parameters: {"report"=>"employee_with_custom_client"}
|
650
|
+
[1m[36mEmployeeWithCustomClientReport (0.3ms)[0m [1mSELECT * FROM `employees`[0m
|
651
|
+
Rendered /Users/adamhunter/Studio/adamhunter/dossier/app/views/dossier/reports/show.html.haml within layouts/application (3.8ms)
|
652
|
+
Completed 200 OK in 50ms (Views: 8.6ms | ActiveRecord: 0.0ms)
|
653
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-02-05 08:49:41 -0500
|
654
|
+
Processing by Dossier::ReportsController#show as HTML
|
655
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
656
|
+
[1m[35mEmployeeWithCustomViewReport (0.2ms)[0m SELECT * FROM employees WHERE suspended = true
|
657
|
+
Completed 200 OK in 8ms (Views: 4.2ms | ActiveRecord: 0.2ms)
|
658
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-02-05 08:49:41 -0500
|
659
|
+
Processing by Dossier::ReportsController#show as HTML
|
660
|
+
Parameters: {"report"=>"employee"}
|
661
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
662
|
+
ORDER BY name ASC[0m
|
663
|
+
Completed 200 OK in 9ms (Views: 4.2ms | ActiveRecord: 0.0ms)
|
664
|
+
Started GET "/reports/employee?options[salary]=true&options[order]=desc&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[divisions][]=Tedious+Toiling" for 127.0.0.1 at 2013-02-05 08:49:41 -0500
|
665
|
+
Processing by Dossier::ReportsController#show as HTML
|
666
|
+
Parameters: {"options"=>{"salary"=>"true", "order"=>"desc", "names"=>["Jimmy Jackalope", "Moustafa McMann"], "divisions"=>["Tedious Toiling"]}, "report"=>"employee"}
|
667
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
668
|
+
AND division in (('Tedious Toiling'))
|
669
|
+
AND salary > 10000
|
670
|
+
AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
|
671
|
+
ORDER BY name DESC
|
672
|
+
Completed 200 OK in 8ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
673
|
+
Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2013-02-05 08:49:41 -0500
|
674
|
+
Processing by Dossier::ReportsController#show as HTML
|
675
|
+
Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
|
676
|
+
[1m[36mEmployeeReport (0.4ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
677
|
+
ORDER BY name ASC[0m
|
678
|
+
Completed 200 OK in 9ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
679
|
+
Started GET "/reports/employee.csv" for 127.0.0.1 at 2013-02-05 08:49:41 -0500
|
680
|
+
Processing by Dossier::ReportsController#show as CSV
|
681
|
+
Parameters: {"report"=>"employee"}
|
682
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
683
|
+
ORDER BY name ASC
|
684
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
|
685
|
+
Started GET "/reports/employee.xls" for 127.0.0.1 at 2013-02-05 08:49:41 -0500
|
686
|
+
Processing by Dossier::ReportsController#show as XLS
|
687
|
+
Parameters: {"report"=>"employee"}
|
688
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
689
|
+
ORDER BY name ASC[0m
|
690
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.2ms)
|
691
|
+
Connecting to database specified by database.yml
|
692
|
+
[1m[36mFACTORY (0.2ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
693
|
+
[1m[35mFACTORY (0.8ms)[0m DROP TABLE IF EXISTS `employees`
|
694
|
+
[1m[36mFACTORY (17.4ms)[0m [1m CREATE TABLE `employees` (
|
695
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
696
|
+
`name` varchar(255) NOT NULL,
|
697
|
+
`division` varchar(255) NOT NULL,
|
698
|
+
`salary` int(11) NOT NULL,
|
699
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
700
|
+
`hired_on` date NOT NULL,
|
701
|
+
PRIMARY KEY (`id`)
|
702
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
703
|
+
[0m
|
704
|
+
[1m[35mFACTORY (1.4ms)[0m TRUNCATE `employees`
|
705
|
+
[1m[36mFACTORY (0.6ms)[0m [1m INSERT INTO
|
706
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
707
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
708
|
+
[0m
|
709
|
+
[1m[35mFACTORY (0.6ms)[0m INSERT INTO
|
710
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
711
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
712
|
+
|
713
|
+
[1m[36mFACTORY (0.6ms)[0m [1m INSERT INTO
|
714
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
715
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
716
|
+
[0m
|
717
|
+
[1m[35mFACTORY (1.8ms)[0m DROP TABLE IF EXISTS `employees`
|
718
|
+
[1m[36mFACTORY (1.1ms)[0m [1m CREATE TABLE `employees` (
|
719
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
720
|
+
`name` TEXT NOT NULL,
|
721
|
+
`division` TEXT NOT NULL,
|
722
|
+
`salary` INTEGER NOT NULL,
|
723
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
724
|
+
`hired_on` DATE NOT NULL
|
725
|
+
);
|
726
|
+
[0m
|
727
|
+
[1m[35mFACTORY (0.9ms)[0m DELETE FROM `employees`
|
728
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
729
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
730
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
731
|
+
[0m
|
732
|
+
[1m[35mFACTORY (0.8ms)[0m INSERT INTO
|
733
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
734
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
735
|
+
|
736
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
737
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
738
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
739
|
+
[0m
|
740
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
741
|
+
ORDER BY name ASC
|
742
|
+
Started GET "/reports/employee.xls" for 127.0.0.1 at 2013-02-05 08:50:33 -0500
|
743
|
+
Processing by Dossier::ReportsController#show as XLS
|
744
|
+
Parameters: {"report"=>"employee"}
|
745
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
746
|
+
ORDER BY name ASC[0m
|
747
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.2ms)
|
748
|
+
Started GET "/reports/employee.csv" for 127.0.0.1 at 2013-02-05 08:50:33 -0500
|
749
|
+
Processing by Dossier::ReportsController#show as CSV
|
750
|
+
Parameters: {"report"=>"employee"}
|
751
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
752
|
+
ORDER BY name ASC
|
753
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
|
754
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-02-05 08:50:33 -0500
|
755
|
+
Processing by Dossier::ReportsController#show as HTML
|
756
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
757
|
+
[1m[36mEmployeeWithCustomViewReport (0.2ms)[0m [1mSELECT * FROM employees WHERE suspended = true[0m
|
758
|
+
Completed 200 OK in 14ms (Views: 10.4ms | ActiveRecord: 0.2ms)
|
759
|
+
Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2013-02-05 08:50:33 -0500
|
760
|
+
Processing by Dossier::ReportsController#show as HTML
|
761
|
+
Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
|
762
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
763
|
+
ORDER BY name ASC
|
764
|
+
Completed 200 OK in 13ms (Views: 9.1ms | ActiveRecord: 0.0ms)
|
765
|
+
Started GET "/reports/employee?options[salary]=true&options[order]=desc&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[divisions][]=Tedious+Toiling" for 127.0.0.1 at 2013-02-05 08:50:33 -0500
|
766
|
+
Processing by Dossier::ReportsController#show as HTML
|
767
|
+
Parameters: {"options"=>{"salary"=>"true", "order"=>"desc", "names"=>["Jimmy Jackalope", "Moustafa McMann"], "divisions"=>["Tedious Toiling"]}, "report"=>"employee"}
|
768
|
+
[1m[36mEmployeeReport (0.4ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
769
|
+
AND division in (('Tedious Toiling'))
|
770
|
+
AND salary > 10000
|
771
|
+
AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
|
772
|
+
ORDER BY name DESC[0m
|
773
|
+
Completed 200 OK in 10ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
774
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-02-05 08:50:33 -0500
|
775
|
+
Processing by Dossier::ReportsController#show as HTML
|
776
|
+
Parameters: {"report"=>"employee"}
|
777
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
778
|
+
ORDER BY name ASC
|
779
|
+
Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
780
|
+
Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2013-02-05 08:50:33 -0500
|
781
|
+
Processing by Dossier::ReportsController#show as HTML
|
782
|
+
Parameters: {"report"=>"employee_with_custom_client"}
|
783
|
+
[1m[36mEmployeeWithCustomClientReport (0.3ms)[0m [1mSELECT * FROM `employees`[0m
|
784
|
+
Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
785
|
+
Connecting to database specified by database.yml
|
786
|
+
[1m[36mFACTORY (0.1ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
787
|
+
[1m[35mFACTORY (0.8ms)[0m DROP TABLE IF EXISTS `employees`
|
788
|
+
[1m[36mFACTORY (9.3ms)[0m [1m CREATE TABLE `employees` (
|
789
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
790
|
+
`name` varchar(255) NOT NULL,
|
791
|
+
`division` varchar(255) NOT NULL,
|
792
|
+
`salary` int(11) NOT NULL,
|
793
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
794
|
+
`hired_on` date NOT NULL,
|
795
|
+
PRIMARY KEY (`id`)
|
796
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
797
|
+
[0m
|
798
|
+
[1m[35mFACTORY (0.8ms)[0m TRUNCATE `employees`
|
799
|
+
[1m[36mFACTORY (0.6ms)[0m [1m INSERT INTO
|
800
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
801
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
802
|
+
[0m
|
803
|
+
[1m[35mFACTORY (0.6ms)[0m INSERT INTO
|
804
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
805
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
806
|
+
|
807
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
808
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
809
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
810
|
+
[0m
|
811
|
+
[1m[35mFACTORY (1.6ms)[0m DROP TABLE IF EXISTS `employees`
|
812
|
+
[1m[36mFACTORY (1.0ms)[0m [1m CREATE TABLE `employees` (
|
813
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
814
|
+
`name` TEXT NOT NULL,
|
815
|
+
`division` TEXT NOT NULL,
|
816
|
+
`salary` INTEGER NOT NULL,
|
817
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
818
|
+
`hired_on` DATE NOT NULL
|
819
|
+
);
|
820
|
+
[0m
|
821
|
+
[1m[35mFACTORY (0.9ms)[0m DELETE FROM `employees`
|
822
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
823
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
824
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
825
|
+
[0m
|
826
|
+
[1m[35mFACTORY (0.8ms)[0m INSERT INTO
|
827
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
828
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
829
|
+
|
830
|
+
[1m[36mFACTORY (0.7ms)[0m [1m INSERT INTO
|
831
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
832
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
833
|
+
[0m
|
834
|
+
Started GET "/reports/employee.xls" for 127.0.0.1 at 2013-02-05 08:53:59 -0500
|
835
|
+
Processing by Dossier::ReportsController#show as XLS
|
836
|
+
Parameters: {"report"=>"employee"}
|
837
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
838
|
+
ORDER BY name ASC
|
839
|
+
Completed 200 OK in 6ms (ActiveRecord: 0.3ms)
|
840
|
+
Started GET "/reports/employee.csv" for 127.0.0.1 at 2013-02-05 08:53:59 -0500
|
841
|
+
Processing by Dossier::ReportsController#show as CSV
|
842
|
+
Parameters: {"report"=>"employee"}
|
843
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
844
|
+
ORDER BY name ASC[0m
|
845
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.2ms)
|
846
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-02-05 08:53:59 -0500
|
847
|
+
Processing by Dossier::ReportsController#show as HTML
|
848
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
849
|
+
[1m[35mEmployeeWithCustomViewReport (0.2ms)[0m SELECT * FROM employees WHERE suspended = true
|
850
|
+
Completed 500 Internal Server Error in 4ms
|
851
|
+
Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2013-02-05 08:53:59 -0500
|
852
|
+
Processing by Dossier::ReportsController#show as HTML
|
853
|
+
Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
|
854
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
855
|
+
ORDER BY name ASC[0m
|
856
|
+
Completed 500 Internal Server Error in 4ms
|
857
|
+
Started GET "/reports/employee?options[salary]=true&options[order]=desc&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[divisions][]=Tedious+Toiling" for 127.0.0.1 at 2013-02-05 08:53:59 -0500
|
858
|
+
Processing by Dossier::ReportsController#show as HTML
|
859
|
+
Parameters: {"options"=>{"salary"=>"true", "order"=>"desc", "names"=>["Jimmy Jackalope", "Moustafa McMann"], "divisions"=>["Tedious Toiling"]}, "report"=>"employee"}
|
860
|
+
[1m[35mEmployeeReport (0.4ms)[0m SELECT * FROM employees WHERE 1=1
|
861
|
+
AND division in (('Tedious Toiling'))
|
862
|
+
AND salary > 10000
|
863
|
+
AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
|
864
|
+
ORDER BY name DESC
|
865
|
+
Completed 500 Internal Server Error in 7ms
|
866
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-02-05 08:53:59 -0500
|
867
|
+
Processing by Dossier::ReportsController#show as HTML
|
868
|
+
Parameters: {"report"=>"employee"}
|
869
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
870
|
+
ORDER BY name ASC[0m
|
871
|
+
Completed 500 Internal Server Error in 4ms
|
872
|
+
Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2013-02-05 08:53:59 -0500
|
873
|
+
Processing by Dossier::ReportsController#show as HTML
|
874
|
+
Parameters: {"report"=>"employee_with_custom_client"}
|
875
|
+
[1m[35mEmployeeWithCustomClientReport (0.3ms)[0m SELECT * FROM `employees`
|
876
|
+
Completed 500 Internal Server Error in 2ms
|
877
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
878
|
+
ORDER BY name ASC[0m
|
879
|
+
Connecting to database specified by database.yml
|
880
|
+
[1m[36mFACTORY (0.1ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
881
|
+
[1m[35mFACTORY (0.8ms)[0m DROP TABLE IF EXISTS `employees`
|
882
|
+
[1m[36mFACTORY (13.7ms)[0m [1m CREATE TABLE `employees` (
|
883
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
884
|
+
`name` varchar(255) NOT NULL,
|
885
|
+
`division` varchar(255) NOT NULL,
|
886
|
+
`salary` int(11) NOT NULL,
|
887
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
888
|
+
`hired_on` date NOT NULL,
|
889
|
+
PRIMARY KEY (`id`)
|
890
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
891
|
+
[0m
|
892
|
+
[1m[35mFACTORY (0.7ms)[0m TRUNCATE `employees`
|
893
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
894
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
895
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
896
|
+
[0m
|
897
|
+
[1m[35mFACTORY (0.5ms)[0m INSERT INTO
|
898
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
899
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
900
|
+
|
901
|
+
[1m[36mFACTORY (0.4ms)[0m [1m INSERT INTO
|
902
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
903
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
904
|
+
[0m
|
905
|
+
[1m[35mFACTORY (1.7ms)[0m DROP TABLE IF EXISTS `employees`
|
906
|
+
[1m[36mFACTORY (1.2ms)[0m [1m CREATE TABLE `employees` (
|
907
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
908
|
+
`name` TEXT NOT NULL,
|
909
|
+
`division` TEXT NOT NULL,
|
910
|
+
`salary` INTEGER NOT NULL,
|
911
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
912
|
+
`hired_on` DATE NOT NULL
|
913
|
+
);
|
914
|
+
[0m
|
915
|
+
[1m[35mFACTORY (0.8ms)[0m DELETE FROM `employees`
|
916
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
917
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
918
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
919
|
+
[0m
|
920
|
+
[1m[35mFACTORY (0.8ms)[0m INSERT INTO
|
921
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
922
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
923
|
+
|
924
|
+
[1m[36mFACTORY (1.0ms)[0m [1m INSERT INTO
|
925
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
926
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
927
|
+
[0m
|
928
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-02-05 08:54:10 -0500
|
929
|
+
Processing by Dossier::ReportsController#show as HTML
|
930
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
931
|
+
[1m[35mEmployeeWithCustomViewReport (0.3ms)[0m SELECT * FROM employees WHERE suspended = true
|
932
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (0.8ms)
|
933
|
+
Completed 200 OK in 15ms (Views: 10.1ms | ActiveRecord: 0.3ms)
|
934
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-02-05 08:54:10 -0500
|
935
|
+
Processing by Dossier::ReportsController#show as HTML
|
936
|
+
Parameters: {"report"=>"employee"}
|
937
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
938
|
+
ORDER BY name ASC[0m
|
939
|
+
Completed 200 OK in 14ms (Views: 9.4ms | ActiveRecord: 0.0ms)
|
940
|
+
Started GET "/reports/employee?options[salary]=true&options[order]=desc&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[divisions][]=Tedious+Toiling" for 127.0.0.1 at 2013-02-05 08:54:10 -0500
|
941
|
+
Processing by Dossier::ReportsController#show as HTML
|
942
|
+
Parameters: {"options"=>{"salary"=>"true", "order"=>"desc", "names"=>["Jimmy Jackalope", "Moustafa McMann"], "divisions"=>["Tedious Toiling"]}, "report"=>"employee"}
|
943
|
+
[1m[35mEmployeeReport (0.4ms)[0m SELECT * FROM employees WHERE 1=1
|
944
|
+
AND division in (('Tedious Toiling'))
|
945
|
+
AND salary > 10000
|
946
|
+
AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
|
947
|
+
ORDER BY name DESC
|
948
|
+
Completed 200 OK in 10ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
949
|
+
Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2013-02-05 08:54:10 -0500
|
950
|
+
Processing by Dossier::ReportsController#show as HTML
|
951
|
+
Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
|
952
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
953
|
+
ORDER BY name ASC[0m
|
954
|
+
Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
955
|
+
Started GET "/reports/employee.csv" for 127.0.0.1 at 2013-02-05 08:54:10 -0500
|
956
|
+
Processing by Dossier::ReportsController#show as CSV
|
957
|
+
Parameters: {"report"=>"employee"}
|
958
|
+
[1m[35mEmployeeReport (0.2ms)[0m SELECT * FROM employees WHERE 1=1
|
959
|
+
ORDER BY name ASC
|
960
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.2ms)
|
961
|
+
Started GET "/reports/employee.xls" for 127.0.0.1 at 2013-02-05 08:54:10 -0500
|
962
|
+
Processing by Dossier::ReportsController#show as XLS
|
963
|
+
Parameters: {"report"=>"employee"}
|
964
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
965
|
+
ORDER BY name ASC[0m
|
966
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
|
967
|
+
Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2013-02-05 08:54:10 -0500
|
968
|
+
Processing by Dossier::ReportsController#show as HTML
|
969
|
+
Parameters: {"report"=>"employee_with_custom_client"}
|
970
|
+
[1m[35mEmployeeWithCustomClientReport (0.3ms)[0m SELECT * FROM `employees`
|
971
|
+
Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
972
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
973
|
+
ORDER BY name ASC[0m
|
974
|
+
Connecting to database specified by database.yml
|
975
|
+
[1m[36mFACTORY (0.2ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
976
|
+
[1m[35mFACTORY (0.9ms)[0m DROP TABLE IF EXISTS `employees`
|
977
|
+
[1m[36mFACTORY (14.2ms)[0m [1m CREATE TABLE `employees` (
|
978
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
979
|
+
`name` varchar(255) NOT NULL,
|
980
|
+
`division` varchar(255) NOT NULL,
|
981
|
+
`salary` int(11) NOT NULL,
|
982
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
983
|
+
`hired_on` date NOT NULL,
|
984
|
+
PRIMARY KEY (`id`)
|
985
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
986
|
+
[0m
|
987
|
+
[1m[35mFACTORY (1.0ms)[0m TRUNCATE `employees`
|
988
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
989
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
990
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
991
|
+
[0m
|
992
|
+
[1m[35mFACTORY (0.4ms)[0m INSERT INTO
|
993
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
994
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
995
|
+
|
996
|
+
[1m[36mFACTORY (0.4ms)[0m [1m INSERT INTO
|
997
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
998
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
999
|
+
[0m
|
1000
|
+
[1m[35mFACTORY (1.3ms)[0m DROP TABLE IF EXISTS `employees`
|
1001
|
+
[1m[36mFACTORY (0.8ms)[0m [1m CREATE TABLE `employees` (
|
1002
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
1003
|
+
`name` TEXT NOT NULL,
|
1004
|
+
`division` TEXT NOT NULL,
|
1005
|
+
`salary` INTEGER NOT NULL,
|
1006
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
1007
|
+
`hired_on` DATE NOT NULL
|
1008
|
+
);
|
1009
|
+
[0m
|
1010
|
+
[1m[35mFACTORY (0.7ms)[0m DELETE FROM `employees`
|
1011
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
1012
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1013
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
1014
|
+
[0m
|
1015
|
+
[1m[35mFACTORY (1.1ms)[0m INSERT INTO
|
1016
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1017
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
1018
|
+
|
1019
|
+
[1m[36mFACTORY (1.0ms)[0m [1m INSERT INTO
|
1020
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1021
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
1022
|
+
[0m
|
1023
|
+
Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2013-02-05 08:55:27 -0500
|
1024
|
+
Processing by Dossier::ReportsController#show as HTML
|
1025
|
+
Parameters: {"report"=>"employee_with_custom_client"}
|
1026
|
+
[1m[35mEmployeeWithCustomClientReport (1.4ms)[0m SELECT * FROM `employees`
|
1027
|
+
Rendered /Users/adamhunter/Studio/adamhunter/dossier/app/views/dossier/reports/show.html.haml within layouts/application (3.7ms)
|
1028
|
+
Completed 200 OK in 17ms (Views: 6.8ms | ActiveRecord: 0.0ms)
|
1029
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1030
|
+
ORDER BY name ASC[0m
|
1031
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-02-05 08:55:27 -0500
|
1032
|
+
Processing by Dossier::ReportsController#show as HTML
|
1033
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
1034
|
+
[1m[35mEmployeeWithCustomViewReport (0.2ms)[0m SELECT * FROM employees WHERE suspended = true
|
1035
|
+
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms)
|
1036
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-02-05 08:55:27 -0500
|
1037
|
+
Processing by Dossier::ReportsController#show as HTML
|
1038
|
+
Parameters: {"report"=>"employee"}
|
1039
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1040
|
+
ORDER BY name ASC[0m
|
1041
|
+
Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
1042
|
+
Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2013-02-05 08:55:27 -0500
|
1043
|
+
Processing by Dossier::ReportsController#show as HTML
|
1044
|
+
Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
|
1045
|
+
[1m[35mEmployeeReport (0.2ms)[0m SELECT * FROM employees WHERE 1=1
|
1046
|
+
ORDER BY name ASC
|
1047
|
+
Completed 200 OK in 9ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
1048
|
+
Started GET "/reports/employee?options[salary]=true&options[order]=desc&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[divisions][]=Tedious+Toiling" for 127.0.0.1 at 2013-02-05 08:55:27 -0500
|
1049
|
+
Processing by Dossier::ReportsController#show as HTML
|
1050
|
+
Parameters: {"options"=>{"salary"=>"true", "order"=>"desc", "names"=>["Jimmy Jackalope", "Moustafa McMann"], "divisions"=>["Tedious Toiling"]}, "report"=>"employee"}
|
1051
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1052
|
+
AND division in (('Tedious Toiling'))
|
1053
|
+
AND salary > 10000
|
1054
|
+
AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
|
1055
|
+
ORDER BY name DESC[0m
|
1056
|
+
Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
1057
|
+
Started GET "/reports/employee.xls" for 127.0.0.1 at 2013-02-05 08:55:27 -0500
|
1058
|
+
Processing by Dossier::ReportsController#show as XLS
|
1059
|
+
Parameters: {"report"=>"employee"}
|
1060
|
+
[1m[35mEmployeeReport (0.4ms)[0m SELECT * FROM employees WHERE 1=1
|
1061
|
+
ORDER BY name ASC
|
1062
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
|
1063
|
+
Started GET "/reports/employee.csv" for 127.0.0.1 at 2013-02-05 08:55:27 -0500
|
1064
|
+
Processing by Dossier::ReportsController#show as CSV
|
1065
|
+
Parameters: {"report"=>"employee"}
|
1066
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1067
|
+
ORDER BY name ASC[0m
|
1068
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.2ms)
|
1069
|
+
Connecting to database specified by database.yml
|
1070
|
+
[1m[36mFACTORY (0.2ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
1071
|
+
[1m[35mFACTORY (0.8ms)[0m DROP TABLE IF EXISTS `employees`
|
1072
|
+
[1m[36mFACTORY (13.9ms)[0m [1m CREATE TABLE `employees` (
|
1073
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
1074
|
+
`name` varchar(255) NOT NULL,
|
1075
|
+
`division` varchar(255) NOT NULL,
|
1076
|
+
`salary` int(11) NOT NULL,
|
1077
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
1078
|
+
`hired_on` date NOT NULL,
|
1079
|
+
PRIMARY KEY (`id`)
|
1080
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
1081
|
+
[0m
|
1082
|
+
[1m[35mFACTORY (1.7ms)[0m TRUNCATE `employees`
|
1083
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
1084
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1085
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
1086
|
+
[0m
|
1087
|
+
[1m[35mFACTORY (0.7ms)[0m INSERT INTO
|
1088
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1089
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
1090
|
+
|
1091
|
+
[1m[36mFACTORY (0.7ms)[0m [1m INSERT INTO
|
1092
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1093
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
1094
|
+
[0m
|
1095
|
+
[1m[35mFACTORY (1.6ms)[0m DROP TABLE IF EXISTS `employees`
|
1096
|
+
[1m[36mFACTORY (1.1ms)[0m [1m CREATE TABLE `employees` (
|
1097
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
1098
|
+
`name` TEXT NOT NULL,
|
1099
|
+
`division` TEXT NOT NULL,
|
1100
|
+
`salary` INTEGER NOT NULL,
|
1101
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
1102
|
+
`hired_on` DATE NOT NULL
|
1103
|
+
);
|
1104
|
+
[0m
|
1105
|
+
[1m[35mFACTORY (0.8ms)[0m DELETE FROM `employees`
|
1106
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
1107
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1108
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
1109
|
+
[0m
|
1110
|
+
[1m[35mFACTORY (1.0ms)[0m INSERT INTO
|
1111
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1112
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
1113
|
+
|
1114
|
+
[1m[36mFACTORY (0.7ms)[0m [1m INSERT INTO
|
1115
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1116
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
1117
|
+
[0m
|
1118
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1119
|
+
ORDER BY name ASC
|
1120
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-02-05 08:57:06 -0500
|
1121
|
+
Processing by Dossier::ReportsController#show as HTML
|
1122
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
1123
|
+
[1m[36mEmployeeWithCustomViewReport (0.2ms)[0m [1mSELECT * FROM employees WHERE suspended = true[0m
|
1124
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (0.8ms)
|
1125
|
+
Completed 200 OK in 14ms (Views: 10.1ms | ActiveRecord: 0.2ms)
|
1126
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-02-05 08:57:06 -0500
|
1127
|
+
Processing by Dossier::ReportsController#show as HTML
|
1128
|
+
Parameters: {"report"=>"employee"}
|
1129
|
+
[1m[35mEmployeeReport (0.2ms)[0m SELECT * FROM employees WHERE 1=1
|
1130
|
+
ORDER BY name ASC
|
1131
|
+
Completed 200 OK in 33ms (Views: 5.9ms | ActiveRecord: 0.0ms)
|
1132
|
+
Started GET "/reports/employee?options[salary]=true&options[order]=desc&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[divisions][]=Tedious+Toiling" for 127.0.0.1 at 2013-02-05 08:57:06 -0500
|
1133
|
+
Processing by Dossier::ReportsController#show as HTML
|
1134
|
+
Parameters: {"options"=>{"salary"=>"true", "order"=>"desc", "names"=>["Jimmy Jackalope", "Moustafa McMann"], "divisions"=>["Tedious Toiling"]}, "report"=>"employee"}
|
1135
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1136
|
+
AND division in (('Tedious Toiling'))
|
1137
|
+
AND salary > 10000
|
1138
|
+
AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
|
1139
|
+
ORDER BY name DESC[0m
|
1140
|
+
Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
1141
|
+
Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2013-02-05 08:57:06 -0500
|
1142
|
+
Processing by Dossier::ReportsController#show as HTML
|
1143
|
+
Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
|
1144
|
+
[1m[35mEmployeeReport (0.2ms)[0m SELECT * FROM employees WHERE 1=1
|
1145
|
+
ORDER BY name ASC
|
1146
|
+
Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
1147
|
+
Started GET "/reports/employee.csv" for 127.0.0.1 at 2013-02-05 08:57:06 -0500
|
1148
|
+
Processing by Dossier::ReportsController#show as CSV
|
1149
|
+
Parameters: {"report"=>"employee"}
|
1150
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1151
|
+
ORDER BY name ASC[0m
|
1152
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
|
1153
|
+
Started GET "/reports/employee.xls" for 127.0.0.1 at 2013-02-05 08:57:06 -0500
|
1154
|
+
Processing by Dossier::ReportsController#show as XLS
|
1155
|
+
Parameters: {"report"=>"employee"}
|
1156
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1157
|
+
ORDER BY name ASC
|
1158
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
|
1159
|
+
Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2013-02-05 08:57:06 -0500
|
1160
|
+
Processing by Dossier::ReportsController#show as HTML
|
1161
|
+
Parameters: {"report"=>"employee_with_custom_client"}
|
1162
|
+
[1m[36mEmployeeWithCustomClientReport (0.3ms)[0m [1mSELECT * FROM `employees`[0m
|
1163
|
+
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
1164
|
+
Connecting to database specified by database.yml
|
1165
|
+
[1m[36mFACTORY (0.1ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
1166
|
+
[1m[35mFACTORY (0.8ms)[0m DROP TABLE IF EXISTS `employees`
|
1167
|
+
[1m[36mFACTORY (12.0ms)[0m [1m CREATE TABLE `employees` (
|
1168
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
1169
|
+
`name` varchar(255) NOT NULL,
|
1170
|
+
`division` varchar(255) NOT NULL,
|
1171
|
+
`salary` int(11) NOT NULL,
|
1172
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
1173
|
+
`hired_on` date NOT NULL,
|
1174
|
+
PRIMARY KEY (`id`)
|
1175
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
1176
|
+
[0m
|
1177
|
+
[1m[35mFACTORY (0.8ms)[0m TRUNCATE `employees`
|
1178
|
+
[1m[36mFACTORY (0.6ms)[0m [1m INSERT INTO
|
1179
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1180
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
1181
|
+
[0m
|
1182
|
+
[1m[35mFACTORY (0.5ms)[0m INSERT INTO
|
1183
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1184
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
1185
|
+
|
1186
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
1187
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1188
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
1189
|
+
[0m
|
1190
|
+
[1m[35mFACTORY (1.7ms)[0m DROP TABLE IF EXISTS `employees`
|
1191
|
+
[1m[36mFACTORY (1.0ms)[0m [1m CREATE TABLE `employees` (
|
1192
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
1193
|
+
`name` TEXT NOT NULL,
|
1194
|
+
`division` TEXT NOT NULL,
|
1195
|
+
`salary` INTEGER NOT NULL,
|
1196
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
1197
|
+
`hired_on` DATE NOT NULL
|
1198
|
+
);
|
1199
|
+
[0m
|
1200
|
+
[1m[35mFACTORY (1.3ms)[0m DELETE FROM `employees`
|
1201
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
1202
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1203
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
1204
|
+
[0m
|
1205
|
+
[1m[35mFACTORY (1.0ms)[0m INSERT INTO
|
1206
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1207
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
1208
|
+
|
1209
|
+
[1m[36mFACTORY (0.8ms)[0m [1m INSERT INTO
|
1210
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1211
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
1212
|
+
[0m
|
1213
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1214
|
+
ORDER BY name ASC
|
1215
|
+
Started GET "/reports/employee.xls" for 127.0.0.1 at 2013-02-05 08:58:26 -0500
|
1216
|
+
Processing by Dossier::ReportsController#show as XLS
|
1217
|
+
Parameters: {"report"=>"employee"}
|
1218
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1219
|
+
ORDER BY name ASC[0m
|
1220
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.2ms)
|
1221
|
+
Started GET "/reports/employee.csv" for 127.0.0.1 at 2013-02-05 08:58:26 -0500
|
1222
|
+
Processing by Dossier::ReportsController#show as CSV
|
1223
|
+
Parameters: {"report"=>"employee"}
|
1224
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1225
|
+
ORDER BY name ASC
|
1226
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
|
1227
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-02-05 08:58:26 -0500
|
1228
|
+
Processing by Dossier::ReportsController#show as HTML
|
1229
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
1230
|
+
[1m[36mEmployeeWithCustomViewReport (0.2ms)[0m [1mSELECT * FROM employees WHERE suspended = true[0m
|
1231
|
+
Completed 200 OK in 14ms (Views: 10.3ms | ActiveRecord: 0.2ms)
|
1232
|
+
Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2013-02-05 08:58:26 -0500
|
1233
|
+
Processing by Dossier::ReportsController#show as HTML
|
1234
|
+
Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
|
1235
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1236
|
+
ORDER BY name ASC
|
1237
|
+
Completed 200 OK in 36ms (Views: 8.7ms | ActiveRecord: 0.0ms)
|
1238
|
+
Started GET "/reports/employee?options[salary]=true&options[order]=desc&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[divisions][]=Tedious+Toiling" for 127.0.0.1 at 2013-02-05 08:58:26 -0500
|
1239
|
+
Processing by Dossier::ReportsController#show as HTML
|
1240
|
+
Parameters: {"options"=>{"salary"=>"true", "order"=>"desc", "names"=>["Jimmy Jackalope", "Moustafa McMann"], "divisions"=>["Tedious Toiling"]}, "report"=>"employee"}
|
1241
|
+
[1m[36mEmployeeReport (0.4ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1242
|
+
AND division in (('Tedious Toiling'))
|
1243
|
+
AND salary > 10000
|
1244
|
+
AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
|
1245
|
+
ORDER BY name DESC[0m
|
1246
|
+
Completed 200 OK in 9ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
1247
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-02-05 08:58:26 -0500
|
1248
|
+
Processing by Dossier::ReportsController#show as HTML
|
1249
|
+
Parameters: {"report"=>"employee"}
|
1250
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1251
|
+
ORDER BY name ASC
|
1252
|
+
Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
1253
|
+
Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2013-02-05 08:58:26 -0500
|
1254
|
+
Processing by Dossier::ReportsController#show as HTML
|
1255
|
+
Parameters: {"report"=>"employee_with_custom_client"}
|
1256
|
+
[1m[36mEmployeeWithCustomClientReport (0.3ms)[0m [1mSELECT * FROM `employees`[0m
|
1257
|
+
Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
1258
|
+
Connecting to database specified by database.yml
|
1259
|
+
[1m[36mFACTORY (0.1ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
1260
|
+
[1m[35mFACTORY (0.7ms)[0m DROP TABLE IF EXISTS `employees`
|
1261
|
+
[1m[36mFACTORY (18.1ms)[0m [1m CREATE TABLE `employees` (
|
1262
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
1263
|
+
`name` varchar(255) NOT NULL,
|
1264
|
+
`division` varchar(255) NOT NULL,
|
1265
|
+
`salary` int(11) NOT NULL,
|
1266
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
1267
|
+
`hired_on` date NOT NULL,
|
1268
|
+
PRIMARY KEY (`id`)
|
1269
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
1270
|
+
[0m
|
1271
|
+
[1m[35mFACTORY (1.1ms)[0m TRUNCATE `employees`
|
1272
|
+
[1m[36mFACTORY (0.6ms)[0m [1m INSERT INTO
|
1273
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1274
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
1275
|
+
[0m
|
1276
|
+
[1m[35mFACTORY (0.9ms)[0m INSERT INTO
|
1277
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1278
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
1279
|
+
|
1280
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
1281
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1282
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
1283
|
+
[0m
|
1284
|
+
[1m[35mFACTORY (1.4ms)[0m DROP TABLE IF EXISTS `employees`
|
1285
|
+
[1m[36mFACTORY (1.4ms)[0m [1m CREATE TABLE `employees` (
|
1286
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
1287
|
+
`name` TEXT NOT NULL,
|
1288
|
+
`division` TEXT NOT NULL,
|
1289
|
+
`salary` INTEGER NOT NULL,
|
1290
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
1291
|
+
`hired_on` DATE NOT NULL
|
1292
|
+
);
|
1293
|
+
[0m
|
1294
|
+
[1m[35mFACTORY (0.8ms)[0m DELETE FROM `employees`
|
1295
|
+
[1m[36mFACTORY (1.2ms)[0m [1m INSERT INTO
|
1296
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1297
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
1298
|
+
[0m
|
1299
|
+
[1m[35mFACTORY (0.8ms)[0m INSERT INTO
|
1300
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1301
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
1302
|
+
|
1303
|
+
[1m[36mFACTORY (1.0ms)[0m [1m INSERT INTO
|
1304
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1305
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
1306
|
+
[0m
|
1307
|
+
Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2013-02-05 09:00:17 -0500
|
1308
|
+
Connecting to database specified by database.yml
|
1309
|
+
[1m[36mFACTORY (0.1ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
1310
|
+
[1m[35mFACTORY (1.0ms)[0m DROP TABLE IF EXISTS `employees`
|
1311
|
+
[1m[36mFACTORY (13.7ms)[0m [1m CREATE TABLE `employees` (
|
1312
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
1313
|
+
`name` varchar(255) NOT NULL,
|
1314
|
+
`division` varchar(255) NOT NULL,
|
1315
|
+
`salary` int(11) NOT NULL,
|
1316
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
1317
|
+
`hired_on` date NOT NULL,
|
1318
|
+
PRIMARY KEY (`id`)
|
1319
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
1320
|
+
[0m
|
1321
|
+
[1m[35mFACTORY (1.1ms)[0m TRUNCATE `employees`
|
1322
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
1323
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1324
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
1325
|
+
[0m
|
1326
|
+
[1m[35mFACTORY (0.4ms)[0m INSERT INTO
|
1327
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1328
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
1329
|
+
|
1330
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
1331
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1332
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
1333
|
+
[0m
|
1334
|
+
[1m[35mFACTORY (3.4ms)[0m DROP TABLE IF EXISTS `employees`
|
1335
|
+
[1m[36mFACTORY (0.8ms)[0m [1m CREATE TABLE `employees` (
|
1336
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
1337
|
+
`name` TEXT NOT NULL,
|
1338
|
+
`division` TEXT NOT NULL,
|
1339
|
+
`salary` INTEGER NOT NULL,
|
1340
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
1341
|
+
`hired_on` DATE NOT NULL
|
1342
|
+
);
|
1343
|
+
[0m
|
1344
|
+
[1m[35mFACTORY (0.6ms)[0m DELETE FROM `employees`
|
1345
|
+
[1m[36mFACTORY (0.7ms)[0m [1m INSERT INTO
|
1346
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1347
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
1348
|
+
[0m
|
1349
|
+
[1m[35mFACTORY (1.1ms)[0m INSERT INTO
|
1350
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1351
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
1352
|
+
|
1353
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
1354
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1355
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
1356
|
+
[0m
|
1357
|
+
Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2013-02-05 09:00:27 -0500
|
1358
|
+
Connecting to database specified by database.yml
|
1359
|
+
[1m[36mFACTORY (0.2ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
1360
|
+
[1m[35mFACTORY (1.6ms)[0m DROP TABLE IF EXISTS `employees`
|
1361
|
+
[1m[36mFACTORY (13.7ms)[0m [1m CREATE TABLE `employees` (
|
1362
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
1363
|
+
`name` varchar(255) NOT NULL,
|
1364
|
+
`division` varchar(255) NOT NULL,
|
1365
|
+
`salary` int(11) NOT NULL,
|
1366
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
1367
|
+
`hired_on` date NOT NULL,
|
1368
|
+
PRIMARY KEY (`id`)
|
1369
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
1370
|
+
[0m
|
1371
|
+
[1m[35mFACTORY (0.8ms)[0m TRUNCATE `employees`
|
1372
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
1373
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1374
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
1375
|
+
[0m
|
1376
|
+
[1m[35mFACTORY (0.5ms)[0m INSERT INTO
|
1377
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1378
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
1379
|
+
|
1380
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
1381
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1382
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
1383
|
+
[0m
|
1384
|
+
[1m[35mFACTORY (2.5ms)[0m DROP TABLE IF EXISTS `employees`
|
1385
|
+
[1m[36mFACTORY (1.2ms)[0m [1m CREATE TABLE `employees` (
|
1386
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
1387
|
+
`name` TEXT NOT NULL,
|
1388
|
+
`division` TEXT NOT NULL,
|
1389
|
+
`salary` INTEGER NOT NULL,
|
1390
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
1391
|
+
`hired_on` DATE NOT NULL
|
1392
|
+
);
|
1393
|
+
[0m
|
1394
|
+
[1m[35mFACTORY (0.8ms)[0m DELETE FROM `employees`
|
1395
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
1396
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1397
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
1398
|
+
[0m
|
1399
|
+
[1m[35mFACTORY (0.9ms)[0m INSERT INTO
|
1400
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1401
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
1402
|
+
|
1403
|
+
[1m[36mFACTORY (0.8ms)[0m [1m INSERT INTO
|
1404
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1405
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
1406
|
+
[0m
|
1407
|
+
Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2013-02-05 09:05:58 -0500
|
1408
|
+
Processing by SiteController#report as HTML
|
1409
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1410
|
+
ORDER BY name ASC
|
1411
|
+
Rendered /Users/adamhunter/Studio/adamhunter/dossier/app/views/dossier/reports/show.html.haml within layouts/application (8.0ms)
|
1412
|
+
Completed 500 Internal Server Error in 42ms
|
1413
|
+
Connecting to database specified by database.yml
|
1414
|
+
[1m[36mFACTORY (0.2ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
1415
|
+
[1m[35mFACTORY (0.7ms)[0m DROP TABLE IF EXISTS `employees`
|
1416
|
+
[1m[36mFACTORY (22.9ms)[0m [1m CREATE TABLE `employees` (
|
1417
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
1418
|
+
`name` varchar(255) NOT NULL,
|
1419
|
+
`division` varchar(255) NOT NULL,
|
1420
|
+
`salary` int(11) NOT NULL,
|
1421
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
1422
|
+
`hired_on` date NOT NULL,
|
1423
|
+
PRIMARY KEY (`id`)
|
1424
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
1425
|
+
[0m
|
1426
|
+
[1m[35mFACTORY (0.9ms)[0m TRUNCATE `employees`
|
1427
|
+
[1m[36mFACTORY (0.6ms)[0m [1m INSERT INTO
|
1428
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1429
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
1430
|
+
[0m
|
1431
|
+
[1m[35mFACTORY (0.5ms)[0m INSERT INTO
|
1432
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1433
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
1434
|
+
|
1435
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
1436
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1437
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
1438
|
+
[0m
|
1439
|
+
[1m[35mFACTORY (1.6ms)[0m DROP TABLE IF EXISTS `employees`
|
1440
|
+
[1m[36mFACTORY (1.2ms)[0m [1m CREATE TABLE `employees` (
|
1441
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
1442
|
+
`name` TEXT NOT NULL,
|
1443
|
+
`division` TEXT NOT NULL,
|
1444
|
+
`salary` INTEGER NOT NULL,
|
1445
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
1446
|
+
`hired_on` DATE NOT NULL
|
1447
|
+
);
|
1448
|
+
[0m
|
1449
|
+
[1m[35mFACTORY (0.7ms)[0m DELETE FROM `employees`
|
1450
|
+
[1m[36mFACTORY (1.0ms)[0m [1m INSERT INTO
|
1451
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1452
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
1453
|
+
[0m
|
1454
|
+
[1m[35mFACTORY (0.9ms)[0m INSERT INTO
|
1455
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1456
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
1457
|
+
|
1458
|
+
[1m[36mFACTORY (0.7ms)[0m [1m INSERT INTO
|
1459
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1460
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
1461
|
+
[0m
|
1462
|
+
Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2013-02-05 09:07:12 -0500
|
1463
|
+
Processing by SiteController#report as HTML
|
1464
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1465
|
+
ORDER BY name ASC
|
1466
|
+
Rendered /Users/adamhunter/Studio/adamhunter/dossier/app/views/dossier/reports/show.html.haml within layouts/application (7.6ms)
|
1467
|
+
Completed 200 OK in 41ms (Views: 35.8ms | ActiveRecord: 0.3ms)
|
1468
|
+
Connecting to database specified by database.yml
|
1469
|
+
[1m[36mFACTORY (0.1ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
1470
|
+
[1m[35mFACTORY (0.8ms)[0m DROP TABLE IF EXISTS `employees`
|
1471
|
+
[1m[36mFACTORY (11.0ms)[0m [1m CREATE TABLE `employees` (
|
1472
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
1473
|
+
`name` varchar(255) NOT NULL,
|
1474
|
+
`division` varchar(255) NOT NULL,
|
1475
|
+
`salary` int(11) NOT NULL,
|
1476
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
1477
|
+
`hired_on` date NOT NULL,
|
1478
|
+
PRIMARY KEY (`id`)
|
1479
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
1480
|
+
[0m
|
1481
|
+
[1m[35mFACTORY (0.8ms)[0m TRUNCATE `employees`
|
1482
|
+
[1m[36mFACTORY (0.6ms)[0m [1m INSERT INTO
|
1483
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1484
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
1485
|
+
[0m
|
1486
|
+
[1m[35mFACTORY (0.5ms)[0m INSERT INTO
|
1487
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1488
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
1489
|
+
|
1490
|
+
[1m[36mFACTORY (0.4ms)[0m [1m INSERT INTO
|
1491
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1492
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
1493
|
+
[0m
|
1494
|
+
[1m[35mFACTORY (1.3ms)[0m DROP TABLE IF EXISTS `employees`
|
1495
|
+
[1m[36mFACTORY (1.0ms)[0m [1m CREATE TABLE `employees` (
|
1496
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
1497
|
+
`name` TEXT NOT NULL,
|
1498
|
+
`division` TEXT NOT NULL,
|
1499
|
+
`salary` INTEGER NOT NULL,
|
1500
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
1501
|
+
`hired_on` DATE NOT NULL
|
1502
|
+
);
|
1503
|
+
[0m
|
1504
|
+
[1m[35mFACTORY (1.0ms)[0m DELETE FROM `employees`
|
1505
|
+
[1m[36mFACTORY (1.0ms)[0m [1m INSERT INTO
|
1506
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1507
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
1508
|
+
[0m
|
1509
|
+
[1m[35mFACTORY (1.3ms)[0m INSERT INTO
|
1510
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1511
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
1512
|
+
|
1513
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
1514
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1515
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
1516
|
+
[0m
|
1517
|
+
Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2013-02-05 09:07:30 -0500
|
1518
|
+
Processing by SiteController#report as HTML
|
1519
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1520
|
+
ORDER BY name ASC
|
1521
|
+
Rendered /Users/adamhunter/Studio/adamhunter/dossier/app/views/dossier/reports/show.html.haml within layouts/application (7.6ms)
|
1522
|
+
Completed 200 OK in 39ms (Views: 34.9ms | ActiveRecord: 0.3ms)
|
1523
|
+
Connecting to database specified by database.yml
|
1524
|
+
[1m[36mFACTORY (0.2ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
1525
|
+
[1m[35mFACTORY (0.8ms)[0m DROP TABLE IF EXISTS `employees`
|
1526
|
+
[1m[36mFACTORY (12.9ms)[0m [1m CREATE TABLE `employees` (
|
1527
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
1528
|
+
`name` varchar(255) NOT NULL,
|
1529
|
+
`division` varchar(255) NOT NULL,
|
1530
|
+
`salary` int(11) NOT NULL,
|
1531
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
1532
|
+
`hired_on` date NOT NULL,
|
1533
|
+
PRIMARY KEY (`id`)
|
1534
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
1535
|
+
[0m
|
1536
|
+
[1m[35mFACTORY (0.9ms)[0m TRUNCATE `employees`
|
1537
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
1538
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1539
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
1540
|
+
[0m
|
1541
|
+
[1m[35mFACTORY (0.5ms)[0m INSERT INTO
|
1542
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1543
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
1544
|
+
|
1545
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
1546
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1547
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
1548
|
+
[0m
|
1549
|
+
[1m[35mFACTORY (1.9ms)[0m DROP TABLE IF EXISTS `employees`
|
1550
|
+
[1m[36mFACTORY (1.2ms)[0m [1m CREATE TABLE `employees` (
|
1551
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
1552
|
+
`name` TEXT NOT NULL,
|
1553
|
+
`division` TEXT NOT NULL,
|
1554
|
+
`salary` INTEGER NOT NULL,
|
1555
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
1556
|
+
`hired_on` DATE NOT NULL
|
1557
|
+
);
|
1558
|
+
[0m
|
1559
|
+
[1m[35mFACTORY (0.8ms)[0m DELETE FROM `employees`
|
1560
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
1561
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1562
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
1563
|
+
[0m
|
1564
|
+
[1m[35mFACTORY (0.9ms)[0m INSERT INTO
|
1565
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1566
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
1567
|
+
|
1568
|
+
[1m[36mFACTORY (0.8ms)[0m [1m INSERT INTO
|
1569
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1570
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
1571
|
+
[0m
|
1572
|
+
Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2013-02-05 09:07:50 -0500
|
1573
|
+
Processing by Dossier::ReportsController#show as HTML
|
1574
|
+
Parameters: {"report"=>"employee_with_custom_client"}
|
1575
|
+
[1m[35mEmployeeWithCustomClientReport (1.4ms)[0m SELECT * FROM `employees`
|
1576
|
+
Rendered /Users/adamhunter/Studio/adamhunter/dossier/app/views/dossier/reports/show.html.haml within layouts/application (3.5ms)
|
1577
|
+
Completed 200 OK in 16ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
1578
|
+
Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2013-02-05 09:07:50 -0500
|
1579
|
+
Processing by SiteController#report as HTML
|
1580
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1581
|
+
ORDER BY name ASC[0m
|
1582
|
+
Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 0.3ms)
|
1583
|
+
[1m[35mEmployeeReport (0.2ms)[0m SELECT * FROM employees WHERE 1=1
|
1584
|
+
ORDER BY name ASC
|
1585
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-02-05 09:07:51 -0500
|
1586
|
+
Processing by Dossier::ReportsController#show as HTML
|
1587
|
+
Parameters: {"report"=>"employee"}
|
1588
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1589
|
+
ORDER BY name ASC[0m
|
1590
|
+
Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
1591
|
+
Started GET "/reports/employee?options[salary]=true&options[order]=desc&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[divisions][]=Tedious+Toiling" for 127.0.0.1 at 2013-02-05 09:07:51 -0500
|
1592
|
+
Processing by Dossier::ReportsController#show as HTML
|
1593
|
+
Parameters: {"options"=>{"salary"=>"true", "order"=>"desc", "names"=>["Jimmy Jackalope", "Moustafa McMann"], "divisions"=>["Tedious Toiling"]}, "report"=>"employee"}
|
1594
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1595
|
+
AND division in (('Tedious Toiling'))
|
1596
|
+
AND salary > 10000
|
1597
|
+
AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
|
1598
|
+
ORDER BY name DESC
|
1599
|
+
Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
1600
|
+
Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2013-02-05 09:07:51 -0500
|
1601
|
+
Processing by Dossier::ReportsController#show as HTML
|
1602
|
+
Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
|
1603
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1604
|
+
ORDER BY name ASC[0m
|
1605
|
+
Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
1606
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-02-05 09:07:51 -0500
|
1607
|
+
Processing by Dossier::ReportsController#show as HTML
|
1608
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
1609
|
+
[1m[35mEmployeeWithCustomViewReport (0.2ms)[0m SELECT * FROM employees WHERE suspended = true
|
1610
|
+
Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.2ms)
|
1611
|
+
Started GET "/reports/employee.csv" for 127.0.0.1 at 2013-02-05 09:07:51 -0500
|
1612
|
+
Processing by Dossier::ReportsController#show as CSV
|
1613
|
+
Parameters: {"report"=>"employee"}
|
1614
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1615
|
+
ORDER BY name ASC[0m
|
1616
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
|
1617
|
+
Started GET "/reports/employee.xls" for 127.0.0.1 at 2013-02-05 09:07:51 -0500
|
1618
|
+
Processing by Dossier::ReportsController#show as XLS
|
1619
|
+
Parameters: {"report"=>"employee"}
|
1620
|
+
[1m[35mEmployeeReport (0.2ms)[0m SELECT * FROM employees WHERE 1=1
|
1621
|
+
ORDER BY name ASC
|
1622
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.2ms)
|
1623
|
+
Connecting to database specified by database.yml
|
1624
|
+
[1m[36mFACTORY (0.1ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
1625
|
+
[1m[35mFACTORY (0.8ms)[0m DROP TABLE IF EXISTS `employees`
|
1626
|
+
[1m[36mFACTORY (25.7ms)[0m [1m CREATE TABLE `employees` (
|
1627
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
1628
|
+
`name` varchar(255) NOT NULL,
|
1629
|
+
`division` varchar(255) NOT NULL,
|
1630
|
+
`salary` int(11) NOT NULL,
|
1631
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
1632
|
+
`hired_on` date NOT NULL,
|
1633
|
+
PRIMARY KEY (`id`)
|
1634
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
1635
|
+
[0m
|
1636
|
+
[1m[35mFACTORY (1.0ms)[0m TRUNCATE `employees`
|
1637
|
+
[1m[36mFACTORY (0.6ms)[0m [1m INSERT INTO
|
1638
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1639
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
1640
|
+
[0m
|
1641
|
+
[1m[35mFACTORY (0.5ms)[0m INSERT INTO
|
1642
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1643
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
1644
|
+
|
1645
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
1646
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1647
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
1648
|
+
[0m
|
1649
|
+
[1m[35mFACTORY (2.1ms)[0m DROP TABLE IF EXISTS `employees`
|
1650
|
+
[1m[36mFACTORY (0.9ms)[0m [1m CREATE TABLE `employees` (
|
1651
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
1652
|
+
`name` TEXT NOT NULL,
|
1653
|
+
`division` TEXT NOT NULL,
|
1654
|
+
`salary` INTEGER NOT NULL,
|
1655
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
1656
|
+
`hired_on` DATE NOT NULL
|
1657
|
+
);
|
1658
|
+
[0m
|
1659
|
+
[1m[35mFACTORY (0.8ms)[0m DELETE FROM `employees`
|
1660
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
1661
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1662
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
1663
|
+
[0m
|
1664
|
+
[1m[35mFACTORY (1.0ms)[0m INSERT INTO
|
1665
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1666
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
1667
|
+
|
1668
|
+
[1m[36mFACTORY (0.7ms)[0m [1m INSERT INTO
|
1669
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1670
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
1671
|
+
[0m
|
1672
|
+
Started GET "/reports/employee.xls" for 127.0.0.1 at 2013-02-05 09:08:09 -0500
|
1673
|
+
Processing by Dossier::ReportsController#show as XLS
|
1674
|
+
Parameters: {"report"=>"employee"}
|
1675
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1676
|
+
ORDER BY name ASC
|
1677
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
|
1678
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-02-05 09:08:09 -0500
|
1679
|
+
Processing by Dossier::ReportsController#show as HTML
|
1680
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
1681
|
+
[1m[36mEmployeeWithCustomViewReport (0.2ms)[0m [1mSELECT * FROM employees WHERE suspended = true[0m
|
1682
|
+
Completed 200 OK in 13ms (Views: 9.9ms | ActiveRecord: 0.2ms)
|
1683
|
+
Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2013-02-05 09:08:09 -0500
|
1684
|
+
Processing by Dossier::ReportsController#show as HTML
|
1685
|
+
Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
|
1686
|
+
[1m[35mEmployeeReport (0.2ms)[0m SELECT * FROM employees WHERE 1=1
|
1687
|
+
ORDER BY name ASC
|
1688
|
+
Completed 200 OK in 13ms (Views: 8.7ms | ActiveRecord: 0.0ms)
|
1689
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-02-05 09:08:09 -0500
|
1690
|
+
Processing by Dossier::ReportsController#show as HTML
|
1691
|
+
Parameters: {"report"=>"employee"}
|
1692
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1693
|
+
ORDER BY name ASC[0m
|
1694
|
+
Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
1695
|
+
Started GET "/reports/employee?options[salary]=true&options[order]=desc&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[divisions][]=Tedious+Toiling" for 127.0.0.1 at 2013-02-05 09:08:09 -0500
|
1696
|
+
Processing by Dossier::ReportsController#show as HTML
|
1697
|
+
Parameters: {"options"=>{"salary"=>"true", "order"=>"desc", "names"=>["Jimmy Jackalope", "Moustafa McMann"], "divisions"=>["Tedious Toiling"]}, "report"=>"employee"}
|
1698
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1699
|
+
AND division in (('Tedious Toiling'))
|
1700
|
+
AND salary > 10000
|
1701
|
+
AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
|
1702
|
+
ORDER BY name DESC
|
1703
|
+
Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
1704
|
+
Started GET "/reports/employee.csv" for 127.0.0.1 at 2013-02-05 09:08:09 -0500
|
1705
|
+
Processing by Dossier::ReportsController#show as CSV
|
1706
|
+
Parameters: {"report"=>"employee"}
|
1707
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1708
|
+
ORDER BY name ASC[0m
|
1709
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.2ms)
|
1710
|
+
Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2013-02-05 09:08:09 -0500
|
1711
|
+
Processing by SiteController#report as HTML
|
1712
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1713
|
+
ORDER BY name ASC
|
1714
|
+
Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 0.3ms)
|
1715
|
+
Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2013-02-05 09:08:09 -0500
|
1716
|
+
Processing by Dossier::ReportsController#show as HTML
|
1717
|
+
Parameters: {"report"=>"employee_with_custom_client"}
|
1718
|
+
[1m[36mEmployeeWithCustomClientReport (0.3ms)[0m [1mSELECT * FROM `employees`[0m
|
1719
|
+
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
1720
|
+
[1m[35mEmployeeReport (0.2ms)[0m SELECT * FROM employees WHERE 1=1
|
1721
|
+
ORDER BY name ASC
|
1722
|
+
Connecting to database specified by database.yml
|
1723
|
+
[1m[36mFACTORY (0.3ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
1724
|
+
[1m[35mFACTORY (0.8ms)[0m DROP TABLE IF EXISTS `employees`
|
1725
|
+
[1m[36mFACTORY (15.6ms)[0m [1m CREATE TABLE `employees` (
|
1726
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
1727
|
+
`name` varchar(255) NOT NULL,
|
1728
|
+
`division` varchar(255) NOT NULL,
|
1729
|
+
`salary` int(11) NOT NULL,
|
1730
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
1731
|
+
`hired_on` date NOT NULL,
|
1732
|
+
PRIMARY KEY (`id`)
|
1733
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
1734
|
+
[0m
|
1735
|
+
[1m[35mFACTORY (0.8ms)[0m TRUNCATE `employees`
|
1736
|
+
[1m[36mFACTORY (0.6ms)[0m [1m INSERT INTO
|
1737
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1738
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
1739
|
+
[0m
|
1740
|
+
[1m[35mFACTORY (0.5ms)[0m INSERT INTO
|
1741
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1742
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
1743
|
+
|
1744
|
+
[1m[36mFACTORY (0.4ms)[0m [1m INSERT INTO
|
1745
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1746
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
1747
|
+
[0m
|
1748
|
+
[1m[35mFACTORY (1.7ms)[0m DROP TABLE IF EXISTS `employees`
|
1749
|
+
[1m[36mFACTORY (1.2ms)[0m [1m CREATE TABLE `employees` (
|
1750
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
1751
|
+
`name` TEXT NOT NULL,
|
1752
|
+
`division` TEXT NOT NULL,
|
1753
|
+
`salary` INTEGER NOT NULL,
|
1754
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
1755
|
+
`hired_on` DATE NOT NULL
|
1756
|
+
);
|
1757
|
+
[0m
|
1758
|
+
[1m[35mFACTORY (0.8ms)[0m DELETE FROM `employees`
|
1759
|
+
[1m[36mFACTORY (0.8ms)[0m [1m INSERT INTO
|
1760
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1761
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
1762
|
+
[0m
|
1763
|
+
[1m[35mFACTORY (1.1ms)[0m INSERT INTO
|
1764
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1765
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
1766
|
+
|
1767
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
1768
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1769
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
1770
|
+
[0m
|
1771
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1772
|
+
ORDER BY name ASC
|
1773
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-02-05 09:09:47 -0500
|
1774
|
+
Processing by Dossier::ReportsController#show as HTML
|
1775
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
1776
|
+
[1m[36mEmployeeWithCustomViewReport (0.3ms)[0m [1mSELECT * FROM employees WHERE suspended = true[0m
|
1777
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (0.8ms)
|
1778
|
+
Completed 200 OK in 36ms (Views: 32.4ms | ActiveRecord: 0.3ms)
|
1779
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-02-05 09:09:47 -0500
|
1780
|
+
Processing by Dossier::ReportsController#show as HTML
|
1781
|
+
Parameters: {"report"=>"employee"}
|
1782
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1783
|
+
ORDER BY name ASC
|
1784
|
+
Completed 200 OK in 12ms (Views: 8.5ms | ActiveRecord: 0.0ms)
|
1785
|
+
Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2013-02-05 09:09:47 -0500
|
1786
|
+
Processing by Dossier::ReportsController#show as HTML
|
1787
|
+
Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
|
1788
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1789
|
+
ORDER BY name ASC[0m
|
1790
|
+
Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
1791
|
+
Started GET "/reports/employee?options[salary]=true&options[order]=desc&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[divisions][]=Tedious+Toiling" for 127.0.0.1 at 2013-02-05 09:09:48 -0500
|
1792
|
+
Processing by Dossier::ReportsController#show as HTML
|
1793
|
+
Parameters: {"options"=>{"salary"=>"true", "order"=>"desc", "names"=>["Jimmy Jackalope", "Moustafa McMann"], "divisions"=>["Tedious Toiling"]}, "report"=>"employee"}
|
1794
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1795
|
+
AND division in (('Tedious Toiling'))
|
1796
|
+
AND salary > 10000
|
1797
|
+
AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
|
1798
|
+
ORDER BY name DESC
|
1799
|
+
Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
1800
|
+
Started GET "/reports/employee.xls" for 127.0.0.1 at 2013-02-05 09:09:48 -0500
|
1801
|
+
Processing by Dossier::ReportsController#show as XLS
|
1802
|
+
Parameters: {"report"=>"employee"}
|
1803
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1804
|
+
ORDER BY name ASC[0m
|
1805
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
|
1806
|
+
Started GET "/reports/employee.csv" for 127.0.0.1 at 2013-02-05 09:09:48 -0500
|
1807
|
+
Processing by Dossier::ReportsController#show as CSV
|
1808
|
+
Parameters: {"report"=>"employee"}
|
1809
|
+
[1m[35mEmployeeReport (0.2ms)[0m SELECT * FROM employees WHERE 1=1
|
1810
|
+
ORDER BY name ASC
|
1811
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.2ms)
|
1812
|
+
Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2013-02-05 09:09:48 -0500
|
1813
|
+
Processing by Dossier::ReportsController#show as HTML
|
1814
|
+
Parameters: {"report"=>"employee_with_custom_client"}
|
1815
|
+
[1m[36mEmployeeWithCustomClientReport (0.3ms)[0m [1mSELECT * FROM `employees`[0m
|
1816
|
+
Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
1817
|
+
Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2013-02-05 09:09:48 -0500
|
1818
|
+
Processing by SiteController#report as HTML
|
1819
|
+
[1m[35mEmployeeReport (0.2ms)[0m SELECT * FROM employees WHERE 1=1
|
1820
|
+
ORDER BY name ASC
|
1821
|
+
Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 0.2ms)
|
1822
|
+
Connecting to database specified by database.yml
|
1823
|
+
[1m[36mFACTORY (0.2ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
1824
|
+
[1m[35mFACTORY (0.8ms)[0m DROP TABLE IF EXISTS `employees`
|
1825
|
+
[1m[36mFACTORY (16.9ms)[0m [1m CREATE TABLE `employees` (
|
1826
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
1827
|
+
`name` varchar(255) NOT NULL,
|
1828
|
+
`division` varchar(255) NOT NULL,
|
1829
|
+
`salary` int(11) NOT NULL,
|
1830
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
1831
|
+
`hired_on` date NOT NULL,
|
1832
|
+
PRIMARY KEY (`id`)
|
1833
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
1834
|
+
[0m
|
1835
|
+
[1m[35mFACTORY (0.9ms)[0m TRUNCATE `employees`
|
1836
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
1837
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1838
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
1839
|
+
[0m
|
1840
|
+
[1m[35mFACTORY (0.5ms)[0m INSERT INTO
|
1841
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1842
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
1843
|
+
|
1844
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
1845
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1846
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
1847
|
+
[0m
|
1848
|
+
[1m[35mFACTORY (1.6ms)[0m DROP TABLE IF EXISTS `employees`
|
1849
|
+
[1m[36mFACTORY (1.1ms)[0m [1m CREATE TABLE `employees` (
|
1850
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
1851
|
+
`name` TEXT NOT NULL,
|
1852
|
+
`division` TEXT NOT NULL,
|
1853
|
+
`salary` INTEGER NOT NULL,
|
1854
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
1855
|
+
`hired_on` DATE NOT NULL
|
1856
|
+
);
|
1857
|
+
[0m
|
1858
|
+
[1m[35mFACTORY (0.9ms)[0m DELETE FROM `employees`
|
1859
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
1860
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1861
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
1862
|
+
[0m
|
1863
|
+
[1m[35mFACTORY (1.0ms)[0m INSERT INTO
|
1864
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1865
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
1866
|
+
|
1867
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
1868
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
1869
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
1870
|
+
[0m
|
1871
|
+
Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2013-02-05 09:10:58 -0500
|
1872
|
+
Processing by Dossier::ReportsController#show as HTML
|
1873
|
+
Parameters: {"report"=>"employee_with_custom_client"}
|
1874
|
+
[1m[35mEmployeeWithCustomClientReport (1.1ms)[0m SELECT * FROM `employees`
|
1875
|
+
Rendered /Users/adamhunter/Studio/adamhunter/dossier/app/views/dossier/reports/show.html.haml within layouts/application (3.5ms)
|
1876
|
+
Completed 200 OK in 37ms (Views: 6.6ms | ActiveRecord: 0.0ms)
|
1877
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1878
|
+
ORDER BY name ASC[0m
|
1879
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-02-05 09:10:58 -0500
|
1880
|
+
Processing by Dossier::ReportsController#show as HTML
|
1881
|
+
Parameters: {"report"=>"employee"}
|
1882
|
+
[1m[35mEmployeeReport (0.2ms)[0m SELECT * FROM employees WHERE 1=1
|
1883
|
+
ORDER BY name ASC
|
1884
|
+
Completed 200 OK in 10ms (Views: 6.2ms | ActiveRecord: 0.0ms)
|
1885
|
+
Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2013-02-05 09:10:58 -0500
|
1886
|
+
Processing by Dossier::ReportsController#show as HTML
|
1887
|
+
Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
|
1888
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1889
|
+
ORDER BY name ASC[0m
|
1890
|
+
Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
1891
|
+
Started GET "/reports/employee?options[salary]=true&options[order]=desc&options[names][]=Jimmy+Jackalope&options[names][]=Moustafa+McMann&options[divisions][]=Tedious+Toiling" for 127.0.0.1 at 2013-02-05 09:10:58 -0500
|
1892
|
+
Processing by Dossier::ReportsController#show as HTML
|
1893
|
+
Parameters: {"options"=>{"salary"=>"true", "order"=>"desc", "names"=>["Jimmy Jackalope", "Moustafa McMann"], "divisions"=>["Tedious Toiling"]}, "report"=>"employee"}
|
1894
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1895
|
+
AND division in (('Tedious Toiling'))
|
1896
|
+
AND salary > 10000
|
1897
|
+
AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
|
1898
|
+
ORDER BY name DESC
|
1899
|
+
Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
1900
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-02-05 09:10:58 -0500
|
1901
|
+
Processing by Dossier::ReportsController#show as HTML
|
1902
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
1903
|
+
[1m[36mEmployeeWithCustomViewReport (0.2ms)[0m [1mSELECT * FROM employees WHERE suspended = true[0m
|
1904
|
+
Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.2ms)
|
1905
|
+
Started GET "/reports/employee.xls" for 127.0.0.1 at 2013-02-05 09:10:58 -0500
|
1906
|
+
Processing by Dossier::ReportsController#show as XLS
|
1907
|
+
Parameters: {"report"=>"employee"}
|
1908
|
+
[1m[35mEmployeeReport (0.3ms)[0m SELECT * FROM employees WHERE 1=1
|
1909
|
+
ORDER BY name ASC
|
1910
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
|
1911
|
+
Started GET "/reports/employee.csv" for 127.0.0.1 at 2013-02-05 09:10:58 -0500
|
1912
|
+
Processing by Dossier::ReportsController#show as CSV
|
1913
|
+
Parameters: {"report"=>"employee"}
|
1914
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1mSELECT * FROM employees WHERE 1=1
|
1915
|
+
ORDER BY name ASC[0m
|
1916
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
|
1917
|
+
Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2013-02-05 09:10:58 -0500
|
1918
|
+
Processing by SiteController#report as HTML
|
1919
|
+
[1m[35mEmployeeReport (0.2ms)[0m SELECT * FROM employees WHERE 1=1
|
1920
|
+
ORDER BY name ASC
|
1921
|
+
Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.2ms)
|