meta_reports 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +58 -33
- data/app/helpers/meta_reports/reports_helper.rb +37 -20
- data/app/models/meta_reports/base.rb +9 -1
- data/config/routes.rb +3 -1
- data/lib/generators/meta_reports/templates/models/report.rb +5 -17
- data/lib/generators/meta_reports/templates/models/report_non_activerecord.rb +5 -17
- data/lib/generators/meta_reports/templates/views/_form.html.erb +9 -0
- data/lib/generators/meta_reports/templates/views/templates/_default_header.pdf.prawn +0 -1
- data/lib/generators/meta_reports/templates/views/templates/_default_header.xlsx.axlsx +5 -11
- data/lib/generators/meta_reports/templates/views/templates/_default_table.html.erb +14 -5
- data/lib/generators/meta_reports/templates/views/templates/_default_table.pdf.prawn +5 -1
- data/lib/generators/meta_reports/templates/views/templates/default.pdf.prawn +7 -5
- data/lib/meta_reports/version.rb +1 -1
- data/lib/tasks/meta_reports_tasks.rake +9 -8
- data/spec/dummy/app/assets/stylesheets/lib/metareports_color_variables.scss +7 -9
- data/spec/dummy/app/assets/stylesheets/lib/metareports_colors.scss +7 -9
- data/spec/dummy/app/models/meta_reports/report.rb +5 -17
- data/spec/dummy/app/views/meta_reports/reports/_form.html.erb +16 -0
- data/spec/dummy/app/views/meta_reports/reports/templates/_default_header.pdf.prawn +0 -1
- data/spec/dummy/app/views/meta_reports/reports/templates/_default_header.xlsx.axlsx +5 -11
- data/spec/dummy/app/views/meta_reports/reports/templates/_default_table.html.erb +14 -5
- data/spec/dummy/app/views/meta_reports/reports/templates/_default_table.pdf.prawn +5 -1
- data/spec/dummy/app/views/meta_reports/reports/templates/default.pdf.prawn +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/log/development.log +806 -0
- data/spec/dummy/tmp/capybara/capybara-201310282335386823859116.html +268 -0
- data/spec/dummy/tmp/capybara/capybara-201310282336101820292402.html +268 -0
- data/spec/dummy/tmp/capybara/capybara-201310282338439674392250.html +60 -0
- data/spec/dummy/tmp/capybara/capybara-201310282350595445887206.html +60 -0
- data/spec/dummy/tmp/capybara/capybara-201310282351429822980920.html +60 -0
- data/spec/dummy/tmp/capybara/capybara-201310282354523302677005.html +60 -0
- data/spec/features/dummy_spec.rb +10 -0
- data/spec/support/utilities.rb +27 -0
- data/spec/tasks/meta_reports_rake_spec.rb +14 -18
- metadata +30 -2
data/lib/meta_reports/version.rb
CHANGED
@@ -12,8 +12,8 @@ namespace :meta_reports do
|
|
12
12
|
desc "export both color variables and the colors sass files"
|
13
13
|
task :export_colors => [:export_color_variables, :export_colors_only]
|
14
14
|
|
15
|
-
desc "export the
|
16
|
-
task :
|
15
|
+
desc "export the color variables file"
|
16
|
+
task :export_color_variables => :environment do
|
17
17
|
FileUtils.mkdir_p "app/assets/stylesheets/lib"
|
18
18
|
File.open("app/assets/stylesheets/lib/metareports_color_variables.scss", "w") do |f|
|
19
19
|
printfl "\tVariables: "
|
@@ -33,23 +33,24 @@ namespace :meta_reports do
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
desc "export the colors
|
37
|
-
task :
|
36
|
+
desc "export the colors file"
|
37
|
+
task :export_colors_only => :environment do
|
38
38
|
File.open("app/assets/stylesheets/lib/metareports_colors.scss", "w") do |f|
|
39
39
|
f.puts "@import 'metareports_color_variables.scss';"
|
40
40
|
print "\tCSS classes: "
|
41
41
|
MetaReports::Report::COLORS.each do |klass, color|
|
42
42
|
printfl "."
|
43
|
-
|
43
|
+
#for now, colors are simply row colors
|
44
|
+
#css_klass = klass.to_s.gsub(/___/,' ').gsub(/__/,'#').gsub(/_/,'.').gsub(/--/,':')
|
44
45
|
if color.is_a? Array
|
45
46
|
len = color.length
|
46
47
|
color.each_with_index do |val, i|
|
47
|
-
f.puts "
|
48
|
+
f.puts "tr.#{klass}:nth-child(#{len}n+#{i}) { background: $#{klass}_#{i}; }"
|
48
49
|
end
|
49
50
|
elsif color.to_s =~ /^\s*\$/
|
50
|
-
f.puts "
|
51
|
+
f.puts "tr.#{klass} { background: #{color}; }"
|
51
52
|
else
|
52
|
-
f.puts "
|
53
|
+
f.puts "tr.#{klass} { background: $#{klass}; }"
|
53
54
|
end
|
54
55
|
end
|
55
56
|
puts " Done"
|
@@ -1,9 +1,7 @@
|
|
1
|
-
$
|
2
|
-
$
|
3
|
-
$
|
4
|
-
$
|
5
|
-
$
|
6
|
-
$
|
7
|
-
$
|
8
|
-
$a--hover_0: #ffcccc;
|
9
|
-
$a--hover_1: #ffc5c5;
|
1
|
+
$even: #efefef;
|
2
|
+
$odd: #ffffff;
|
3
|
+
$yellow_0: #ffffaa;
|
4
|
+
$yellow_1: #ffffcc;
|
5
|
+
$yellow_2: #f9f9a4;
|
6
|
+
$yellow_3: #f9f9c6;
|
7
|
+
$highlight: $yellow_1;
|
@@ -1,10 +1,8 @@
|
|
1
1
|
@import 'metareports_color_variables.scss';
|
2
|
-
.even { background: $
|
3
|
-
.odd { background: $
|
4
|
-
.yellow:nth-child(4n+0) { background: $
|
5
|
-
.yellow:nth-child(4n+1) { background: $
|
6
|
-
.yellow:nth-child(4n+2) { background: $
|
7
|
-
.yellow:nth-child(4n+3) { background: $
|
8
|
-
tr
|
9
|
-
a:hover:nth-child(2n+0) { background: $a--hover_0; }
|
10
|
-
a:hover:nth-child(2n+1) { background: $a--hover_1; }
|
2
|
+
tr.even { background: $even; }
|
3
|
+
tr.odd { background: $odd; }
|
4
|
+
tr.yellow:nth-child(4n+0) { background: $yellow_0; }
|
5
|
+
tr.yellow:nth-child(4n+1) { background: $yellow_1; }
|
6
|
+
tr.yellow:nth-child(4n+2) { background: $yellow_2; }
|
7
|
+
tr.yellow:nth-child(4n+3) { background: $yellow_3; }
|
8
|
+
tr.highlight { background: $yellow_1 !important; }
|
@@ -3,26 +3,14 @@ class MetaReports::Report < MetaReports::Base
|
|
3
3
|
#
|
4
4
|
# Shared colors. The key is the class name, value is RGB in hex format
|
5
5
|
#
|
6
|
-
#
|
7
|
-
# * In the SASS CSS file:
|
8
|
-
# - '___' will be changed to ' '
|
9
|
-
# - '__' will be changed to '#'
|
10
|
-
# - '_' will be changed to '.'
|
11
|
-
# - '--' will be changed to ':'
|
12
|
-
# - an array of values will be changed to nth-child rules for consecutive rows
|
13
|
-
# * In the SASS variables file:
|
14
|
-
# - the variable name will be the same as the key
|
15
|
-
# - an array of values will be changed into variables whose name is the class name plus a numerical suffix for each entry
|
16
|
-
#
|
17
|
-
# Example: 'tr____highlight' is 'tr .highlight {}' in CSS, and $tr____highlight as a SASS variable.
|
6
|
+
# Example: "highlight: 'ffcccc'" is 'tr.highlight {background: #ffcccc}' in CSS, and "$highlight: #ffcccc;"" as a SASS variable.
|
18
7
|
#
|
19
8
|
|
20
9
|
COLORS = {
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
'a--hover' => ['ffcccc', 'ffc5c5']
|
10
|
+
even: 'efefef',
|
11
|
+
odd: 'ffffff',
|
12
|
+
yellow: ['ffffaa', 'ffffcc', 'f9f9a4', 'f9f9c6'],
|
13
|
+
highlight: '$yellow_1 !important',
|
26
14
|
}
|
27
15
|
|
28
16
|
|
@@ -39,6 +39,22 @@
|
|
39
39
|
<%= f.label :target %><br />
|
40
40
|
<%= f.text_field :target %>
|
41
41
|
</div>
|
42
|
+
<div class="field">
|
43
|
+
<% formats = @report.formats %>
|
44
|
+
<% if current_user.has_any_role?(:admin, :manager) %>
|
45
|
+
<% for format in MetaReports::Base::FORMATS.sort %>
|
46
|
+
<%= check_box_tag "report[formats][]", format, formats.include?(format) %>
|
47
|
+
<span class='bold'><%= format.humanize %></span>
|
48
|
+
<br />
|
49
|
+
<% end %>
|
50
|
+
<% else %>
|
51
|
+
<% for format in formats %>
|
52
|
+
* <span class='bold'><%= role.humanize %></span>
|
53
|
+
<br />
|
54
|
+
<% end %>
|
55
|
+
<% end %>
|
56
|
+
<%= hidden_field_tag "report[formats][]", "" %>
|
57
|
+
</div>
|
42
58
|
<div class="actions">
|
43
59
|
<%= f.submit %>
|
44
60
|
</div>
|
@@ -1,17 +1,11 @@
|
|
1
1
|
wb = sheet.workbook
|
2
2
|
styles = {} unless defined?(styles)
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
end
|
9
|
-
unless styles[:subtitle]
|
10
|
-
styles[:subtitle] = wb.styles.add_style :sz => 12, :alignment => { :horizontal => :center}, :b => true
|
11
|
-
end
|
3
|
+
styles[:bold] ||= wb.styles.add_style :b => true
|
4
|
+
styles[:title] ||= wb.styles.add_style :sz => 14, :alignment => { :horizontal => :center}, :b => true
|
5
|
+
styles[:subtitle] ||= wb.styles.add_style :sz => 12, :alignment => { :horizontal => :center}, :b => true
|
6
|
+
columns ||= 8
|
7
|
+
subtitle ||= ''
|
12
8
|
|
13
|
-
columns = columns || 8
|
14
|
-
subtitle = subtitle || ''
|
15
9
|
sheet.add_row ["Company Name, Address"] + ['']*(columns-3) + [Date.today().to_s, Time.now().strftime("%I:%M")], :style => styles[:bold]
|
16
10
|
sheet.add_row [' '] * columns
|
17
11
|
sheet.add_row [title], :style => styles[:title]
|
@@ -4,16 +4,25 @@ table_class = table.options[:table_class].to_s if !defined?(table_class) || tabl
|
|
4
4
|
%>
|
5
5
|
<%= content_tag(:h4, table_name) %>
|
6
6
|
<div class='list_container'>
|
7
|
-
<%= content_tag(:table, :class => "table #{table_class}") do %>
|
7
|
+
<%= content_tag(:table, :class => "table table-condensed #{table_class}") do %>
|
8
8
|
<% unless @report[:table_header] == false %>
|
9
9
|
<%= content_tag(:thead, content_tag(:tr, table.to_a.shift.map { |h| html_cell(h, :th)}.join.html_safe ) ) %>
|
10
10
|
<% end %>
|
11
11
|
<tbody>
|
12
|
-
<% table.to_a.each_with_index do |row, i|
|
13
|
-
|
14
|
-
|
12
|
+
<% table.to_a.each_with_index do |row, i|
|
13
|
+
style = nil
|
14
|
+
if MetaReports::Base.inline_css && row_classes[i]
|
15
|
+
color = nil
|
16
|
+
row_classes[i].split(/\s+/).each do |token|
|
17
|
+
if color = meta_report_color(token)
|
18
|
+
break
|
19
|
+
end
|
20
|
+
end
|
21
|
+
style = "background-color: ##{color}"
|
22
|
+
#TODO: handle bold, alignment
|
23
|
+
end
|
15
24
|
%>
|
16
|
-
<%= content_tag(:tr, :
|
25
|
+
<%= content_tag(:tr, class: row_classes[i], style: style) do
|
17
26
|
row.each do |cell|
|
18
27
|
%><%= html_cell(cell) %><%
|
19
28
|
end
|
@@ -5,6 +5,7 @@ styling = {}
|
|
5
5
|
column_widths = {} if !defined?(column_widths) || column_widths.blank?
|
6
6
|
font_size = table[:font_size] || 8
|
7
7
|
table_header = table[:table_header] != false
|
8
|
+
row_offset = table_header ? 1 : 0
|
8
9
|
pdf.table prep_pdf_table(table, styling), :header => table_header, :row_colors => ["EEEEEE", "FFFFFF"], :width => pdf.bounds.width, :cell_style => {:padding => 2, :size => font_size, :align => :center} do |t|
|
9
10
|
t.cells.borders = []
|
10
11
|
t.style t.row(0), :borders => [:bottom], :background_color => "DDDDDD", :font_style => :bold
|
@@ -17,7 +18,10 @@ pdf.table prep_pdf_table(table, styling), :header => table_header, :row_colors =
|
|
17
18
|
t.style t.row(cell[0]).column(cell[1]), :font_style => :bold
|
18
19
|
end
|
19
20
|
styling[:row_colors].each do |row, color|
|
20
|
-
t.style t.row(row), :background_color => color
|
21
|
+
t.style t.row(row+row_offset), :background_color => color
|
22
|
+
end
|
23
|
+
styling[:cell_bg_colors].to_a.each do |cell|
|
24
|
+
t.style t.row(cell[0]).column(cell[1]), :background_color => cell[2]
|
21
25
|
end
|
22
26
|
if styling[:column_widths]
|
23
27
|
t.column_widths = styling[:column_widths]
|
@@ -1,5 +1,5 @@
|
|
1
1
|
margin = @report[:page_margin] && [*@report[:page_margin]][0,4] || nil
|
2
|
-
prawn_document(
|
2
|
+
prawn_document(page_layout: @report[:page_orientation] || :portrait, page_size: @report[:page_size] || 'LETTER', margin: margin) do |pdf|
|
3
3
|
|
4
4
|
render :partial => "meta_reports/reports/templates/default_header", :locals => { :pdf => pdf, :title => @report[:title], :subtitle => @report[:subtitle] }
|
5
5
|
pdf.font_size = @report[:font_size] || 8
|
Binary file
|
@@ -24201,3 +24201,809 @@ Connecting to database specified by database.yml
|
|
24201
24201
|
[1m[35m (0.0ms)[0m rollback transaction
|
24202
24202
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24203
24203
|
[1m[35m (0.0ms)[0m rollback transaction
|
24204
|
+
Connecting to database specified by database.yml
|
24205
|
+
[1m[36mSQL (1.4ms)[0m [1mDELETE FROM "meta_reports_reports"[0m
|
24206
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24207
|
+
[1m[36mSQL (49.9ms)[0m [1mINSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 29 Oct 2013 06:29:23 UTC +00:00], ["description", "Moo, eh?"], ["direct", nil], ["formats_mask", 7], ["group", "moo"], ["name", "moo"], ["target", nil], ["title", "Le Moo"], ["updated_at", Tue, 29 Oct 2013 06:29:23 UTC +00:00], ["views", nil]]
|
24208
|
+
[1m[35m (1.3ms)[0m commit transaction
|
24209
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24210
|
+
|
24211
|
+
|
24212
|
+
Started GET "/meta_reports/13/edit" for 127.0.0.1 at 2013-10-28 23:29:23 -0700
|
24213
|
+
Processing by MetaReports::ReportsController#edit as HTML
|
24214
|
+
Parameters: {"id"=>"13"}
|
24215
|
+
[1m[35mMetaReports::Report Load (0.2ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "13"]]
|
24216
|
+
Rendered meta_reports/reports/_form.html.erb (15.5ms)
|
24217
|
+
Rendered meta_reports/reports/edit.html.erb within layouts/application (28.1ms)
|
24218
|
+
Completed 200 OK in 117ms (Views: 114.3ms | ActiveRecord: 0.2ms)
|
24219
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
24220
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24221
|
+
|
24222
|
+
|
24223
|
+
Started GET "/meta_reports" for 127.0.0.1 at 2013-10-28 23:29:23 -0700
|
24224
|
+
Processing by MetaReports::ReportsController#index as HTML
|
24225
|
+
[1m[36mMetaReports::Report Load (0.2ms)[0m [1mSELECT "meta_reports_reports".* FROM "meta_reports_reports" ORDER BY meta_reports_reports.title[0m
|
24226
|
+
Rendered meta_reports/reports/index.html.erb within layouts/application (2.9ms)
|
24227
|
+
Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.2ms)
|
24228
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24229
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24230
|
+
|
24231
|
+
|
24232
|
+
Started GET "/meta_reports/13" for 127.0.0.1 at 2013-10-28 23:29:24 -0700
|
24233
|
+
Processing by MetaReports::ReportsController#show as HTML
|
24234
|
+
Parameters: {"id"=>"13"}
|
24235
|
+
[1m[35mMetaReports::Report Load (0.1ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "13"]]
|
24236
|
+
Rendered meta_reports/reports/templates/_default_table.html.erb (1.2ms)
|
24237
|
+
Rendered meta_reports/reports/templates/_default.html.erb (4.0ms)
|
24238
|
+
Rendered meta_reports/reports/templates/default.html.erb within layouts/application (4.9ms)
|
24239
|
+
[1m[36m (0.3ms)[0m [1mUPDATE meta_reports_reports SET views = views + 1 WHERE id = 13[0m
|
24240
|
+
Completed 200 OK in 13ms (Views: 9.6ms | ActiveRecord: 0.4ms)
|
24241
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
24242
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24243
|
+
|
24244
|
+
|
24245
|
+
Started GET "/meta_reports/13.xlsx" for 127.0.0.1 at 2013-10-28 23:29:24 -0700
|
24246
|
+
Processing by MetaReports::ReportsController#show as XLSX
|
24247
|
+
Parameters: {"id"=>"13"}
|
24248
|
+
[1m[35mMetaReports::Report Load (0.1ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "13"]]
|
24249
|
+
Rendered meta_reports/reports/templates/_default_header.xlsx.axlsx (7.4ms)
|
24250
|
+
Rendered meta_reports/reports/templates/default.xlsx.axlsx (18.6ms)
|
24251
|
+
[1m[36m (0.3ms)[0m [1mUPDATE meta_reports_reports SET views = views + 1 WHERE id = 13[0m
|
24252
|
+
Completed 200 OK in 23ms (Views: 21.4ms | ActiveRecord: 0.4ms)
|
24253
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
24254
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24255
|
+
|
24256
|
+
|
24257
|
+
Started GET "/meta_reports/new" for 127.0.0.1 at 2013-10-28 23:29:24 -0700
|
24258
|
+
Processing by MetaReports::ReportsController#show as HTML
|
24259
|
+
Parameters: {"id"=>"new"}
|
24260
|
+
[1m[35mMetaReports::Report Load (0.2ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."name" = 'new' LIMIT 1
|
24261
|
+
Completed 500 Internal Server Error in 3ms
|
24262
|
+
|
24263
|
+
NoMethodError (undefined method `run' for nil:NilClass):
|
24264
|
+
app/controllers/meta_reports/reports_controller.rb:22:in `show'
|
24265
|
+
|
24266
|
+
|
24267
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p195/gems/actionpack-3.2.14/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
|
24268
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p195/gems/actionpack-3.2.14/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
24269
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p195/gems/actionpack-3.2.14/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (42.0ms)
|
24270
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
24271
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24272
|
+
|
24273
|
+
|
24274
|
+
Started GET "/meta_reports/13.pdf" for 127.0.0.1 at 2013-10-28 23:29:24 -0700
|
24275
|
+
Processing by MetaReports::ReportsController#show as PDF
|
24276
|
+
Parameters: {"id"=>"13"}
|
24277
|
+
[1m[36mMetaReports::Report Load (0.1ms)[0m [1mSELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1[0m [["id", "13"]]
|
24278
|
+
title: "Le Moo"
|
24279
|
+
Rendered meta_reports/reports/templates/_default_header.pdf.prawn (148.3ms)
|
24280
|
+
Rendered meta_reports/reports/templates/_default_table.pdf.prawn (19.3ms)
|
24281
|
+
Rendered meta_reports/reports/templates/_default_footer.pdf.prawn (1.4ms)
|
24282
|
+
Rendered meta_reports/reports/templates/default.pdf.prawn (181.7ms)
|
24283
|
+
[1m[35m (0.3ms)[0m UPDATE meta_reports_reports SET views = views + 1 WHERE id = 13
|
24284
|
+
Completed 200 OK in 186ms (Views: 184.4ms | ActiveRecord: 0.4ms)
|
24285
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
24286
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24287
|
+
|
24288
|
+
|
24289
|
+
Started GET "/" for 127.0.0.1 at 2013-10-28 23:29:24 -0700
|
24290
|
+
Processing by HomeController#index as HTML
|
24291
|
+
Rendered home/index.html.erb within layouts/application (0.4ms)
|
24292
|
+
Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.0ms)
|
24293
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
24294
|
+
Connecting to database specified by database.yml
|
24295
|
+
[1m[36mSQL (1.4ms)[0m [1mDELETE FROM "meta_reports_reports"[0m
|
24296
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24297
|
+
[1m[36mSQL (51.6ms)[0m [1mINSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 29 Oct 2013 06:31:31 UTC +00:00], ["description", "Moo, eh?"], ["direct", nil], ["formats_mask", 7], ["group", "moo"], ["name", "moo"], ["target", nil], ["title", "Le Moo"], ["updated_at", Tue, 29 Oct 2013 06:31:31 UTC +00:00], ["views", nil]]
|
24298
|
+
[1m[35m (1.1ms)[0m commit transaction
|
24299
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24300
|
+
|
24301
|
+
|
24302
|
+
Started GET "/meta_reports/14/edit" for 127.0.0.1 at 2013-10-28 23:31:31 -0700
|
24303
|
+
Processing by MetaReports::ReportsController#edit as HTML
|
24304
|
+
Parameters: {"id"=>"14"}
|
24305
|
+
[1m[35mMetaReports::Report Load (0.2ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "14"]]
|
24306
|
+
Rendered meta_reports/reports/_form.html.erb (10.0ms)
|
24307
|
+
Rendered meta_reports/reports/edit.html.erb within layouts/application (14.8ms)
|
24308
|
+
Completed 200 OK in 80ms (Views: 77.4ms | ActiveRecord: 0.2ms)
|
24309
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
24310
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24311
|
+
|
24312
|
+
|
24313
|
+
Started GET "/meta_reports/new" for 127.0.0.1 at 2013-10-28 23:31:31 -0700
|
24314
|
+
Processing by MetaReports::ReportsController#show as HTML
|
24315
|
+
Parameters: {"id"=>"new"}
|
24316
|
+
[1m[36mMetaReports::Report Load (0.2ms)[0m [1mSELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."name" = 'new' LIMIT 1[0m
|
24317
|
+
Completed 500 Internal Server Error in 4ms
|
24318
|
+
|
24319
|
+
NoMethodError (undefined method `run' for nil:NilClass):
|
24320
|
+
app/controllers/meta_reports/reports_controller.rb:22:in `show'
|
24321
|
+
|
24322
|
+
|
24323
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p195/gems/actionpack-3.2.14/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
|
24324
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p195/gems/actionpack-3.2.14/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
|
24325
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p195/gems/actionpack-3.2.14/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.4ms)
|
24326
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24327
|
+
Connecting to database specified by database.yml
|
24328
|
+
[1m[36mSQL (1.5ms)[0m [1mDELETE FROM "meta_reports_reports"[0m
|
24329
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24330
|
+
[1m[36mSQL (49.1ms)[0m [1mINSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 29 Oct 2013 06:32:32 UTC +00:00], ["description", "Moo, eh?"], ["direct", nil], ["formats_mask", 7], ["group", "moo"], ["name", "moo"], ["target", nil], ["title", "Le Moo"], ["updated_at", Tue, 29 Oct 2013 06:32:32 UTC +00:00], ["views", nil]]
|
24331
|
+
[1m[35m (1.2ms)[0m commit transaction
|
24332
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24333
|
+
|
24334
|
+
|
24335
|
+
Started GET "/meta_reports/15/edit" for 127.0.0.1 at 2013-10-28 23:32:32 -0700
|
24336
|
+
Processing by MetaReports::ReportsController#edit as HTML
|
24337
|
+
Parameters: {"id"=>"15"}
|
24338
|
+
[1m[35mMetaReports::Report Load (0.2ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "15"]]
|
24339
|
+
Rendered meta_reports/reports/_form.html.erb (14.4ms)
|
24340
|
+
Rendered meta_reports/reports/edit.html.erb within layouts/application (20.2ms)
|
24341
|
+
Completed 200 OK in 86ms (Views: 83.4ms | ActiveRecord: 0.2ms)
|
24342
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
24343
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24344
|
+
|
24345
|
+
|
24346
|
+
Started GET "/meta_reports/new" for 127.0.0.1 at 2013-10-28 23:32:32 -0700
|
24347
|
+
Processing by MetaReports::ReportsController#show as HTML
|
24348
|
+
Parameters: {"id"=>"new"}
|
24349
|
+
[1m[36mMetaReports::Report Load (0.1ms)[0m [1mSELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."name" = 'new' LIMIT 1[0m
|
24350
|
+
Completed 500 Internal Server Error in 3ms
|
24351
|
+
|
24352
|
+
NoMethodError (undefined method `run' for nil:NilClass):
|
24353
|
+
app/controllers/meta_reports/reports_controller.rb:22:in `show'
|
24354
|
+
|
24355
|
+
|
24356
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p195/gems/actionpack-3.2.14/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
24357
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p195/gems/actionpack-3.2.14/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
|
24358
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p195/gems/actionpack-3.2.14/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.4ms)
|
24359
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24360
|
+
Connecting to database specified by database.yml
|
24361
|
+
[1m[36mSQL (1.5ms)[0m [1mDELETE FROM "meta_reports_reports"[0m
|
24362
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24363
|
+
[1m[36mSQL (42.4ms)[0m [1mINSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 29 Oct 2013 06:35:38 UTC +00:00], ["description", "Moo, eh?"], ["direct", nil], ["formats_mask", 7], ["group", "moo"], ["name", "moo"], ["target", nil], ["title", "Le Moo"], ["updated_at", Tue, 29 Oct 2013 06:35:38 UTC +00:00], ["views", nil]]
|
24364
|
+
[1m[35m (1.3ms)[0m commit transaction
|
24365
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24366
|
+
|
24367
|
+
|
24368
|
+
Started GET "/meta_reports/new" for 127.0.0.1 at 2013-10-28 23:35:38 -0700
|
24369
|
+
Processing by MetaReports::ReportsController#show as HTML
|
24370
|
+
Parameters: {"id"=>"new"}
|
24371
|
+
[1m[35mMetaReports::Report Load (0.2ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."name" = 'new' LIMIT 1
|
24372
|
+
Completed 500 Internal Server Error in 4ms
|
24373
|
+
|
24374
|
+
NoMethodError (undefined method `run' for nil:NilClass):
|
24375
|
+
app/controllers/meta_reports/reports_controller.rb:22:in `show'
|
24376
|
+
|
24377
|
+
|
24378
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p195/gems/actionpack-3.2.14/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
|
24379
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p195/gems/actionpack-3.2.14/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
24380
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p195/gems/actionpack-3.2.14/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.7ms)
|
24381
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
24382
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24383
|
+
|
24384
|
+
|
24385
|
+
Started GET "/meta_reports/16/edit" for 127.0.0.1 at 2013-10-28 23:35:38 -0700
|
24386
|
+
Processing by MetaReports::ReportsController#edit as HTML
|
24387
|
+
Parameters: {"id"=>"16"}
|
24388
|
+
[1m[36mMetaReports::Report Load (0.2ms)[0m [1mSELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1[0m [["id", "16"]]
|
24389
|
+
Rendered meta_reports/reports/_form.html.erb (10.6ms)
|
24390
|
+
Rendered meta_reports/reports/edit.html.erb within layouts/application (15.5ms)
|
24391
|
+
Completed 200 OK in 77ms (Views: 59.7ms | ActiveRecord: 0.2ms)
|
24392
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24393
|
+
Connecting to database specified by database.yml
|
24394
|
+
[1m[36mSQL (1.5ms)[0m [1mDELETE FROM "meta_reports_reports"[0m
|
24395
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24396
|
+
[1m[36mSQL (40.6ms)[0m [1mINSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 29 Oct 2013 06:36:10 UTC +00:00], ["description", "Moo, eh?"], ["direct", nil], ["formats_mask", 7], ["group", "moo"], ["name", "moo"], ["target", nil], ["title", "Le Moo"], ["updated_at", Tue, 29 Oct 2013 06:36:10 UTC +00:00], ["views", nil]]
|
24397
|
+
[1m[35m (1.3ms)[0m commit transaction
|
24398
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24399
|
+
|
24400
|
+
|
24401
|
+
Started GET "/meta_reports/new" for 127.0.0.1 at 2013-10-28 23:36:10 -0700
|
24402
|
+
Processing by MetaReports::ReportsController#show as HTML
|
24403
|
+
Parameters: {"id"=>"new"}
|
24404
|
+
[1m[35mMetaReports::Report Load (0.1ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."name" = 'new' LIMIT 1
|
24405
|
+
Completed 500 Internal Server Error in 3ms
|
24406
|
+
|
24407
|
+
NoMethodError (undefined method `run' for nil:NilClass):
|
24408
|
+
app/controllers/meta_reports/reports_controller.rb:22:in `show'
|
24409
|
+
|
24410
|
+
|
24411
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p195/gems/actionpack-3.2.14/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
|
24412
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p195/gems/actionpack-3.2.14/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
|
24413
|
+
Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p195/gems/actionpack-3.2.14/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.6ms)
|
24414
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
24415
|
+
Connecting to database specified by database.yml
|
24416
|
+
[1m[36mSQL (1.3ms)[0m [1mDELETE FROM "meta_reports_reports"[0m
|
24417
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24418
|
+
[1m[36mSQL (42.1ms)[0m [1mINSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 29 Oct 2013 06:38:43 UTC +00:00], ["description", "Moo, eh?"], ["direct", nil], ["formats_mask", 7], ["group", "moo"], ["name", "moo"], ["target", nil], ["title", "Le Moo"], ["updated_at", Tue, 29 Oct 2013 06:38:43 UTC +00:00], ["views", nil]]
|
24419
|
+
[1m[35m (1.2ms)[0m commit transaction
|
24420
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24421
|
+
|
24422
|
+
|
24423
|
+
Started GET "/meta_reports/new" for 127.0.0.1 at 2013-10-28 23:38:43 -0700
|
24424
|
+
Processing by MetaReports::ReportsController#new as HTML
|
24425
|
+
Rendered meta_reports/reports/_form.html.erb (11.2ms)
|
24426
|
+
Rendered meta_reports/reports/new.html.erb within layouts/application (15.5ms)
|
24427
|
+
Completed 200 OK in 79ms (Views: 78.9ms | ActiveRecord: 0.0ms)
|
24428
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24429
|
+
Connecting to database specified by database.yml
|
24430
|
+
[1m[36mSQL (1.4ms)[0m [1mDELETE FROM "meta_reports_reports"[0m
|
24431
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24432
|
+
[1m[36mSQL (3.5ms)[0m [1mINSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 29 Oct 2013 06:41:02 UTC +00:00], ["description", "Moo, eh?"], ["direct", nil], ["formats_mask", 7], ["group", "moo"], ["name", "moo"], ["target", nil], ["title", "Le Moo"], ["updated_at", Tue, 29 Oct 2013 06:41:02 UTC +00:00], ["views", nil]]
|
24433
|
+
[1m[35m (1.5ms)[0m commit transaction
|
24434
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24435
|
+
|
24436
|
+
|
24437
|
+
Started GET "/meta_reports/new" for 127.0.0.1 at 2013-10-28 23:41:02 -0700
|
24438
|
+
Processing by MetaReports::ReportsController#new as HTML
|
24439
|
+
Rendered meta_reports/reports/_form.html.erb (10.3ms)
|
24440
|
+
Rendered meta_reports/reports/new.html.erb within layouts/application (13.9ms)
|
24441
|
+
Completed 200 OK in 35ms (Views: 34.1ms | ActiveRecord: 0.0ms)
|
24442
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24443
|
+
Connecting to database specified by database.yml
|
24444
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
24445
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24446
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24447
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24448
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24449
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24450
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24451
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24452
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24453
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24454
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24455
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24456
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24457
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24458
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24459
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24460
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24461
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24462
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24463
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24464
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24465
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24466
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24467
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24468
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24469
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24470
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24471
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24472
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24473
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24474
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24475
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24476
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24477
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24478
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24479
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24480
|
+
[1m[36mSQL (1.3ms)[0m [1mDELETE FROM "meta_reports_reports"[0m
|
24481
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24482
|
+
[1m[36mSQL (4.3ms)[0m [1mINSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 29 Oct 2013 06:48:09 UTC +00:00], ["description", "Moo, eh?"], ["direct", nil], ["formats_mask", 7], ["group", "moo"], ["name", "moo"], ["target", nil], ["title", "Le Moo"], ["updated_at", Tue, 29 Oct 2013 06:48:09 UTC +00:00], ["views", nil]]
|
24483
|
+
[1m[35m (8.4ms)[0m commit transaction
|
24484
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24485
|
+
|
24486
|
+
|
24487
|
+
Started GET "/meta_reports/new" for 127.0.0.1 at 2013-10-28 23:48:09 -0700
|
24488
|
+
Processing by MetaReports::ReportsController#new as HTML
|
24489
|
+
Rendered meta_reports/reports/_form.html.erb (10.8ms)
|
24490
|
+
Rendered meta_reports/reports/new.html.erb within layouts/application (15.3ms)
|
24491
|
+
Completed 200 OK in 99ms (Views: 76.6ms | ActiveRecord: 0.4ms)
|
24492
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24493
|
+
ArgumentError: prepare called on a closed database: rollback transaction
|
24494
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24495
|
+
|
24496
|
+
|
24497
|
+
Started GET "/meta_reports" for 127.0.0.1 at 2013-10-28 23:48:10 -0700
|
24498
|
+
Processing by MetaReports::ReportsController#index as HTML
|
24499
|
+
[1m[35mMetaReports::Report Load (0.2ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" ORDER BY meta_reports_reports.title
|
24500
|
+
Rendered meta_reports/reports/index.html.erb within layouts/application (4.4ms)
|
24501
|
+
Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.2ms)
|
24502
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
24503
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24504
|
+
|
24505
|
+
|
24506
|
+
Started GET "/meta_reports/20.pdf" for 127.0.0.1 at 2013-10-28 23:48:10 -0700
|
24507
|
+
Processing by MetaReports::ReportsController#show as PDF
|
24508
|
+
Parameters: {"id"=>"20"}
|
24509
|
+
[1m[36mMetaReports::Report Load (0.2ms)[0m [1mSELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1[0m [["id", "20"]]
|
24510
|
+
title: "Le Moo"
|
24511
|
+
Rendered meta_reports/reports/templates/_default_header.pdf.prawn (75.2ms)
|
24512
|
+
Rendered meta_reports/reports/templates/_default_table.pdf.prawn (24.0ms)
|
24513
|
+
Rendered meta_reports/reports/templates/_default_footer.pdf.prawn (1.8ms)
|
24514
|
+
Rendered meta_reports/reports/templates/default.pdf.prawn (115.1ms)
|
24515
|
+
[1m[35m (0.3ms)[0m UPDATE meta_reports_reports SET views = views + 1 WHERE id = 20
|
24516
|
+
Completed 200 OK in 165ms (Views: 117.9ms | ActiveRecord: 0.5ms)
|
24517
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
24518
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24519
|
+
|
24520
|
+
|
24521
|
+
Started GET "/" for 127.0.0.1 at 2013-10-28 23:48:10 -0700
|
24522
|
+
Processing by HomeController#index as HTML
|
24523
|
+
Rendered home/index.html.erb within layouts/application (0.3ms)
|
24524
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
|
24525
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
24526
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24527
|
+
|
24528
|
+
|
24529
|
+
Started GET "/meta_reports/20/edit" for 127.0.0.1 at 2013-10-28 23:48:10 -0700
|
24530
|
+
Processing by MetaReports::ReportsController#edit as HTML
|
24531
|
+
Parameters: {"id"=>"20"}
|
24532
|
+
[1m[36mMetaReports::Report Load (0.1ms)[0m [1mSELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1[0m [["id", "20"]]
|
24533
|
+
Rendered meta_reports/reports/_form.html.erb (4.9ms)
|
24534
|
+
Rendered meta_reports/reports/edit.html.erb within layouts/application (6.3ms)
|
24535
|
+
Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.1ms)
|
24536
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24537
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24538
|
+
|
24539
|
+
|
24540
|
+
Started GET "/meta_reports/20" for 127.0.0.1 at 2013-10-28 23:48:10 -0700
|
24541
|
+
Processing by MetaReports::ReportsController#show as HTML
|
24542
|
+
Parameters: {"id"=>"20"}
|
24543
|
+
[1m[35mMetaReports::Report Load (0.1ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "20"]]
|
24544
|
+
Rendered meta_reports/reports/templates/_default_table.html.erb (1.2ms)
|
24545
|
+
Rendered meta_reports/reports/templates/_default.html.erb (59.5ms)
|
24546
|
+
Rendered meta_reports/reports/templates/default.html.erb within layouts/application (60.6ms)
|
24547
|
+
[1m[36m (0.3ms)[0m [1mUPDATE meta_reports_reports SET views = views + 1 WHERE id = 20[0m
|
24548
|
+
Completed 200 OK in 67ms (Views: 65.1ms | ActiveRecord: 0.3ms)
|
24549
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
24550
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24551
|
+
|
24552
|
+
|
24553
|
+
Started GET "/meta_reports/20.xlsx" for 127.0.0.1 at 2013-10-28 23:48:10 -0700
|
24554
|
+
Processing by MetaReports::ReportsController#show as XLSX
|
24555
|
+
Parameters: {"id"=>"20"}
|
24556
|
+
[1m[35mMetaReports::Report Load (0.1ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "20"]]
|
24557
|
+
Rendered meta_reports/reports/templates/_default_header.xlsx.axlsx (8.9ms)
|
24558
|
+
Rendered meta_reports/reports/templates/default.xlsx.axlsx (65.9ms)
|
24559
|
+
[1m[36m (0.3ms)[0m [1mUPDATE meta_reports_reports SET views = views + 1 WHERE id = 20[0m
|
24560
|
+
Completed 200 OK in 71ms (Views: 68.6ms | ActiveRecord: 0.4ms)
|
24561
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
24562
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24563
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24564
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24565
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24566
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24567
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24568
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24569
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24570
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24571
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24572
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24573
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24574
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24575
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24576
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24577
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24578
|
+
Connecting to database specified by database.yml
|
24579
|
+
[1m[36mSQL (1.4ms)[0m [1mDELETE FROM "meta_reports_reports"[0m
|
24580
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24581
|
+
[1m[36mSQL (43.8ms)[0m [1mINSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 29 Oct 2013 06:50:58 UTC +00:00], ["description", "Moo, eh?"], ["direct", nil], ["formats_mask", 7], ["group", "moo"], ["name", "moo"], ["target", nil], ["title", "Le Moo"], ["updated_at", Tue, 29 Oct 2013 06:50:58 UTC +00:00], ["views", nil]]
|
24582
|
+
[1m[35m (1.2ms)[0m commit transaction
|
24583
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24584
|
+
|
24585
|
+
|
24586
|
+
Started GET "/meta_reports/new" for 127.0.0.1 at 2013-10-28 23:50:58 -0700
|
24587
|
+
Processing by MetaReports::ReportsController#new as HTML
|
24588
|
+
Rendered meta_reports/reports/_form.html.erb (9.9ms)
|
24589
|
+
Rendered meta_reports/reports/new.html.erb within layouts/application (13.6ms)
|
24590
|
+
Completed 200 OK in 75ms (Views: 74.6ms | ActiveRecord: 0.0ms)
|
24591
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24592
|
+
Connecting to database specified by database.yml
|
24593
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
24594
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24595
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24596
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24597
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24598
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24599
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24600
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24601
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24602
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24603
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24604
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24605
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24606
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24607
|
+
[1m[36mSQL (1.4ms)[0m [1mDELETE FROM "meta_reports_reports"[0m
|
24608
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24609
|
+
[1m[36mSQL (3.9ms)[0m [1mINSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 29 Oct 2013 06:51:42 UTC +00:00], ["description", "Moo, eh?"], ["direct", nil], ["formats_mask", 7], ["group", "moo"], ["name", "moo"], ["target", nil], ["title", "Le Moo"], ["updated_at", Tue, 29 Oct 2013 06:51:42 UTC +00:00], ["views", nil]]
|
24610
|
+
[1m[35m (1.3ms)[0m commit transaction
|
24611
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24612
|
+
|
24613
|
+
|
24614
|
+
Started GET "/meta_reports/22" for 127.0.0.1 at 2013-10-28 23:51:42 -0700
|
24615
|
+
Processing by MetaReports::ReportsController#show as HTML
|
24616
|
+
Parameters: {"id"=>"22"}
|
24617
|
+
[1m[35mMetaReports::Report Load (0.1ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "22"]]
|
24618
|
+
Rendered meta_reports/reports/templates/_default_table.html.erb (1.3ms)
|
24619
|
+
Rendered meta_reports/reports/templates/_default.html.erb (4.7ms)
|
24620
|
+
Rendered meta_reports/reports/templates/default.html.erb within layouts/application (7.8ms)
|
24621
|
+
[1m[36m (1.3ms)[0m [1mUPDATE meta_reports_reports SET views = views + 1 WHERE id = 22[0m
|
24622
|
+
Completed 200 OK in 59ms (Views: 28.8ms | ActiveRecord: 1.9ms)
|
24623
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24624
|
+
ArgumentError: prepare called on a closed database: rollback transaction
|
24625
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24626
|
+
|
24627
|
+
|
24628
|
+
Started GET "/meta_reports" for 127.0.0.1 at 2013-10-28 23:51:42 -0700
|
24629
|
+
Processing by MetaReports::ReportsController#index as HTML
|
24630
|
+
[1m[35mMetaReports::Report Load (0.2ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" ORDER BY meta_reports_reports.title
|
24631
|
+
Rendered meta_reports/reports/index.html.erb within layouts/application (4.8ms)
|
24632
|
+
Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.2ms)
|
24633
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
24634
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24635
|
+
|
24636
|
+
|
24637
|
+
Started GET "/meta_reports/22.pdf" for 127.0.0.1 at 2013-10-28 23:51:42 -0700
|
24638
|
+
Processing by MetaReports::ReportsController#show as PDF
|
24639
|
+
Parameters: {"id"=>"22"}
|
24640
|
+
[1m[36mMetaReports::Report Load (0.1ms)[0m [1mSELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1[0m [["id", "22"]]
|
24641
|
+
title: "Le Moo"
|
24642
|
+
Rendered meta_reports/reports/templates/_default_header.pdf.prawn (66.1ms)
|
24643
|
+
Rendered meta_reports/reports/templates/_default_table.pdf.prawn (68.0ms)
|
24644
|
+
Rendered meta_reports/reports/templates/_default_footer.pdf.prawn (1.5ms)
|
24645
|
+
Rendered meta_reports/reports/templates/default.pdf.prawn (141.8ms)
|
24646
|
+
[1m[35m (0.2ms)[0m UPDATE meta_reports_reports SET views = views + 1 WHERE id = 22
|
24647
|
+
Completed 200 OK in 146ms (Views: 144.6ms | ActiveRecord: 0.3ms)
|
24648
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
24649
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24650
|
+
|
24651
|
+
|
24652
|
+
Started GET "/meta_reports/new" for 127.0.0.1 at 2013-10-28 23:51:42 -0700
|
24653
|
+
Processing by MetaReports::ReportsController#new as HTML
|
24654
|
+
Rendered meta_reports/reports/_form.html.erb (12.7ms)
|
24655
|
+
Rendered meta_reports/reports/new.html.erb within layouts/application (14.0ms)
|
24656
|
+
Completed 200 OK in 20ms (Views: 19.1ms | ActiveRecord: 0.0ms)
|
24657
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
24658
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24659
|
+
|
24660
|
+
|
24661
|
+
Started GET "/meta_reports/22/edit" for 127.0.0.1 at 2013-10-28 23:51:42 -0700
|
24662
|
+
Processing by MetaReports::ReportsController#edit as HTML
|
24663
|
+
Parameters: {"id"=>"22"}
|
24664
|
+
[1m[36mMetaReports::Report Load (0.2ms)[0m [1mSELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1[0m [["id", "22"]]
|
24665
|
+
Rendered meta_reports/reports/_form.html.erb (8.6ms)
|
24666
|
+
Rendered meta_reports/reports/edit.html.erb within layouts/application (11.0ms)
|
24667
|
+
Completed 200 OK in 22ms (Views: 19.3ms | ActiveRecord: 0.2ms)
|
24668
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24669
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24670
|
+
|
24671
|
+
|
24672
|
+
Started GET "/" for 127.0.0.1 at 2013-10-28 23:51:42 -0700
|
24673
|
+
Processing by HomeController#index as HTML
|
24674
|
+
Rendered home/index.html.erb within layouts/application (0.4ms)
|
24675
|
+
Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
|
24676
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24677
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24678
|
+
|
24679
|
+
|
24680
|
+
Started GET "/meta_reports/22.xlsx" for 127.0.0.1 at 2013-10-28 23:51:42 -0700
|
24681
|
+
Processing by MetaReports::ReportsController#show as XLSX
|
24682
|
+
Parameters: {"id"=>"22"}
|
24683
|
+
[1m[35mMetaReports::Report Load (0.1ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "22"]]
|
24684
|
+
Rendered meta_reports/reports/templates/_default_header.xlsx.axlsx (8.5ms)
|
24685
|
+
Rendered meta_reports/reports/templates/default.xlsx.axlsx (21.4ms)
|
24686
|
+
[1m[36m (0.3ms)[0m [1mUPDATE meta_reports_reports SET views = views + 1 WHERE id = 22[0m
|
24687
|
+
Completed 200 OK in 26ms (Views: 24.4ms | ActiveRecord: 0.4ms)
|
24688
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
24689
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24690
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24691
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24692
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24693
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24694
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24695
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24696
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24697
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24698
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24699
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24700
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24701
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24702
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24703
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24704
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24705
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24706
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24707
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24708
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24709
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24710
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24711
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24712
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24713
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24714
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24715
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24716
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24717
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24718
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24719
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24720
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24721
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24722
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24723
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24724
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24725
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24726
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24727
|
+
Connecting to database specified by database.yml
|
24728
|
+
[1m[36mSQL (1.6ms)[0m [1mDELETE FROM "meta_reports_reports"[0m
|
24729
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24730
|
+
[1m[36mSQL (42.0ms)[0m [1mINSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 29 Oct 2013 06:54:44 UTC +00:00], ["description", "Moo, eh?"], ["direct", nil], ["formats_mask", 7], ["group", "moo"], ["name", "moo"], ["target", nil], ["title", "Le Moo"], ["updated_at", Tue, 29 Oct 2013 06:54:44 UTC +00:00], ["views", nil]]
|
24731
|
+
[1m[35m (6.8ms)[0m commit transaction
|
24732
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24733
|
+
|
24734
|
+
|
24735
|
+
Started GET "/meta_reports/23" for 127.0.0.1 at 2013-10-28 23:54:44 -0700
|
24736
|
+
Processing by MetaReports::ReportsController#show as HTML
|
24737
|
+
Parameters: {"id"=>"23"}
|
24738
|
+
[1m[35mMetaReports::Report Load (0.2ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "23"]]
|
24739
|
+
Rendered meta_reports/reports/templates/_default_table.html.erb (1.1ms)
|
24740
|
+
Rendered meta_reports/reports/templates/_default.html.erb (3.7ms)
|
24741
|
+
Rendered meta_reports/reports/templates/default.html.erb within layouts/application (6.8ms)
|
24742
|
+
[1m[36m (0.2ms)[0m [1mUPDATE meta_reports_reports SET views = views + 1 WHERE id = 23[0m
|
24743
|
+
Completed 200 OK in 29ms (Views: 24.7ms | ActiveRecord: 0.4ms)
|
24744
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
24745
|
+
Connecting to database specified by database.yml
|
24746
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
24747
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24748
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24749
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24750
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24751
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24752
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24753
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24754
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24755
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24756
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24757
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24758
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24759
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24760
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24761
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24762
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24763
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24764
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24765
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24766
|
+
[1m[36mSQL (1.5ms)[0m [1mDELETE FROM "meta_reports_reports"[0m
|
24767
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24768
|
+
[1m[36mSQL (3.1ms)[0m [1mINSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 29 Oct 2013 06:54:52 UTC +00:00], ["description", "Moo, eh?"], ["direct", nil], ["formats_mask", 7], ["group", "moo"], ["name", "moo"], ["target", nil], ["title", "Le Moo"], ["updated_at", Tue, 29 Oct 2013 06:54:52 UTC +00:00], ["views", nil]]
|
24769
|
+
[1m[35m (1.3ms)[0m commit transaction
|
24770
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24771
|
+
|
24772
|
+
|
24773
|
+
Started GET "/meta_reports/new" for 127.0.0.1 at 2013-10-28 23:54:52 -0700
|
24774
|
+
Processing by MetaReports::ReportsController#new as HTML
|
24775
|
+
Rendered meta_reports/reports/_form.html.erb (9.1ms)
|
24776
|
+
Rendered meta_reports/reports/new.html.erb within layouts/application (12.4ms)
|
24777
|
+
Completed 200 OK in 72ms (Views: 71.8ms | ActiveRecord: 0.0ms)
|
24778
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
24779
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24780
|
+
|
24781
|
+
|
24782
|
+
Started GET "/meta_reports/24.xlsx" for 127.0.0.1 at 2013-10-28 23:54:52 -0700
|
24783
|
+
Processing by MetaReports::ReportsController#show as XLSX
|
24784
|
+
Parameters: {"id"=>"24"}
|
24785
|
+
[1m[35mMetaReports::Report Load (0.3ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "24"]]
|
24786
|
+
Rendered meta_reports/reports/templates/_default_header.xlsx.axlsx (8.8ms)
|
24787
|
+
Rendered meta_reports/reports/templates/default.xlsx.axlsx (74.3ms)
|
24788
|
+
[1m[36m (0.3ms)[0m [1mUPDATE meta_reports_reports SET views = views + 1 WHERE id = 24[0m
|
24789
|
+
Completed 200 OK in 81ms (Views: 77.4ms | ActiveRecord: 0.6ms)
|
24790
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
24791
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24792
|
+
|
24793
|
+
|
24794
|
+
Started GET "/meta_reports/24.pdf" for 127.0.0.1 at 2013-10-28 23:54:52 -0700
|
24795
|
+
Processing by MetaReports::ReportsController#show as PDF
|
24796
|
+
Parameters: {"id"=>"24"}
|
24797
|
+
[1m[35mMetaReports::Report Load (0.2ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "24"]]
|
24798
|
+
title: "Le Moo"
|
24799
|
+
Rendered meta_reports/reports/templates/_default_header.pdf.prawn (71.1ms)
|
24800
|
+
Rendered meta_reports/reports/templates/_default_table.pdf.prawn (17.0ms)
|
24801
|
+
Rendered meta_reports/reports/templates/_default_footer.pdf.prawn (1.5ms)
|
24802
|
+
Rendered meta_reports/reports/templates/default.pdf.prawn (97.5ms)
|
24803
|
+
[1m[36m (0.3ms)[0m [1mUPDATE meta_reports_reports SET views = views + 1 WHERE id = 24[0m
|
24804
|
+
Completed 200 OK in 104ms (Views: 101.2ms | ActiveRecord: 0.5ms)
|
24805
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
24806
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24807
|
+
|
24808
|
+
|
24809
|
+
Started GET "/" for 127.0.0.1 at 2013-10-28 23:54:52 -0700
|
24810
|
+
Processing by HomeController#index as HTML
|
24811
|
+
Rendered home/index.html.erb within layouts/application (0.4ms)
|
24812
|
+
Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)
|
24813
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24814
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24815
|
+
|
24816
|
+
|
24817
|
+
Started GET "/meta_reports/24" for 127.0.0.1 at 2013-10-28 23:54:52 -0700
|
24818
|
+
Processing by MetaReports::ReportsController#show as HTML
|
24819
|
+
Parameters: {"id"=>"24"}
|
24820
|
+
[1m[35mMetaReports::Report Load (0.1ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "24"]]
|
24821
|
+
Rendered meta_reports/reports/templates/_default_table.html.erb (1.7ms)
|
24822
|
+
Rendered meta_reports/reports/templates/_default.html.erb (5.4ms)
|
24823
|
+
Rendered meta_reports/reports/templates/default.html.erb within layouts/application (6.6ms)
|
24824
|
+
[1m[36m (0.3ms)[0m [1mUPDATE meta_reports_reports SET views = views + 1 WHERE id = 24[0m
|
24825
|
+
Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.4ms)
|
24826
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
24827
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24828
|
+
|
24829
|
+
|
24830
|
+
Started GET "/meta_reports/24/edit" for 127.0.0.1 at 2013-10-28 23:54:52 -0700
|
24831
|
+
Processing by MetaReports::ReportsController#edit as HTML
|
24832
|
+
Parameters: {"id"=>"24"}
|
24833
|
+
[1m[35mMetaReports::Report Load (0.1ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "24"]]
|
24834
|
+
Rendered meta_reports/reports/_form.html.erb (4.5ms)
|
24835
|
+
Rendered meta_reports/reports/edit.html.erb within layouts/application (7.0ms)
|
24836
|
+
Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.1ms)
|
24837
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
24838
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24839
|
+
|
24840
|
+
|
24841
|
+
Started GET "/meta_reports" for 127.0.0.1 at 2013-10-28 23:54:52 -0700
|
24842
|
+
Processing by MetaReports::ReportsController#index as HTML
|
24843
|
+
[1m[36mMetaReports::Report Load (0.2ms)[0m [1mSELECT "meta_reports_reports".* FROM "meta_reports_reports" ORDER BY meta_reports_reports.title[0m
|
24844
|
+
Rendered meta_reports/reports/index.html.erb within layouts/application (2.6ms)
|
24845
|
+
Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.2ms)
|
24846
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24847
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24848
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24849
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24850
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24851
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24852
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24853
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24854
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24855
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24856
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24857
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24858
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24859
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24860
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24861
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24862
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24863
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24864
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24865
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24866
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24867
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24868
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24869
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24870
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24871
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24872
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24873
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24874
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24875
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24876
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24877
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24878
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24879
|
+
Connecting to database specified by database.yml
|
24880
|
+
[1m[36mSQL (15.1ms)[0m [1mDELETE FROM "meta_reports_reports"[0m
|
24881
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24882
|
+
[1m[36mSQL (38.9ms)[0m [1mINSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 29 Oct 2013 06:55:34 UTC +00:00], ["description", "Moo, eh?"], ["direct", nil], ["formats_mask", 7], ["group", "moo"], ["name", "moo"], ["target", nil], ["title", "Le Moo"], ["updated_at", Tue, 29 Oct 2013 06:55:34 UTC +00:00], ["views", nil]]
|
24883
|
+
[1m[35m (1.5ms)[0m commit transaction
|
24884
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24885
|
+
|
24886
|
+
|
24887
|
+
Started GET "/meta_reports/25.xlsx" for 127.0.0.1 at 2013-10-28 23:55:34 -0700
|
24888
|
+
Processing by MetaReports::ReportsController#show as XLSX
|
24889
|
+
Parameters: {"id"=>"25"}
|
24890
|
+
[1m[35mMetaReports::Report Load (0.2ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "25"]]
|
24891
|
+
Rendered meta_reports/reports/templates/_default_header.xlsx.axlsx (6.2ms)
|
24892
|
+
Rendered meta_reports/reports/templates/default.xlsx.axlsx (52.9ms)
|
24893
|
+
[1m[36m (0.3ms)[0m [1mUPDATE meta_reports_reports SET views = views + 1 WHERE id = 25[0m
|
24894
|
+
Completed 200 OK in 63ms (Views: 59.1ms | ActiveRecord: 0.4ms)
|
24895
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
24896
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24897
|
+
|
24898
|
+
|
24899
|
+
Started GET "/meta_reports/new" for 127.0.0.1 at 2013-10-28 23:55:34 -0700
|
24900
|
+
Processing by MetaReports::ReportsController#new as HTML
|
24901
|
+
Rendered meta_reports/reports/_form.html.erb (45.4ms)
|
24902
|
+
Rendered meta_reports/reports/new.html.erb within layouts/application (47.4ms)
|
24903
|
+
Completed 200 OK in 62ms (Views: 61.3ms | ActiveRecord: 0.0ms)
|
24904
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24905
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24906
|
+
|
24907
|
+
|
24908
|
+
Started GET "/meta_reports" for 127.0.0.1 at 2013-10-28 23:55:34 -0700
|
24909
|
+
Processing by MetaReports::ReportsController#index as HTML
|
24910
|
+
[1m[35mMetaReports::Report Load (0.1ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" ORDER BY meta_reports_reports.title
|
24911
|
+
Rendered meta_reports/reports/index.html.erb within layouts/application (3.5ms)
|
24912
|
+
Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.1ms)
|
24913
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
24914
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24915
|
+
|
24916
|
+
|
24917
|
+
Started GET "/meta_reports/25/edit" for 127.0.0.1 at 2013-10-28 23:55:34 -0700
|
24918
|
+
Processing by MetaReports::ReportsController#edit as HTML
|
24919
|
+
Parameters: {"id"=>"25"}
|
24920
|
+
[1m[36mMetaReports::Report Load (0.1ms)[0m [1mSELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1[0m [["id", "25"]]
|
24921
|
+
Rendered meta_reports/reports/_form.html.erb (4.3ms)
|
24922
|
+
Rendered meta_reports/reports/edit.html.erb within layouts/application (5.5ms)
|
24923
|
+
Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.1ms)
|
24924
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24925
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24926
|
+
|
24927
|
+
|
24928
|
+
Started GET "/meta_reports/25" for 127.0.0.1 at 2013-10-28 23:55:34 -0700
|
24929
|
+
Processing by MetaReports::ReportsController#show as HTML
|
24930
|
+
Parameters: {"id"=>"25"}
|
24931
|
+
[1m[35mMetaReports::Report Load (0.1ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "25"]]
|
24932
|
+
Rendered meta_reports/reports/templates/_default_table.html.erb (1.1ms)
|
24933
|
+
Rendered meta_reports/reports/templates/_default.html.erb (3.4ms)
|
24934
|
+
Rendered meta_reports/reports/templates/default.html.erb within layouts/application (4.3ms)
|
24935
|
+
[1m[36m (0.2ms)[0m [1mUPDATE meta_reports_reports SET views = views + 1 WHERE id = 25[0m
|
24936
|
+
Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.3ms)
|
24937
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
24938
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24939
|
+
|
24940
|
+
|
24941
|
+
Started GET "/meta_reports/25.pdf" for 127.0.0.1 at 2013-10-28 23:55:34 -0700
|
24942
|
+
Processing by MetaReports::ReportsController#show as PDF
|
24943
|
+
Parameters: {"id"=>"25"}
|
24944
|
+
[1m[35mMetaReports::Report Load (0.1ms)[0m SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["id", "25"]]
|
24945
|
+
title: "Le Moo"
|
24946
|
+
Rendered meta_reports/reports/templates/_default_header.pdf.prawn (99.6ms)
|
24947
|
+
Rendered meta_reports/reports/templates/_default_table.pdf.prawn (16.2ms)
|
24948
|
+
Rendered meta_reports/reports/templates/_default_footer.pdf.prawn (1.3ms)
|
24949
|
+
Rendered meta_reports/reports/templates/default.pdf.prawn (122.6ms)
|
24950
|
+
[1m[36m (0.3ms)[0m [1mUPDATE meta_reports_reports SET views = views + 1 WHERE id = 25[0m
|
24951
|
+
Completed 200 OK in 128ms (Views: 125.8ms | ActiveRecord: 0.4ms)
|
24952
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
24953
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24954
|
+
|
24955
|
+
|
24956
|
+
Started GET "/" for 127.0.0.1 at 2013-10-28 23:55:34 -0700
|
24957
|
+
Processing by HomeController#index as HTML
|
24958
|
+
Rendered home/index.html.erb within layouts/application (0.3ms)
|
24959
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
24960
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24961
|
+
Connecting to database specified by database.yml
|
24962
|
+
Connecting to database specified by database.yml
|
24963
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
24964
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24965
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24966
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24967
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24968
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24969
|
+
Connecting to database specified by database.yml
|
24970
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
24971
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24972
|
+
Connecting to database specified by database.yml
|
24973
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
24974
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24975
|
+
Connecting to database specified by database.yml
|
24976
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
24977
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24978
|
+
Connecting to database specified by database.yml
|
24979
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
24980
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24981
|
+
Connecting to database specified by database.yml
|
24982
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
24983
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24984
|
+
Connecting to database specified by database.yml
|
24985
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
24986
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24987
|
+
Connecting to database specified by database.yml
|
24988
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
24989
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24990
|
+
Connecting to database specified by database.yml
|
24991
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
24992
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24993
|
+
Connecting to database specified by database.yml
|
24994
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
24995
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24996
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24997
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24998
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24999
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25000
|
+
Connecting to database specified by database.yml
|
25001
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
25002
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25003
|
+
Connecting to database specified by database.yml
|
25004
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
25005
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25006
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25007
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25008
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25009
|
+
[1m[35m (0.0ms)[0m rollback transaction
|