dossier 2.9.2 → 2.9.3
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.
- checksums.yaml +4 -4
- data/lib/dossier/configuration.rb +2 -1
- data/lib/dossier/formatter.rb +1 -1
- data/lib/dossier/version.rb +1 -1
- data/spec/dossier/formatter_spec.rb +8 -2
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +1101 -0
- data/spec/spec_helper.rb +0 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e7f5e5c621df6121e3b3363a4e86235f0ab861a
|
4
|
+
data.tar.gz: 711f5e8d526969571126c5ced2bf5107cbe43267
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c76b2b8235cb62dc965f58c44207d6e8e7173e1316f788402287938730896c2adb97c6fdb23f95f4a5498cb33789a841185151ef1c657c2947360f83dbc58770
|
7
|
+
data.tar.gz: 94b7c57fc6df708ee1ba964031561282ecfc4615075c0a1635b2030ad9588e9a2d5108ae0c41b323fb2dd1636abd2212ac68905e6d5fd9de02aeb17dd97711d5
|
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'erb'
|
1
2
|
require 'yaml'
|
2
3
|
|
3
4
|
module Dossier
|
@@ -13,7 +14,7 @@ module Dossier
|
|
13
14
|
private
|
14
15
|
|
15
16
|
def setup_client!
|
16
|
-
@connection_options = YAML.
|
17
|
+
@connection_options = YAML.load(ERB.new(File.read(@config_path)).result)[Rails.env].symbolize_keys
|
17
18
|
@client = Dossier::Client.new(@connection_options)
|
18
19
|
|
19
20
|
rescue Errno::ENOENT => e
|
data/lib/dossier/formatter.rb
CHANGED
@@ -14,7 +14,7 @@ module Dossier
|
|
14
14
|
|
15
15
|
def commafy_number(value, precision = nil)
|
16
16
|
whole, fraction = value.to_s.split('.')
|
17
|
-
fraction = "%.#{precision}d" % ("0.#{fraction}".
|
17
|
+
fraction = "%.#{precision}d" % (BigDecimal.new("0.#{fraction}").round(precision) * 10**precision).to_i if precision
|
18
18
|
[whole.to_i.to_s.gsub(/(\d)(?=(\d\d\d)+(?!\d))/, "\\1,"), fraction].compact.join('.')
|
19
19
|
end
|
20
20
|
|
data/lib/dossier/version.rb
CHANGED
@@ -38,7 +38,7 @@ describe Dossier::Formatter do
|
|
38
38
|
|
39
39
|
describe "custom formatters" do
|
40
40
|
describe "commafy_number" do
|
41
|
-
|
41
|
+
{
|
42
42
|
10_000 => '10,000',
|
43
43
|
10_000.01 => '10,000.01',
|
44
44
|
1_000_000_000.001 => '1,000,000,000.001',
|
@@ -48,6 +48,7 @@ describe Dossier::Formatter do
|
|
48
48
|
expect(formatter.commafy_number(base)).to eq formatted
|
49
49
|
end
|
50
50
|
}
|
51
|
+
|
51
52
|
it "will return the expected precision if too large" do
|
52
53
|
expect(formatter.commafy_number(1_000.23523563, 2)).to eq '1,000.24'
|
53
54
|
end
|
@@ -55,10 +56,15 @@ describe Dossier::Formatter do
|
|
55
56
|
it "will return the expected precision if too small" do
|
56
57
|
expect(formatter.commafy_number(1_000, 5)).to eq '1,000.00000'
|
57
58
|
end
|
59
|
+
|
60
|
+
# h/t to @rodneyturnham for finding this edge case and providing the solution
|
61
|
+
it "will properly format a number given to it" do
|
62
|
+
expect(formatter.commafy_number(1342.58, 2)).to eq '1,342.58'
|
63
|
+
end
|
58
64
|
end
|
59
65
|
|
60
66
|
describe "number_to_dollars" do
|
61
|
-
|
67
|
+
{
|
62
68
|
10_000 => '$10,000.00',
|
63
69
|
10_000.00 => '$10,000.00',
|
64
70
|
1_000_000_000.000 => '$1,000,000,000.00',
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -54530,3 +54530,1104 @@ Completed 200 OK in 10ms (Views: 5.3ms | ActiveRecord: 0.4ms)
|
|
54530
54530
|
[1m[36mEmployeeReport (0.2ms)[0m [1m
|
54531
54531
|
SELECT * FROM employees WHERE 1=1
|
54532
54532
|
ORDER BY name ASC[0m
|
54533
|
+
Connecting to database specified by database.yml
|
54534
|
+
[1m[36mFACTORY (9.3ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
54535
|
+
[1m[35mFACTORY (101.0ms)[0m DROP TABLE IF EXISTS `employees`
|
54536
|
+
[1m[36mFACTORY (34.3ms)[0m [1m CREATE TABLE `employees` (
|
54537
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
54538
|
+
`name` varchar(255) NOT NULL,
|
54539
|
+
`division` varchar(255) NOT NULL,
|
54540
|
+
`salary` int(11) NOT NULL,
|
54541
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
54542
|
+
`hired_on` date NOT NULL,
|
54543
|
+
PRIMARY KEY (`id`)
|
54544
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
54545
|
+
[0m
|
54546
|
+
[1m[35mFACTORY (2.6ms)[0m TRUNCATE `employees`
|
54547
|
+
[1m[36mFACTORY (1.6ms)[0m [1m INSERT INTO
|
54548
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54549
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
54550
|
+
[0m
|
54551
|
+
[1m[35mFACTORY (0.6ms)[0m INSERT INTO
|
54552
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54553
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
54554
|
+
|
54555
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
54556
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54557
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
54558
|
+
[0m
|
54559
|
+
[1m[35mFACTORY (5.1ms)[0m DROP TABLE IF EXISTS `employees`
|
54560
|
+
[1m[36mFACTORY (0.9ms)[0m [1m CREATE TABLE `employees` (
|
54561
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
54562
|
+
`name` TEXT NOT NULL,
|
54563
|
+
`division` TEXT NOT NULL,
|
54564
|
+
`salary` INTEGER NOT NULL,
|
54565
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
54566
|
+
`hired_on` DATE NOT NULL
|
54567
|
+
);
|
54568
|
+
[0m
|
54569
|
+
[1m[35mFACTORY (0.7ms)[0m DELETE FROM `employees`
|
54570
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
54571
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54572
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
54573
|
+
[0m
|
54574
|
+
[1m[35mFACTORY (0.8ms)[0m INSERT INTO
|
54575
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54576
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
54577
|
+
|
54578
|
+
[1m[36mFACTORY (0.7ms)[0m [1m INSERT INTO
|
54579
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54580
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
54581
|
+
[0m
|
54582
|
+
[1m[35mEmployeeReport (17.5ms)[0m
|
54583
|
+
SELECT * FROM employees WHERE 1=1
|
54584
|
+
ORDER BY name ASC
|
54585
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (47.6ms)
|
54586
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1m
|
54587
|
+
SELECT * FROM employees WHERE 1=1
|
54588
|
+
ORDER BY name ASC[0m
|
54589
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (4.5ms)
|
54590
|
+
Rendered dossier/reports/employee_with_custom_view/_options.html.haml (42.6ms)
|
54591
|
+
Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2013-12-02 08:50:05 -0500
|
54592
|
+
Processing by Dossier::ReportsController#multi as CSV
|
54593
|
+
Parameters: {"report"=>"combination"}
|
54594
|
+
Completed 500 Internal Server Error in 1ms
|
54595
|
+
Started GET "/multi/reports/combination" for 127.0.0.1 at 2013-12-02 08:50:05 -0500
|
54596
|
+
Processing by Dossier::ReportsController#multi as HTML
|
54597
|
+
Parameters: {"report"=>"combination"}
|
54598
|
+
Rendered dossier/reports/combination/_options.html.haml (3.4ms)
|
54599
|
+
[1m[35mEmployeeReport (0.2ms)[0m
|
54600
|
+
SELECT * FROM employees WHERE 1=1
|
54601
|
+
ORDER BY name ASC
|
54602
|
+
[1m[36mEmployeeWithCustomViewReport (0.3ms)[0m [1m
|
54603
|
+
SELECT * FROM employees WHERE suspended = true[0m
|
54604
|
+
Completed 200 OK in 26ms (Views: 24.8ms | ActiveRecord: 0.6ms)
|
54605
|
+
Started GET "/multi/reports/combination" for 127.0.0.1 at 2013-12-02 08:50:05 -0500
|
54606
|
+
Processing by Dossier::ReportsController#multi as HTML
|
54607
|
+
Parameters: {"report"=>"combination"}
|
54608
|
+
Rendered dossier/reports/combination/_options.html.haml (1.4ms)
|
54609
|
+
[1m[35mEmployeeReport (0.4ms)[0m
|
54610
|
+
SELECT * FROM employees WHERE 1=1
|
54611
|
+
ORDER BY name ASC
|
54612
|
+
[1m[36mEmployeeWithCustomViewReport (0.4ms)[0m [1m
|
54613
|
+
SELECT * FROM employees WHERE suspended = true[0m
|
54614
|
+
Completed 200 OK in 15ms (Views: 12.9ms | ActiveRecord: 0.7ms)
|
54615
|
+
Started GET "/multi/reports/combination" for 127.0.0.1 at 2013-12-02 08:50:05 -0500
|
54616
|
+
Processing by Dossier::ReportsController#multi as HTML
|
54617
|
+
Parameters: {"report"=>"combination"}
|
54618
|
+
Rendered dossier/reports/combination/_options.html.haml (1.5ms)
|
54619
|
+
[1m[35mEmployeeReport (0.4ms)[0m
|
54620
|
+
SELECT * FROM employees WHERE 1=1
|
54621
|
+
ORDER BY name ASC
|
54622
|
+
[1m[36mEmployeeWithCustomViewReport (0.4ms)[0m [1m
|
54623
|
+
SELECT * FROM employees WHERE suspended = true[0m
|
54624
|
+
Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 0.8ms)
|
54625
|
+
Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2013-12-02 08:50:06 -0500
|
54626
|
+
Processing by Dossier::ReportsController#show as HTML
|
54627
|
+
Parameters: {"report"=>"employee_with_custom_client"}
|
54628
|
+
[1m[35mEmployeeWithCustomClientReport (0.2ms)[0m
|
54629
|
+
SELECT * FROM `employees`
|
54630
|
+
Completed 200 OK in 12ms (Views: 8.3ms | ActiveRecord: 0.2ms)
|
54631
|
+
Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2013-12-02 08:50:06 -0500
|
54632
|
+
Processing by SiteController#report as HTML
|
54633
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1m
|
54634
|
+
SELECT * FROM employees WHERE 1=1
|
54635
|
+
ORDER BY name ASC[0m
|
54636
|
+
Completed 200 OK in 10ms (Views: 5.3ms | ActiveRecord: 0.3ms)
|
54637
|
+
[1m[35mEmployeeReport (0.4ms)[0m
|
54638
|
+
SELECT * FROM employees WHERE 1=1
|
54639
|
+
ORDER BY name ASC
|
54640
|
+
Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2013-12-02 08:50:06 -0500
|
54641
|
+
Processing by Dossier::ReportsController#show as HTML
|
54642
|
+
Parameters: {"report"=>"cats/are/super_fun"}
|
54643
|
+
[1m[36mCats::Are::SuperFunReport (0.3ms)[0m [1m
|
54644
|
+
select 'cats', 'are', 'super', 'fun'[0m
|
54645
|
+
Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.3ms)
|
54646
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-12-02 08:50:06 -0500
|
54647
|
+
Processing by Dossier::ReportsController#show as HTML
|
54648
|
+
Parameters: {"report"=>"employee"}
|
54649
|
+
[1m[35mEmployeeReport (0.4ms)[0m
|
54650
|
+
SELECT * FROM employees WHERE 1=1
|
54651
|
+
ORDER BY name ASC
|
54652
|
+
Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.4ms)
|
54653
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-12-02 08:50:06 -0500
|
54654
|
+
Processing by Dossier::ReportsController#show as HTML
|
54655
|
+
Parameters: {"report"=>"employee"}
|
54656
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1m
|
54657
|
+
SELECT * FROM employees WHERE 1=1
|
54658
|
+
ORDER BY name ASC[0m
|
54659
|
+
Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.3ms)
|
54660
|
+
Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2013-12-02 08:50:06 -0500
|
54661
|
+
Processing by Dossier::ReportsController#show as HTML
|
54662
|
+
Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
|
54663
|
+
[1m[35mEmployeeReport (0.5ms)[0m
|
54664
|
+
SELECT * FROM employees WHERE 1=1
|
54665
|
+
ORDER BY name ASC
|
54666
|
+
Completed 200 OK in 11ms (Views: 8.9ms | ActiveRecord: 0.5ms)
|
54667
|
+
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 2013-12-02 08:50:06 -0500
|
54668
|
+
Processing by Dossier::ReportsController#show as HTML
|
54669
|
+
Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
|
54670
|
+
[1m[36mEmployeeReport (1.0ms)[0m [1m
|
54671
|
+
SELECT * FROM employees WHERE 1=1
|
54672
|
+
AND division in (('Tedious Toiling'))
|
54673
|
+
AND salary > 10000
|
54674
|
+
AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
|
54675
|
+
ORDER BY name DESC[0m
|
54676
|
+
Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 1.0ms)
|
54677
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-12-02 08:50:06 -0500
|
54678
|
+
Processing by Dossier::ReportsController#show as HTML
|
54679
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
54680
|
+
Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.2ms)
|
54681
|
+
[1m[35mEmployeeWithCustomViewReport (0.2ms)[0m
|
54682
|
+
SELECT * FROM employees WHERE suspended = true
|
54683
|
+
Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.2ms)
|
54684
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-12-02 08:50:06 -0500
|
54685
|
+
Processing by Dossier::ReportsController#show as HTML
|
54686
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
54687
|
+
Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.0ms)
|
54688
|
+
[1m[36mEmployeeWithCustomViewReport (0.4ms)[0m [1m
|
54689
|
+
SELECT * FROM employees WHERE suspended = true[0m
|
54690
|
+
Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.4ms)
|
54691
|
+
Started GET "/reports/employee.xls" for 127.0.0.1 at 2013-12-02 08:50:06 -0500
|
54692
|
+
Processing by Dossier::ReportsController#show as XLS
|
54693
|
+
Parameters: {"report"=>"employee"}
|
54694
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
54695
|
+
SELECT * FROM employees WHERE 1=1
|
54696
|
+
ORDER BY name ASC
|
54697
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.3ms)
|
54698
|
+
Started GET "/reports/employee.csv" for 127.0.0.1 at 2013-12-02 08:50:06 -0500
|
54699
|
+
Processing by Dossier::ReportsController#show as CSV
|
54700
|
+
Parameters: {"report"=>"employee"}
|
54701
|
+
[1m[36mEmployeeReport (0.5ms)[0m [1m
|
54702
|
+
SELECT * FROM employees WHERE 1=1
|
54703
|
+
ORDER BY name ASC[0m
|
54704
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.5ms)
|
54705
|
+
Connecting to database specified by database.yml
|
54706
|
+
[1m[36mFACTORY (0.2ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
54707
|
+
[1m[35mFACTORY (24.4ms)[0m DROP TABLE IF EXISTS `employees`
|
54708
|
+
[1m[36mFACTORY (12.8ms)[0m [1m CREATE TABLE `employees` (
|
54709
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
54710
|
+
`name` varchar(255) NOT NULL,
|
54711
|
+
`division` varchar(255) NOT NULL,
|
54712
|
+
`salary` int(11) NOT NULL,
|
54713
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
54714
|
+
`hired_on` date NOT NULL,
|
54715
|
+
PRIMARY KEY (`id`)
|
54716
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
54717
|
+
[0m
|
54718
|
+
[1m[35mFACTORY (1.4ms)[0m TRUNCATE `employees`
|
54719
|
+
[1m[36mFACTORY (0.7ms)[0m [1m INSERT INTO
|
54720
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54721
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
54722
|
+
[0m
|
54723
|
+
[1m[35mFACTORY (0.5ms)[0m INSERT INTO
|
54724
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54725
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
54726
|
+
|
54727
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
54728
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54729
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
54730
|
+
[0m
|
54731
|
+
[1m[35mFACTORY (1.7ms)[0m DROP TABLE IF EXISTS `employees`
|
54732
|
+
[1m[36mFACTORY (0.9ms)[0m [1m CREATE TABLE `employees` (
|
54733
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
54734
|
+
`name` TEXT NOT NULL,
|
54735
|
+
`division` TEXT NOT NULL,
|
54736
|
+
`salary` INTEGER NOT NULL,
|
54737
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
54738
|
+
`hired_on` DATE NOT NULL
|
54739
|
+
);
|
54740
|
+
[0m
|
54741
|
+
[1m[35mFACTORY (0.8ms)[0m DELETE FROM `employees`
|
54742
|
+
[1m[36mFACTORY (1.1ms)[0m [1m INSERT INTO
|
54743
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54744
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
54745
|
+
[0m
|
54746
|
+
[1m[35mFACTORY (0.8ms)[0m INSERT INTO
|
54747
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54748
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
54749
|
+
|
54750
|
+
[1m[36mFACTORY (0.8ms)[0m [1m INSERT INTO
|
54751
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54752
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
54753
|
+
[0m
|
54754
|
+
Rendered dossier/reports/employee_with_custom_view/_options.html.haml (6.5ms)
|
54755
|
+
Started GET "/reports/employee.csv" for 127.0.0.1 at 2013-12-02 09:31:56 -0500
|
54756
|
+
Processing by Dossier::ReportsController#show as CSV
|
54757
|
+
Parameters: {"report"=>"employee"}
|
54758
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
54759
|
+
SELECT * FROM employees WHERE 1=1
|
54760
|
+
ORDER BY name ASC
|
54761
|
+
Completed 200 OK in 6ms (ActiveRecord: 0.3ms)
|
54762
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-12-02 09:31:56 -0500
|
54763
|
+
Processing by Dossier::ReportsController#show as HTML
|
54764
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
54765
|
+
Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.7ms)
|
54766
|
+
[1m[36mEmployeeWithCustomViewReport (0.2ms)[0m [1m
|
54767
|
+
SELECT * FROM employees WHERE suspended = true[0m
|
54768
|
+
Completed 200 OK in 19ms (Views: 17.8ms | ActiveRecord: 0.2ms)
|
54769
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-12-02 09:31:56 -0500
|
54770
|
+
Processing by Dossier::ReportsController#show as HTML
|
54771
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
54772
|
+
Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.4ms)
|
54773
|
+
[1m[35mEmployeeWithCustomViewReport (0.2ms)[0m
|
54774
|
+
SELECT * FROM employees WHERE suspended = true
|
54775
|
+
Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.2ms)
|
54776
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-12-02 09:31:56 -0500
|
54777
|
+
Processing by Dossier::ReportsController#show as HTML
|
54778
|
+
Parameters: {"report"=>"employee"}
|
54779
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1m
|
54780
|
+
SELECT * FROM employees WHERE 1=1
|
54781
|
+
ORDER BY name ASC[0m
|
54782
|
+
Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.3ms)
|
54783
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-12-02 09:31:56 -0500
|
54784
|
+
Processing by Dossier::ReportsController#show as HTML
|
54785
|
+
Parameters: {"report"=>"employee"}
|
54786
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
54787
|
+
SELECT * FROM employees WHERE 1=1
|
54788
|
+
ORDER BY name ASC
|
54789
|
+
Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.3ms)
|
54790
|
+
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 2013-12-02 09:31:56 -0500
|
54791
|
+
Processing by Dossier::ReportsController#show as HTML
|
54792
|
+
Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
|
54793
|
+
[1m[36mEmployeeReport (0.6ms)[0m [1m
|
54794
|
+
SELECT * FROM employees WHERE 1=1
|
54795
|
+
AND division in (('Tedious Toiling'))
|
54796
|
+
AND salary > 10000
|
54797
|
+
AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
|
54798
|
+
ORDER BY name DESC[0m
|
54799
|
+
Completed 200 OK in 54ms (Views: 51.6ms | ActiveRecord: 0.6ms)
|
54800
|
+
Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2013-12-02 09:31:56 -0500
|
54801
|
+
Processing by Dossier::ReportsController#show as HTML
|
54802
|
+
Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
|
54803
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
54804
|
+
SELECT * FROM employees WHERE 1=1
|
54805
|
+
ORDER BY name ASC
|
54806
|
+
Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.3ms)
|
54807
|
+
Started GET "/reports/employee.xls" for 127.0.0.1 at 2013-12-02 09:31:56 -0500
|
54808
|
+
Processing by Dossier::ReportsController#show as XLS
|
54809
|
+
Parameters: {"report"=>"employee"}
|
54810
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1m
|
54811
|
+
SELECT * FROM employees WHERE 1=1
|
54812
|
+
ORDER BY name ASC[0m
|
54813
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.2ms)
|
54814
|
+
Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2013-12-02 09:31:56 -0500
|
54815
|
+
Processing by Dossier::ReportsController#show as HTML
|
54816
|
+
Parameters: {"report"=>"employee_with_custom_client"}
|
54817
|
+
[1m[35mEmployeeWithCustomClientReport (0.2ms)[0m
|
54818
|
+
SELECT * FROM `employees`
|
54819
|
+
Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.2ms)
|
54820
|
+
Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2013-12-02 09:31:56 -0500
|
54821
|
+
Processing by Dossier::ReportsController#show as HTML
|
54822
|
+
Parameters: {"report"=>"cats/are/super_fun"}
|
54823
|
+
[1m[36mCats::Are::SuperFunReport (0.1ms)[0m [1m
|
54824
|
+
select 'cats', 'are', 'super', 'fun'[0m
|
54825
|
+
Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.1ms)
|
54826
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
54827
|
+
SELECT * FROM employees WHERE 1=1
|
54828
|
+
ORDER BY name ASC
|
54829
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1m
|
54830
|
+
SELECT * FROM employees WHERE 1=1
|
54831
|
+
ORDER BY name ASC[0m
|
54832
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
54833
|
+
SELECT * FROM employees WHERE 1=1
|
54834
|
+
ORDER BY name ASC
|
54835
|
+
Started GET "/multi/reports/combination" for 127.0.0.1 at 2013-12-02 09:31:56 -0500
|
54836
|
+
Processing by Dossier::ReportsController#multi as HTML
|
54837
|
+
Parameters: {"report"=>"combination"}
|
54838
|
+
Rendered dossier/reports/combination/_options.html.haml (3.5ms)
|
54839
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1m
|
54840
|
+
SELECT * FROM employees WHERE 1=1
|
54841
|
+
ORDER BY name ASC[0m
|
54842
|
+
[1m[35mEmployeeWithCustomViewReport (0.3ms)[0m
|
54843
|
+
SELECT * FROM employees WHERE suspended = true
|
54844
|
+
Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.6ms)
|
54845
|
+
Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2013-12-02 09:31:56 -0500
|
54846
|
+
Processing by Dossier::ReportsController#multi as CSV
|
54847
|
+
Parameters: {"report"=>"combination"}
|
54848
|
+
Completed 500 Internal Server Error in 1ms
|
54849
|
+
Started GET "/multi/reports/combination" for 127.0.0.1 at 2013-12-02 09:31:56 -0500
|
54850
|
+
Processing by Dossier::ReportsController#multi as HTML
|
54851
|
+
Parameters: {"report"=>"combination"}
|
54852
|
+
Rendered dossier/reports/combination/_options.html.haml (2.1ms)
|
54853
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1m
|
54854
|
+
SELECT * FROM employees WHERE 1=1
|
54855
|
+
ORDER BY name ASC[0m
|
54856
|
+
[1m[35mEmployeeWithCustomViewReport (0.2ms)[0m
|
54857
|
+
SELECT * FROM employees WHERE suspended = true
|
54858
|
+
Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.5ms)
|
54859
|
+
Started GET "/multi/reports/combination" for 127.0.0.1 at 2013-12-02 09:31:56 -0500
|
54860
|
+
Processing by Dossier::ReportsController#multi as HTML
|
54861
|
+
Parameters: {"report"=>"combination"}
|
54862
|
+
Rendered dossier/reports/combination/_options.html.haml (1.4ms)
|
54863
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1m
|
54864
|
+
SELECT * FROM employees WHERE 1=1
|
54865
|
+
ORDER BY name ASC[0m
|
54866
|
+
[1m[35mEmployeeWithCustomViewReport (0.2ms)[0m
|
54867
|
+
SELECT * FROM employees WHERE suspended = true
|
54868
|
+
Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.5ms)
|
54869
|
+
Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2013-12-02 09:31:56 -0500
|
54870
|
+
Processing by SiteController#report as HTML
|
54871
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1m
|
54872
|
+
SELECT * FROM employees WHERE 1=1
|
54873
|
+
ORDER BY name ASC[0m
|
54874
|
+
Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.2ms)
|
54875
|
+
Connecting to database specified by database.yml
|
54876
|
+
[1m[36mFACTORY (0.1ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
54877
|
+
[1m[35mFACTORY (25.0ms)[0m DROP TABLE IF EXISTS `employees`
|
54878
|
+
[1m[36mFACTORY (20.1ms)[0m [1m CREATE TABLE `employees` (
|
54879
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
54880
|
+
`name` varchar(255) NOT NULL,
|
54881
|
+
`division` varchar(255) NOT NULL,
|
54882
|
+
`salary` int(11) NOT NULL,
|
54883
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
54884
|
+
`hired_on` date NOT NULL,
|
54885
|
+
PRIMARY KEY (`id`)
|
54886
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
54887
|
+
[0m
|
54888
|
+
[1m[35mFACTORY (2.4ms)[0m TRUNCATE `employees`
|
54889
|
+
[1m[36mFACTORY (0.6ms)[0m [1m INSERT INTO
|
54890
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54891
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
54892
|
+
[0m
|
54893
|
+
[1m[35mFACTORY (0.5ms)[0m INSERT INTO
|
54894
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54895
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
54896
|
+
|
54897
|
+
[1m[36mFACTORY (0.8ms)[0m [1m INSERT INTO
|
54898
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54899
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
54900
|
+
[0m
|
54901
|
+
[1m[35mFACTORY (2.2ms)[0m DROP TABLE IF EXISTS `employees`
|
54902
|
+
[1m[36mFACTORY (1.1ms)[0m [1m CREATE TABLE `employees` (
|
54903
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
54904
|
+
`name` TEXT NOT NULL,
|
54905
|
+
`division` TEXT NOT NULL,
|
54906
|
+
`salary` INTEGER NOT NULL,
|
54907
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
54908
|
+
`hired_on` DATE NOT NULL
|
54909
|
+
);
|
54910
|
+
[0m
|
54911
|
+
[1m[35mFACTORY (0.6ms)[0m DELETE FROM `employees`
|
54912
|
+
[1m[36mFACTORY (0.7ms)[0m [1m INSERT INTO
|
54913
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54914
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
54915
|
+
[0m
|
54916
|
+
[1m[35mFACTORY (0.9ms)[0m INSERT INTO
|
54917
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54918
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
54919
|
+
|
54920
|
+
[1m[36mFACTORY (0.8ms)[0m [1m INSERT INTO
|
54921
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
54922
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
54923
|
+
[0m
|
54924
|
+
Started GET "/multi/reports/combination" for 127.0.0.1 at 2013-12-02 09:42:41 -0500
|
54925
|
+
Processing by Dossier::ReportsController#multi as HTML
|
54926
|
+
Parameters: {"report"=>"combination"}
|
54927
|
+
Rendered dossier/reports/combination/_options.html.haml (9.8ms)
|
54928
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
54929
|
+
SELECT * FROM employees WHERE 1=1
|
54930
|
+
ORDER BY name ASC
|
54931
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (50.1ms)
|
54932
|
+
[1m[36mEmployeeWithCustomViewReport (0.3ms)[0m [1m
|
54933
|
+
SELECT * FROM employees WHERE suspended = true[0m
|
54934
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml (5.0ms)
|
54935
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (87.6ms)
|
54936
|
+
Completed 200 OK in 100ms (Views: 98.2ms | ActiveRecord: 0.6ms)
|
54937
|
+
Started GET "/multi/reports/combination" for 127.0.0.1 at 2013-12-02 09:42:41 -0500
|
54938
|
+
Processing by Dossier::ReportsController#multi as HTML
|
54939
|
+
Parameters: {"report"=>"combination"}
|
54940
|
+
Rendered dossier/reports/combination/_options.html.haml (1.9ms)
|
54941
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
54942
|
+
SELECT * FROM employees WHERE 1=1
|
54943
|
+
ORDER BY name ASC
|
54944
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (4.7ms)
|
54945
|
+
[1m[36mEmployeeWithCustomViewReport (0.2ms)[0m [1m
|
54946
|
+
SELECT * FROM employees WHERE suspended = true[0m
|
54947
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml (1.8ms)
|
54948
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (10.6ms)
|
54949
|
+
Completed 200 OK in 14ms (Views: 11.8ms | ActiveRecord: 0.5ms)
|
54950
|
+
Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2013-12-02 09:42:41 -0500
|
54951
|
+
Processing by Dossier::ReportsController#multi as CSV
|
54952
|
+
Parameters: {"report"=>"combination"}
|
54953
|
+
Completed 500 Internal Server Error in 1ms
|
54954
|
+
Started GET "/multi/reports/combination" for 127.0.0.1 at 2013-12-02 09:42:41 -0500
|
54955
|
+
Processing by Dossier::ReportsController#multi as HTML
|
54956
|
+
Parameters: {"report"=>"combination"}
|
54957
|
+
Rendered dossier/reports/combination/_options.html.haml (1.6ms)
|
54958
|
+
[1m[35mEmployeeReport (0.2ms)[0m
|
54959
|
+
SELECT * FROM employees WHERE 1=1
|
54960
|
+
ORDER BY name ASC
|
54961
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.0ms)
|
54962
|
+
[1m[36mEmployeeWithCustomViewReport (0.3ms)[0m [1m
|
54963
|
+
SELECT * FROM employees WHERE suspended = true[0m
|
54964
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml (1.7ms)
|
54965
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (10.5ms)
|
54966
|
+
Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.5ms)
|
54967
|
+
Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2013-12-02 09:42:41 -0500
|
54968
|
+
Processing by SiteController#report as HTML
|
54969
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
54970
|
+
SELECT * FROM employees WHERE 1=1
|
54971
|
+
ORDER BY name ASC
|
54972
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.1ms)
|
54973
|
+
Completed 200 OK in 11ms (Views: 7.9ms | ActiveRecord: 0.3ms)
|
54974
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1m
|
54975
|
+
SELECT * FROM employees WHERE 1=1
|
54976
|
+
ORDER BY name ASC[0m
|
54977
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (5.2ms)
|
54978
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
54979
|
+
SELECT * FROM employees WHERE 1=1
|
54980
|
+
ORDER BY name ASC
|
54981
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (44.8ms)
|
54982
|
+
Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2013-12-02 09:42:41 -0500
|
54983
|
+
Processing by Dossier::ReportsController#show as HTML
|
54984
|
+
Parameters: {"report"=>"cats/are/super_fun"}
|
54985
|
+
[1m[36mCats::Are::SuperFunReport (0.2ms)[0m [1m
|
54986
|
+
select 'cats', 'are', 'super', 'fun'[0m
|
54987
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (4.8ms)
|
54988
|
+
Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.2ms)
|
54989
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
54990
|
+
SELECT * FROM employees WHERE 1=1
|
54991
|
+
ORDER BY name ASC
|
54992
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-12-02 09:42:41 -0500
|
54993
|
+
Processing by Dossier::ReportsController#show as HTML
|
54994
|
+
Parameters: {"report"=>"employee"}
|
54995
|
+
[1m[36mEmployeeReport (0.2ms)[0m [1m
|
54996
|
+
SELECT * FROM employees WHERE 1=1
|
54997
|
+
ORDER BY name ASC[0m
|
54998
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.5ms)
|
54999
|
+
Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.2ms)
|
55000
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-12-02 09:42:41 -0500
|
55001
|
+
Processing by Dossier::ReportsController#show as HTML
|
55002
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
55003
|
+
Rendered dossier/reports/employee_with_custom_view/_options.html.haml (4.5ms)
|
55004
|
+
[1m[35mEmployeeWithCustomViewReport (0.4ms)[0m
|
55005
|
+
SELECT * FROM employees WHERE suspended = true
|
55006
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (12.4ms)
|
55007
|
+
Completed 200 OK in 17ms (Views: 15.6ms | ActiveRecord: 0.4ms)
|
55008
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-12-02 09:42:41 -0500
|
55009
|
+
Processing by Dossier::ReportsController#show as HTML
|
55010
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
55011
|
+
Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.3ms)
|
55012
|
+
[1m[36mEmployeeWithCustomViewReport (0.3ms)[0m [1m
|
55013
|
+
SELECT * FROM employees WHERE suspended = true[0m
|
55014
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (6.5ms)
|
55015
|
+
Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.3ms)
|
55016
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-12-02 09:42:41 -0500
|
55017
|
+
Processing by Dossier::ReportsController#show as HTML
|
55018
|
+
Parameters: {"report"=>"employee"}
|
55019
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
55020
|
+
SELECT * FROM employees WHERE 1=1
|
55021
|
+
ORDER BY name ASC
|
55022
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.6ms)
|
55023
|
+
Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.3ms)
|
55024
|
+
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 2013-12-02 09:42:41 -0500
|
55025
|
+
Processing by Dossier::ReportsController#show as HTML
|
55026
|
+
Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
|
55027
|
+
[1m[36mEmployeeReport (0.6ms)[0m [1m
|
55028
|
+
SELECT * FROM employees WHERE 1=1
|
55029
|
+
AND division in (('Tedious Toiling'))
|
55030
|
+
AND salary > 10000
|
55031
|
+
AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
|
55032
|
+
ORDER BY name DESC[0m
|
55033
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.8ms)
|
55034
|
+
Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.6ms)
|
55035
|
+
Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2013-12-02 09:42:41 -0500
|
55036
|
+
Processing by Dossier::ReportsController#show as HTML
|
55037
|
+
Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
|
55038
|
+
[1m[35mEmployeeReport (0.4ms)[0m
|
55039
|
+
SELECT * FROM employees WHERE 1=1
|
55040
|
+
ORDER BY name ASC
|
55041
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (7.3ms)
|
55042
|
+
Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.4ms)
|
55043
|
+
Started GET "/reports/employee.csv" for 127.0.0.1 at 2013-12-02 09:42:41 -0500
|
55044
|
+
Processing by Dossier::ReportsController#show as CSV
|
55045
|
+
Parameters: {"report"=>"employee"}
|
55046
|
+
[1m[36mEmployeeReport (0.4ms)[0m [1m
|
55047
|
+
SELECT * FROM employees WHERE 1=1
|
55048
|
+
ORDER BY name ASC[0m
|
55049
|
+
Completed 200 OK in 110ms (ActiveRecord: 0.4ms)
|
55050
|
+
Started GET "/reports/employee.xls" for 127.0.0.1 at 2013-12-02 09:42:41 -0500
|
55051
|
+
Processing by Dossier::ReportsController#show as XLS
|
55052
|
+
Parameters: {"report"=>"employee"}
|
55053
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
55054
|
+
SELECT * FROM employees WHERE 1=1
|
55055
|
+
ORDER BY name ASC
|
55056
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.3ms)
|
55057
|
+
Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.6ms)
|
55058
|
+
Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2013-12-02 09:42:42 -0500
|
55059
|
+
Processing by Dossier::ReportsController#show as HTML
|
55060
|
+
Parameters: {"report"=>"employee_with_custom_client"}
|
55061
|
+
[1m[36mEmployeeWithCustomClientReport (0.2ms)[0m [1m
|
55062
|
+
SELECT * FROM `employees`[0m
|
55063
|
+
Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.2ms)
|
55064
|
+
Connecting to database specified by database.yml
|
55065
|
+
[1m[36mFACTORY (2.8ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
55066
|
+
[1m[35mFACTORY (56.1ms)[0m DROP TABLE IF EXISTS `employees`
|
55067
|
+
[1m[36mFACTORY (17.4ms)[0m [1m CREATE TABLE `employees` (
|
55068
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
55069
|
+
`name` varchar(255) NOT NULL,
|
55070
|
+
`division` varchar(255) NOT NULL,
|
55071
|
+
`salary` int(11) NOT NULL,
|
55072
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
55073
|
+
`hired_on` date NOT NULL,
|
55074
|
+
PRIMARY KEY (`id`)
|
55075
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
55076
|
+
[0m
|
55077
|
+
[1m[35mFACTORY (0.9ms)[0m TRUNCATE `employees`
|
55078
|
+
[1m[36mFACTORY (0.4ms)[0m [1m INSERT INTO
|
55079
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55080
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
55081
|
+
[0m
|
55082
|
+
[1m[35mFACTORY (0.3ms)[0m INSERT INTO
|
55083
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55084
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
55085
|
+
|
55086
|
+
[1m[36mFACTORY (0.3ms)[0m [1m INSERT INTO
|
55087
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55088
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
55089
|
+
[0m
|
55090
|
+
[1m[35mFACTORY (4.4ms)[0m DROP TABLE IF EXISTS `employees`
|
55091
|
+
[1m[36mFACTORY (0.9ms)[0m [1m CREATE TABLE `employees` (
|
55092
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
55093
|
+
`name` TEXT NOT NULL,
|
55094
|
+
`division` TEXT NOT NULL,
|
55095
|
+
`salary` INTEGER NOT NULL,
|
55096
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
55097
|
+
`hired_on` DATE NOT NULL
|
55098
|
+
);
|
55099
|
+
[0m
|
55100
|
+
[1m[35mFACTORY (0.8ms)[0m DELETE FROM `employees`
|
55101
|
+
[1m[36mFACTORY (0.8ms)[0m [1m INSERT INTO
|
55102
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55103
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
55104
|
+
[0m
|
55105
|
+
[1m[35mFACTORY (0.7ms)[0m INSERT INTO
|
55106
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55107
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
55108
|
+
|
55109
|
+
[1m[36mFACTORY (0.7ms)[0m [1m INSERT INTO
|
55110
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55111
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
55112
|
+
[0m
|
55113
|
+
Connecting to database specified by database.yml
|
55114
|
+
[1m[36mFACTORY (0.1ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
55115
|
+
[1m[35mFACTORY (0.8ms)[0m DROP TABLE IF EXISTS `employees`
|
55116
|
+
[1m[36mFACTORY (7.5ms)[0m [1m CREATE TABLE `employees` (
|
55117
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
55118
|
+
`name` varchar(255) NOT NULL,
|
55119
|
+
`division` varchar(255) NOT NULL,
|
55120
|
+
`salary` int(11) NOT NULL,
|
55121
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
55122
|
+
`hired_on` date NOT NULL,
|
55123
|
+
PRIMARY KEY (`id`)
|
55124
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
55125
|
+
[0m
|
55126
|
+
[1m[35mFACTORY (2.3ms)[0m TRUNCATE `employees`
|
55127
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
55128
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55129
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
55130
|
+
[0m
|
55131
|
+
[1m[35mFACTORY (0.6ms)[0m INSERT INTO
|
55132
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55133
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
55134
|
+
|
55135
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
55136
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55137
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
55138
|
+
[0m
|
55139
|
+
[1m[35mFACTORY (1.4ms)[0m DROP TABLE IF EXISTS `employees`
|
55140
|
+
[1m[36mFACTORY (0.9ms)[0m [1m CREATE TABLE `employees` (
|
55141
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
55142
|
+
`name` TEXT NOT NULL,
|
55143
|
+
`division` TEXT NOT NULL,
|
55144
|
+
`salary` INTEGER NOT NULL,
|
55145
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
55146
|
+
`hired_on` DATE NOT NULL
|
55147
|
+
);
|
55148
|
+
[0m
|
55149
|
+
[1m[35mFACTORY (0.7ms)[0m DELETE FROM `employees`
|
55150
|
+
[1m[36mFACTORY (0.8ms)[0m [1m INSERT INTO
|
55151
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55152
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
55153
|
+
[0m
|
55154
|
+
[1m[35mFACTORY (0.8ms)[0m INSERT INTO
|
55155
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55156
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
55157
|
+
|
55158
|
+
[1m[36mFACTORY (0.8ms)[0m [1m INSERT INTO
|
55159
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55160
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
55161
|
+
[0m
|
55162
|
+
Connecting to database specified by database.yml
|
55163
|
+
[1m[36mFACTORY (0.1ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
55164
|
+
[1m[35mFACTORY (1.2ms)[0m DROP TABLE IF EXISTS `employees`
|
55165
|
+
[1m[36mFACTORY (14.5ms)[0m [1m CREATE TABLE `employees` (
|
55166
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
55167
|
+
`name` varchar(255) NOT NULL,
|
55168
|
+
`division` varchar(255) NOT NULL,
|
55169
|
+
`salary` int(11) NOT NULL,
|
55170
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
55171
|
+
`hired_on` date NOT NULL,
|
55172
|
+
PRIMARY KEY (`id`)
|
55173
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
55174
|
+
[0m
|
55175
|
+
[1m[35mFACTORY (1.1ms)[0m TRUNCATE `employees`
|
55176
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
55177
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55178
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
55179
|
+
[0m
|
55180
|
+
[1m[35mFACTORY (0.4ms)[0m INSERT INTO
|
55181
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55182
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
55183
|
+
|
55184
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
55185
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55186
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
55187
|
+
[0m
|
55188
|
+
[1m[35mFACTORY (1.3ms)[0m DROP TABLE IF EXISTS `employees`
|
55189
|
+
[1m[36mFACTORY (0.8ms)[0m [1m CREATE TABLE `employees` (
|
55190
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
55191
|
+
`name` TEXT NOT NULL,
|
55192
|
+
`division` TEXT NOT NULL,
|
55193
|
+
`salary` INTEGER NOT NULL,
|
55194
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
55195
|
+
`hired_on` DATE NOT NULL
|
55196
|
+
);
|
55197
|
+
[0m
|
55198
|
+
[1m[35mFACTORY (0.7ms)[0m DELETE FROM `employees`
|
55199
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
55200
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55201
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
55202
|
+
[0m
|
55203
|
+
[1m[35mFACTORY (0.8ms)[0m INSERT INTO
|
55204
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55205
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
55206
|
+
|
55207
|
+
[1m[36mFACTORY (0.8ms)[0m [1m INSERT INTO
|
55208
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55209
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
55210
|
+
[0m
|
55211
|
+
Connecting to database specified by database.yml
|
55212
|
+
[1m[36mFACTORY (0.1ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
55213
|
+
[1m[35mFACTORY (0.8ms)[0m DROP TABLE IF EXISTS `employees`
|
55214
|
+
[1m[36mFACTORY (13.7ms)[0m [1m CREATE TABLE `employees` (
|
55215
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
55216
|
+
`name` varchar(255) NOT NULL,
|
55217
|
+
`division` varchar(255) NOT NULL,
|
55218
|
+
`salary` int(11) NOT NULL,
|
55219
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
55220
|
+
`hired_on` date NOT NULL,
|
55221
|
+
PRIMARY KEY (`id`)
|
55222
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
55223
|
+
[0m
|
55224
|
+
[1m[35mFACTORY (1.1ms)[0m TRUNCATE `employees`
|
55225
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
55226
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55227
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
55228
|
+
[0m
|
55229
|
+
[1m[35mFACTORY (0.4ms)[0m INSERT INTO
|
55230
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55231
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
55232
|
+
|
55233
|
+
[1m[36mFACTORY (0.6ms)[0m [1m INSERT INTO
|
55234
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55235
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
55236
|
+
[0m
|
55237
|
+
[1m[35mFACTORY (1.4ms)[0m DROP TABLE IF EXISTS `employees`
|
55238
|
+
[1m[36mFACTORY (0.8ms)[0m [1m CREATE TABLE `employees` (
|
55239
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
55240
|
+
`name` TEXT NOT NULL,
|
55241
|
+
`division` TEXT NOT NULL,
|
55242
|
+
`salary` INTEGER NOT NULL,
|
55243
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
55244
|
+
`hired_on` DATE NOT NULL
|
55245
|
+
);
|
55246
|
+
[0m
|
55247
|
+
[1m[35mFACTORY (0.7ms)[0m DELETE FROM `employees`
|
55248
|
+
[1m[36mFACTORY (0.8ms)[0m [1m INSERT INTO
|
55249
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55250
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
55251
|
+
[0m
|
55252
|
+
[1m[35mFACTORY (0.8ms)[0m INSERT INTO
|
55253
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55254
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
55255
|
+
|
55256
|
+
[1m[36mFACTORY (0.8ms)[0m [1m INSERT INTO
|
55257
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55258
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
55259
|
+
[0m
|
55260
|
+
Connecting to database specified by database.yml
|
55261
|
+
[1m[36mFACTORY (0.1ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
55262
|
+
[1m[35mFACTORY (0.9ms)[0m DROP TABLE IF EXISTS `employees`
|
55263
|
+
[1m[36mFACTORY (7.5ms)[0m [1m CREATE TABLE `employees` (
|
55264
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
55265
|
+
`name` varchar(255) NOT NULL,
|
55266
|
+
`division` varchar(255) NOT NULL,
|
55267
|
+
`salary` int(11) NOT NULL,
|
55268
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
55269
|
+
`hired_on` date NOT NULL,
|
55270
|
+
PRIMARY KEY (`id`)
|
55271
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
55272
|
+
[0m
|
55273
|
+
[1m[35mFACTORY (1.5ms)[0m TRUNCATE `employees`
|
55274
|
+
[1m[36mFACTORY (0.6ms)[0m [1m INSERT INTO
|
55275
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55276
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
55277
|
+
[0m
|
55278
|
+
[1m[35mFACTORY (0.5ms)[0m INSERT INTO
|
55279
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55280
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
55281
|
+
|
55282
|
+
[1m[36mFACTORY (0.5ms)[0m [1m INSERT INTO
|
55283
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55284
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
55285
|
+
[0m
|
55286
|
+
[1m[35mFACTORY (1.5ms)[0m DROP TABLE IF EXISTS `employees`
|
55287
|
+
[1m[36mFACTORY (1.3ms)[0m [1m CREATE TABLE `employees` (
|
55288
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
55289
|
+
`name` TEXT NOT NULL,
|
55290
|
+
`division` TEXT NOT NULL,
|
55291
|
+
`salary` INTEGER NOT NULL,
|
55292
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
55293
|
+
`hired_on` DATE NOT NULL
|
55294
|
+
);
|
55295
|
+
[0m
|
55296
|
+
[1m[35mFACTORY (0.8ms)[0m DELETE FROM `employees`
|
55297
|
+
[1m[36mFACTORY (0.8ms)[0m [1m INSERT INTO
|
55298
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55299
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
55300
|
+
[0m
|
55301
|
+
[1m[35mFACTORY (0.8ms)[0m INSERT INTO
|
55302
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55303
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
55304
|
+
|
55305
|
+
[1m[36mFACTORY (0.9ms)[0m [1m INSERT INTO
|
55306
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55307
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
55308
|
+
[0m
|
55309
|
+
Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2013-12-02 10:05:04 -0500
|
55310
|
+
Processing by Dossier::ReportsController#show as HTML
|
55311
|
+
Parameters: {"report"=>"cats/are/super_fun"}
|
55312
|
+
[1m[35mCats::Are::SuperFunReport (0.1ms)[0m
|
55313
|
+
select 'cats', 'are', 'super', 'fun'
|
55314
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (12.0ms)
|
55315
|
+
Completed 200 OK in 25ms (Views: 15.8ms | ActiveRecord: 0.1ms)
|
55316
|
+
Started GET "/multi/reports/combination" for 127.0.0.1 at 2013-12-02 10:05:04 -0500
|
55317
|
+
Processing by Dossier::ReportsController#multi as HTML
|
55318
|
+
Parameters: {"report"=>"combination"}
|
55319
|
+
Rendered dossier/reports/combination/_options.html.haml (5.1ms)
|
55320
|
+
[1m[36mEmployeeReport (0.6ms)[0m [1m
|
55321
|
+
SELECT * FROM employees WHERE 1=1
|
55322
|
+
ORDER BY name ASC[0m
|
55323
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (10.2ms)
|
55324
|
+
[1m[35mEmployeeWithCustomViewReport (0.3ms)[0m
|
55325
|
+
SELECT * FROM employees WHERE suspended = true
|
55326
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml (3.7ms)
|
55327
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (36.2ms)
|
55328
|
+
Completed 200 OK in 40ms (Views: 37.9ms | ActiveRecord: 0.8ms)
|
55329
|
+
Started GET "/multi/reports/combination" for 127.0.0.1 at 2013-12-02 10:05:04 -0500
|
55330
|
+
Processing by Dossier::ReportsController#multi as HTML
|
55331
|
+
Parameters: {"report"=>"combination"}
|
55332
|
+
Rendered dossier/reports/combination/_options.html.haml (1.3ms)
|
55333
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1m
|
55334
|
+
SELECT * FROM employees WHERE 1=1
|
55335
|
+
ORDER BY name ASC[0m
|
55336
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (4.7ms)
|
55337
|
+
[1m[35mEmployeeWithCustomViewReport (0.2ms)[0m
|
55338
|
+
SELECT * FROM employees WHERE suspended = true
|
55339
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml (1.5ms)
|
55340
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (9.3ms)
|
55341
|
+
Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.5ms)
|
55342
|
+
Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2013-12-02 10:05:05 -0500
|
55343
|
+
Processing by Dossier::ReportsController#multi as CSV
|
55344
|
+
Parameters: {"report"=>"combination"}
|
55345
|
+
Completed 500 Internal Server Error in 1ms
|
55346
|
+
Started GET "/multi/reports/combination" for 127.0.0.1 at 2013-12-02 10:05:05 -0500
|
55347
|
+
Processing by Dossier::ReportsController#multi as HTML
|
55348
|
+
Parameters: {"report"=>"combination"}
|
55349
|
+
Rendered dossier/reports/combination/_options.html.haml (2.1ms)
|
55350
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1m
|
55351
|
+
SELECT * FROM employees WHERE 1=1
|
55352
|
+
ORDER BY name ASC[0m
|
55353
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (47.2ms)
|
55354
|
+
[1m[35mEmployeeWithCustomViewReport (0.2ms)[0m
|
55355
|
+
SELECT * FROM employees WHERE suspended = true
|
55356
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml (1.5ms)
|
55357
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (53.0ms)
|
55358
|
+
Completed 200 OK in 55ms (Views: 53.9ms | ActiveRecord: 0.6ms)
|
55359
|
+
Started GET "/reports/employee.csv" for 127.0.0.1 at 2013-12-02 10:05:05 -0500
|
55360
|
+
Processing by Dossier::ReportsController#show as CSV
|
55361
|
+
Parameters: {"report"=>"employee"}
|
55362
|
+
[1m[36mEmployeeReport (0.5ms)[0m [1m
|
55363
|
+
SELECT * FROM employees WHERE 1=1
|
55364
|
+
ORDER BY name ASC[0m
|
55365
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.5ms)
|
55366
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-12-02 10:05:05 -0500
|
55367
|
+
Processing by Dossier::ReportsController#show as HTML
|
55368
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
55369
|
+
Rendered dossier/reports/employee_with_custom_view/_options.html.haml (5.0ms)
|
55370
|
+
[1m[35mEmployeeWithCustomViewReport (0.2ms)[0m
|
55371
|
+
SELECT * FROM employees WHERE suspended = true
|
55372
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (11.0ms)
|
55373
|
+
Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.2ms)
|
55374
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-12-02 10:05:05 -0500
|
55375
|
+
Processing by Dossier::ReportsController#show as HTML
|
55376
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
55377
|
+
Rendered dossier/reports/employee_with_custom_view/_options.html.haml (4.7ms)
|
55378
|
+
[1m[36mEmployeeWithCustomViewReport (0.2ms)[0m [1m
|
55379
|
+
SELECT * FROM employees WHERE suspended = true[0m
|
55380
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (10.6ms)
|
55381
|
+
Completed 200 OK in 15ms (Views: 12.9ms | ActiveRecord: 0.2ms)
|
55382
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-12-02 10:05:05 -0500
|
55383
|
+
Processing by Dossier::ReportsController#show as HTML
|
55384
|
+
Parameters: {"report"=>"employee"}
|
55385
|
+
[1m[35mEmployeeReport (0.4ms)[0m
|
55386
|
+
SELECT * FROM employees WHERE 1=1
|
55387
|
+
ORDER BY name ASC
|
55388
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (8.7ms)
|
55389
|
+
Completed 200 OK in 15ms (Views: 10.9ms | ActiveRecord: 0.4ms)
|
55390
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-12-02 10:05:05 -0500
|
55391
|
+
Processing by Dossier::ReportsController#show as HTML
|
55392
|
+
Parameters: {"report"=>"employee"}
|
55393
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1m
|
55394
|
+
SELECT * FROM employees WHERE 1=1
|
55395
|
+
ORDER BY name ASC[0m
|
55396
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.8ms)
|
55397
|
+
Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)
|
55398
|
+
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 2013-12-02 10:05:05 -0500
|
55399
|
+
Processing by Dossier::ReportsController#show as HTML
|
55400
|
+
Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
|
55401
|
+
[1m[35mEmployeeReport (0.4ms)[0m
|
55402
|
+
SELECT * FROM employees WHERE 1=1
|
55403
|
+
AND division in (('Tedious Toiling'))
|
55404
|
+
AND salary > 10000
|
55405
|
+
AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
|
55406
|
+
ORDER BY name DESC
|
55407
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (7.3ms)
|
55408
|
+
Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.4ms)
|
55409
|
+
Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2013-12-02 10:05:05 -0500
|
55410
|
+
Processing by Dossier::ReportsController#show as HTML
|
55411
|
+
Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
|
55412
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1m
|
55413
|
+
SELECT * FROM employees WHERE 1=1
|
55414
|
+
ORDER BY name ASC[0m
|
55415
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.2ms)
|
55416
|
+
Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.3ms)
|
55417
|
+
Started GET "/reports/employee.xls" for 127.0.0.1 at 2013-12-02 10:05:05 -0500
|
55418
|
+
Processing by Dossier::ReportsController#show as XLS
|
55419
|
+
Parameters: {"report"=>"employee"}
|
55420
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
55421
|
+
SELECT * FROM employees WHERE 1=1
|
55422
|
+
ORDER BY name ASC
|
55423
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.3ms)
|
55424
|
+
Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.9ms)
|
55425
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1m
|
55426
|
+
SELECT * FROM employees WHERE 1=1
|
55427
|
+
ORDER BY name ASC[0m
|
55428
|
+
[1m[35mEmployeeReport (0.2ms)[0m
|
55429
|
+
SELECT * FROM employees WHERE 1=1
|
55430
|
+
ORDER BY name ASC
|
55431
|
+
Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2013-12-02 10:05:05 -0500
|
55432
|
+
Processing by SiteController#report as HTML
|
55433
|
+
[1m[36mEmployeeReport (0.4ms)[0m [1m
|
55434
|
+
SELECT * FROM employees WHERE 1=1
|
55435
|
+
ORDER BY name ASC[0m
|
55436
|
+
Completed 200 OK in 7ms (Views: 4.1ms | ActiveRecord: 0.4ms)
|
55437
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
55438
|
+
SELECT * FROM employees WHERE 1=1
|
55439
|
+
ORDER BY name ASC
|
55440
|
+
Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2013-12-02 10:05:05 -0500
|
55441
|
+
Processing by Dossier::ReportsController#show as HTML
|
55442
|
+
Parameters: {"report"=>"employee_with_custom_client"}
|
55443
|
+
[1m[36mEmployeeWithCustomClientReport (0.2ms)[0m [1m
|
55444
|
+
SELECT * FROM `employees`[0m
|
55445
|
+
Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.2ms)
|
55446
|
+
Connecting to database specified by database.yml
|
55447
|
+
[1m[36mFACTORY (0.1ms)[0m [1mCREATE DATABASE IF NOT EXISTS `dossier_test`[0m
|
55448
|
+
[1m[35mFACTORY (6.5ms)[0m DROP TABLE IF EXISTS `employees`
|
55449
|
+
[1m[36mFACTORY (19.9ms)[0m [1m CREATE TABLE `employees` (
|
55450
|
+
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
55451
|
+
`name` varchar(255) NOT NULL,
|
55452
|
+
`division` varchar(255) NOT NULL,
|
55453
|
+
`salary` int(11) NOT NULL,
|
55454
|
+
`suspended` tinyint(1) NOT NULL DEFAULT 0,
|
55455
|
+
`hired_on` date NOT NULL,
|
55456
|
+
PRIMARY KEY (`id`)
|
55457
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
55458
|
+
[0m
|
55459
|
+
[1m[35mFACTORY (0.9ms)[0m TRUNCATE `employees`
|
55460
|
+
[1m[36mFACTORY (0.4ms)[0m [1m INSERT INTO
|
55461
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55462
|
+
VALUES ('Moustafa McMann', '2010-10-02', false, 'Zany Inventions', 30000);
|
55463
|
+
[0m
|
55464
|
+
[1m[35mFACTORY (0.3ms)[0m INSERT INTO
|
55465
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55466
|
+
VALUES ('Jimmy Jackalope, Jr.', '2013-01-11', true, 'Tedious Toiling', 20000);
|
55467
|
+
|
55468
|
+
[1m[36mFACTORY (0.3ms)[0m [1m INSERT INTO
|
55469
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55470
|
+
VALUES ('Elise Elderberry', '2013-01-11', false, 'Corporate Malfeasance', 99000);
|
55471
|
+
[0m
|
55472
|
+
[1m[35mFACTORY (1.2ms)[0m DROP TABLE IF EXISTS `employees`
|
55473
|
+
[1m[36mFACTORY (0.7ms)[0m [1m CREATE TABLE `employees` (
|
55474
|
+
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
55475
|
+
`name` TEXT NOT NULL,
|
55476
|
+
`division` TEXT NOT NULL,
|
55477
|
+
`salary` INTEGER NOT NULL,
|
55478
|
+
`suspended` TINYINT NOT NULL DEFAULT 0,
|
55479
|
+
`hired_on` DATE NOT NULL
|
55480
|
+
);
|
55481
|
+
[0m
|
55482
|
+
[1m[35mFACTORY (0.5ms)[0m DELETE FROM `employees`
|
55483
|
+
[1m[36mFACTORY (0.6ms)[0m [1m INSERT INTO
|
55484
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55485
|
+
VALUES ('MOUSTAFA MCMANN', '2010-10-02', 0, 'Zany Inventions', 30000);
|
55486
|
+
[0m
|
55487
|
+
[1m[35mFACTORY (0.6ms)[0m INSERT INTO
|
55488
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55489
|
+
VALUES ('JIMMY JACKALOPE, JR.', '2013-01-11', 1, 'Tedious Toiling', 20000);
|
55490
|
+
|
55491
|
+
[1m[36mFACTORY (0.6ms)[0m [1m INSERT INTO
|
55492
|
+
`employees` (`name`, `hired_on`, `suspended`, `division`, `salary`)
|
55493
|
+
VALUES ('ELISE ELDERBERRY', '2013-01-11', 0, 'Corporate Malfeasance', 99000);
|
55494
|
+
[0m
|
55495
|
+
Started GET "/reports/employee_with_custom_client" for 127.0.0.1 at 2013-12-02 10:07:16 -0500
|
55496
|
+
Processing by Dossier::ReportsController#show as HTML
|
55497
|
+
Parameters: {"report"=>"employee_with_custom_client"}
|
55498
|
+
[1m[35mEmployeeWithCustomClientReport (0.8ms)[0m
|
55499
|
+
SELECT * FROM `employees`
|
55500
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (10.9ms)
|
55501
|
+
Completed 200 OK in 22ms (Views: 14.3ms | ActiveRecord: 0.8ms)
|
55502
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1m
|
55503
|
+
SELECT * FROM employees WHERE 1=1
|
55504
|
+
ORDER BY name ASC[0m
|
55505
|
+
Started GET "/reports/employee.csv" for 127.0.0.1 at 2013-12-02 10:07:17 -0500
|
55506
|
+
Processing by Dossier::ReportsController#show as CSV
|
55507
|
+
Parameters: {"report"=>"employee"}
|
55508
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
55509
|
+
SELECT * FROM employees WHERE 1=1
|
55510
|
+
ORDER BY name ASC
|
55511
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
|
55512
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-12-02 10:07:17 -0500
|
55513
|
+
Processing by Dossier::ReportsController#show as HTML
|
55514
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
55515
|
+
Rendered dossier/reports/employee_with_custom_view/_options.html.haml (4.7ms)
|
55516
|
+
[1m[36mEmployeeWithCustomViewReport (0.3ms)[0m [1m
|
55517
|
+
SELECT * FROM employees WHERE suspended = true[0m
|
55518
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (12.4ms)
|
55519
|
+
Completed 200 OK in 17ms (Views: 15.6ms | ActiveRecord: 0.3ms)
|
55520
|
+
Started GET "/reports/employee_with_custom_view" for 127.0.0.1 at 2013-12-02 10:07:17 -0500
|
55521
|
+
Processing by Dossier::ReportsController#show as HTML
|
55522
|
+
Parameters: {"report"=>"employee_with_custom_view"}
|
55523
|
+
Rendered dossier/reports/employee_with_custom_view/_options.html.haml (2.5ms)
|
55524
|
+
[1m[35mEmployeeWithCustomViewReport (0.2ms)[0m
|
55525
|
+
SELECT * FROM employees WHERE suspended = true
|
55526
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml within layouts/application (6.4ms)
|
55527
|
+
Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.2ms)
|
55528
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-12-02 10:07:17 -0500
|
55529
|
+
Processing by Dossier::ReportsController#show as HTML
|
55530
|
+
Parameters: {"report"=>"employee"}
|
55531
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1m
|
55532
|
+
SELECT * FROM employees WHERE 1=1
|
55533
|
+
ORDER BY name ASC[0m
|
55534
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (6.8ms)
|
55535
|
+
Completed 200 OK in 11ms (Views: 8.2ms | ActiveRecord: 0.3ms)
|
55536
|
+
Started GET "/reports/employee" for 127.0.0.1 at 2013-12-02 10:07:17 -0500
|
55537
|
+
Processing by Dossier::ReportsController#show as HTML
|
55538
|
+
Parameters: {"report"=>"employee"}
|
55539
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
55540
|
+
SELECT * FROM employees WHERE 1=1
|
55541
|
+
ORDER BY name ASC
|
55542
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (8.1ms)
|
55543
|
+
Completed 200 OK in 13ms (Views: 10.4ms | ActiveRecord: 0.3ms)
|
55544
|
+
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 2013-12-02 10:07:17 -0500
|
55545
|
+
Processing by Dossier::ReportsController#show as HTML
|
55546
|
+
Parameters: {"options"=>{"divisions"=>["Tedious Toiling"], "names"=>["Jimmy Jackalope", "Moustafa McMann"], "order"=>"desc", "salary"=>"true"}, "report"=>"employee"}
|
55547
|
+
[1m[36mEmployeeReport (0.5ms)[0m [1m
|
55548
|
+
SELECT * FROM employees WHERE 1=1
|
55549
|
+
AND division in (('Tedious Toiling'))
|
55550
|
+
AND salary > 10000
|
55551
|
+
AND (name like '%Moustafa McMann%' or name like '%Jimmy Jackalope%')
|
55552
|
+
ORDER BY name DESC[0m
|
55553
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (11.2ms)
|
55554
|
+
Completed 200 OK in 16ms (Views: 13.3ms | ActiveRecord: 0.5ms)
|
55555
|
+
Started GET "/reports/employee?options[footer]=1" for 127.0.0.1 at 2013-12-02 10:07:17 -0500
|
55556
|
+
Processing by Dossier::ReportsController#show as HTML
|
55557
|
+
Parameters: {"options"=>{"footer"=>"1"}, "report"=>"employee"}
|
55558
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
55559
|
+
SELECT * FROM employees WHERE 1=1
|
55560
|
+
ORDER BY name ASC
|
55561
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within layouts/application (5.3ms)
|
55562
|
+
Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.3ms)
|
55563
|
+
Started GET "/reports/employee.xls" for 127.0.0.1 at 2013-12-02 10:07:17 -0500
|
55564
|
+
Processing by Dossier::ReportsController#show as XLS
|
55565
|
+
Parameters: {"report"=>"employee"}
|
55566
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1m
|
55567
|
+
SELECT * FROM employees WHERE 1=1
|
55568
|
+
ORDER BY name ASC[0m
|
55569
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.3ms)
|
55570
|
+
Started GET "/multi/reports/combination" for 127.0.0.1 at 2013-12-02 10:07:17 -0500
|
55571
|
+
Processing by Dossier::ReportsController#multi as HTML
|
55572
|
+
Parameters: {"report"=>"combination"}
|
55573
|
+
Rendered dossier/reports/combination/_options.html.haml (3.8ms)
|
55574
|
+
[1m[35mEmployeeReport (0.4ms)[0m
|
55575
|
+
SELECT * FROM employees WHERE 1=1
|
55576
|
+
ORDER BY name ASC
|
55577
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (7.6ms)
|
55578
|
+
[1m[36mEmployeeWithCustomViewReport (0.3ms)[0m [1m
|
55579
|
+
SELECT * FROM employees WHERE suspended = true[0m
|
55580
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml (3.0ms)
|
55581
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (29.6ms)
|
55582
|
+
Completed 200 OK in 34ms (Views: 31.5ms | ActiveRecord: 0.7ms)
|
55583
|
+
Started GET "/multi/reports/combination" for 127.0.0.1 at 2013-12-02 10:07:17 -0500
|
55584
|
+
Processing by Dossier::ReportsController#multi as HTML
|
55585
|
+
Parameters: {"report"=>"combination"}
|
55586
|
+
Rendered dossier/reports/combination/_options.html.haml (1.3ms)
|
55587
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
55588
|
+
SELECT * FROM employees WHERE 1=1
|
55589
|
+
ORDER BY name ASC
|
55590
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.1ms)
|
55591
|
+
[1m[36mEmployeeWithCustomViewReport (0.2ms)[0m [1m
|
55592
|
+
SELECT * FROM employees WHERE suspended = true[0m
|
55593
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml (1.6ms)
|
55594
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (9.9ms)
|
55595
|
+
Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.6ms)
|
55596
|
+
Started GET "/multi/reports/combination.csv" for 127.0.0.1 at 2013-12-02 10:07:17 -0500
|
55597
|
+
Processing by Dossier::ReportsController#multi as CSV
|
55598
|
+
Parameters: {"report"=>"combination"}
|
55599
|
+
Completed 500 Internal Server Error in 1ms
|
55600
|
+
Started GET "/multi/reports/combination" for 127.0.0.1 at 2013-12-02 10:07:17 -0500
|
55601
|
+
Processing by Dossier::ReportsController#multi as HTML
|
55602
|
+
Parameters: {"report"=>"combination"}
|
55603
|
+
Rendered dossier/reports/combination/_options.html.haml (1.8ms)
|
55604
|
+
[1m[35mEmployeeReport (0.2ms)[0m
|
55605
|
+
SELECT * FROM employees WHERE 1=1
|
55606
|
+
ORDER BY name ASC
|
55607
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml (5.0ms)
|
55608
|
+
[1m[36mEmployeeWithCustomViewReport (0.2ms)[0m [1m
|
55609
|
+
SELECT * FROM employees WHERE suspended = true[0m
|
55610
|
+
Rendered dossier/reports/employee_with_custom_view.html.haml (1.5ms)
|
55611
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/multi.html.haml within layouts/application (10.2ms)
|
55612
|
+
Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.5ms)
|
55613
|
+
[1m[35mEmployeeReport (0.3ms)[0m
|
55614
|
+
SELECT * FROM employees WHERE 1=1
|
55615
|
+
ORDER BY name ASC
|
55616
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (4.7ms)
|
55617
|
+
[1m[36mEmployeeReport (0.3ms)[0m [1m
|
55618
|
+
SELECT * FROM employees WHERE 1=1
|
55619
|
+
ORDER BY name ASC[0m
|
55620
|
+
Rendered /Users/adamhunter/Studio/github/dossier/app/views/dossier/reports/show.html.haml within dossier/layouts/application (6.2ms)
|
55621
|
+
Rendered dossier/reports/employee_with_custom_view/_options.html.haml (3.9ms)
|
55622
|
+
Started GET "/reports/cats/are/super_fun" for 127.0.0.1 at 2013-12-02 10:07:17 -0500
|
55623
|
+
Processing by Dossier::ReportsController#show as HTML
|
55624
|
+
Parameters: {"report"=>"cats/are/super_fun"}
|
55625
|
+
[1m[35mCats::Are::SuperFunReport (0.1ms)[0m
|
55626
|
+
select 'cats', 'are', 'super', 'fun'
|
55627
|
+
Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.1ms)
|
55628
|
+
Started GET "/employee_report_custom_controller" for 127.0.0.1 at 2013-12-02 10:07:17 -0500
|
55629
|
+
Processing by SiteController#report as HTML
|
55630
|
+
[1m[36mEmployeeReport (0.4ms)[0m [1m
|
55631
|
+
SELECT * FROM employees WHERE 1=1
|
55632
|
+
ORDER BY name ASC[0m
|
55633
|
+
Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.4ms)
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dossier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Hunter
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-12-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: arel
|
@@ -336,7 +336,8 @@ files:
|
|
336
336
|
- spec/spec_helper.rb
|
337
337
|
- spec/support/factory.rb
|
338
338
|
homepage: https://github.com/adamhunter/dossier
|
339
|
-
licenses:
|
339
|
+
licenses:
|
340
|
+
- MIT
|
340
341
|
metadata: {}
|
341
342
|
post_install_message:
|
342
343
|
rdoc_options: []
|