meta_reports 0.0.4 → 0.0.5

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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +58 -33
  3. data/app/helpers/meta_reports/reports_helper.rb +37 -20
  4. data/app/models/meta_reports/base.rb +9 -1
  5. data/config/routes.rb +3 -1
  6. data/lib/generators/meta_reports/templates/models/report.rb +5 -17
  7. data/lib/generators/meta_reports/templates/models/report_non_activerecord.rb +5 -17
  8. data/lib/generators/meta_reports/templates/views/_form.html.erb +9 -0
  9. data/lib/generators/meta_reports/templates/views/templates/_default_header.pdf.prawn +0 -1
  10. data/lib/generators/meta_reports/templates/views/templates/_default_header.xlsx.axlsx +5 -11
  11. data/lib/generators/meta_reports/templates/views/templates/_default_table.html.erb +14 -5
  12. data/lib/generators/meta_reports/templates/views/templates/_default_table.pdf.prawn +5 -1
  13. data/lib/generators/meta_reports/templates/views/templates/default.pdf.prawn +7 -5
  14. data/lib/meta_reports/version.rb +1 -1
  15. data/lib/tasks/meta_reports_tasks.rake +9 -8
  16. data/spec/dummy/app/assets/stylesheets/lib/metareports_color_variables.scss +7 -9
  17. data/spec/dummy/app/assets/stylesheets/lib/metareports_colors.scss +7 -9
  18. data/spec/dummy/app/models/meta_reports/report.rb +5 -17
  19. data/spec/dummy/app/views/meta_reports/reports/_form.html.erb +16 -0
  20. data/spec/dummy/app/views/meta_reports/reports/templates/_default_header.pdf.prawn +0 -1
  21. data/spec/dummy/app/views/meta_reports/reports/templates/_default_header.xlsx.axlsx +5 -11
  22. data/spec/dummy/app/views/meta_reports/reports/templates/_default_table.html.erb +14 -5
  23. data/spec/dummy/app/views/meta_reports/reports/templates/_default_table.pdf.prawn +5 -1
  24. data/spec/dummy/app/views/meta_reports/reports/templates/default.pdf.prawn +1 -1
  25. data/spec/dummy/db/development.sqlite3 +0 -0
  26. data/spec/dummy/log/development.log +806 -0
  27. data/spec/dummy/tmp/capybara/capybara-201310282335386823859116.html +268 -0
  28. data/spec/dummy/tmp/capybara/capybara-201310282336101820292402.html +268 -0
  29. data/spec/dummy/tmp/capybara/capybara-201310282338439674392250.html +60 -0
  30. data/spec/dummy/tmp/capybara/capybara-201310282350595445887206.html +60 -0
  31. data/spec/dummy/tmp/capybara/capybara-201310282351429822980920.html +60 -0
  32. data/spec/dummy/tmp/capybara/capybara-201310282354523302677005.html +60 -0
  33. data/spec/features/dummy_spec.rb +10 -0
  34. data/spec/support/utilities.rb +27 -0
  35. data/spec/tasks/meta_reports_rake_spec.rb +14 -18
  36. metadata +30 -2
@@ -1,3 +1,3 @@
1
1
  module MetaReports
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -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 colors file"
16
- task :export_colors_only => :environment do
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 variable file"
37
- task :export_color_variables => :environment do
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
- css_klass = klass.to_s.gsub(/___/,' ').gsub(/__/,'#').gsub(/_/,'.').gsub(/--/,':')
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 "#{css_klass}:nth-child(#{len}n+#{i}) { background: $#{klass}_#{i}; }"
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 "#{css_klass} { background: #{color}; }"
51
+ f.puts "tr.#{klass} { background: #{color}; }"
51
52
  else
52
- f.puts "#{css_klass} { background: $#{klass}; }"
53
+ f.puts "tr.#{klass} { background: $#{klass}; }"
53
54
  end
54
55
  end
55
56
  puts " Done"
@@ -1,9 +1,7 @@
1
- $_even: #efefef;
2
- $_odd: #ffffff;
3
- $_yellow_0: #ffffaa;
4
- $_yellow_1: #ffffcc;
5
- $_yellow_2: #f9f9a4;
6
- $_yellow_3: #f9f9c6;
7
- $tr____highlight: $_yellow_1;
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: $_even; }
3
- .odd { background: $_odd; }
4
- .yellow:nth-child(4n+0) { background: $_yellow_0; }
5
- .yellow:nth-child(4n+1) { background: $_yellow_1; }
6
- .yellow:nth-child(4n+2) { background: $_yellow_2; }
7
- .yellow:nth-child(4n+3) { background: $_yellow_3; }
8
- tr .highlight { background: $_yellow_1 !important; }
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
- # When you run the meta_reports:export_colors Rake task, the key changes as follows:
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
- _even: 'efefef',
22
- _odd: 'ffffff',
23
- _yellow: ['ffffaa', 'ffffcc', 'f9f9a4', 'f9f9c6'],
24
- tr____highlight: '$_yellow_1 !important',
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>
@@ -7,7 +7,6 @@ pdf.text '(123) 456-7890', :size => 8
7
7
 
8
8
  pdf.move_up 35
9
9
  pdf.pad_bottom(10) do
10
- logger.info "title: #{title.inspect}"
11
10
  pdf.text title, :size => 18, :align => :center if title
12
11
  pdf.text subtitle, :size => 12, :align => :center if subtitle
13
12
  end
@@ -1,17 +1,11 @@
1
1
  wb = sheet.workbook
2
2
  styles = {} unless defined?(styles)
3
- unless styles[:bold]
4
- styles[:bold] = wb.styles.add_style :b => true
5
- end
6
- unless styles[:title]
7
- styles[:title] = wb.styles.add_style :sz => 14, :alignment => { :horizontal => :center}, :b => true
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
- row_class = "#{cycle('odd','even')} #{row_classes[i]}".strip
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, :class => row_class) do
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(page_orientation: @report[:page_orientation] || :portrait, page_size: @report[:page_size] || 'LETTER', margin: margin) do |pdf|
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
@@ -24201,3 +24201,809 @@ Connecting to database specified by database.yml
24201
24201
   (0.0ms) rollback transaction
24202
24202
   (0.0ms) begin transaction
24203
24203
   (0.0ms) rollback transaction
24204
+ Connecting to database specified by database.yml
24205
+ SQL (1.4ms) DELETE FROM "meta_reports_reports"
24206
+  (0.1ms) begin transaction
24207
+ SQL (49.9ms) INSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+  (1.3ms) commit transaction
24209
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.2ms) 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
+  (0.1ms) rollback transaction
24220
+  (0.0ms) 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
+ MetaReports::Report Load (0.2ms) SELECT "meta_reports_reports".* FROM "meta_reports_reports" ORDER BY meta_reports_reports.title
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
+  (0.1ms) rollback transaction
24229
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.1ms) 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
+  (0.3ms) UPDATE meta_reports_reports SET views = views + 1 WHERE id = 13
24240
+ Completed 200 OK in 13ms (Views: 9.6ms | ActiveRecord: 0.4ms)
24241
+  (0.4ms) rollback transaction
24242
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.1ms) 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
+  (0.3ms) UPDATE meta_reports_reports SET views = views + 1 WHERE id = 13
24252
+ Completed 200 OK in 23ms (Views: 21.4ms | ActiveRecord: 0.4ms)
24253
+  (0.5ms) rollback transaction
24254
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.2ms) 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
+  (0.1ms) rollback transaction
24271
+  (0.0ms) 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
+ MetaReports::Report Load (0.1ms) SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["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
+  (0.3ms) UPDATE meta_reports_reports SET views = views + 1 WHERE id = 13
24284
+ Completed 200 OK in 186ms (Views: 184.4ms | ActiveRecord: 0.4ms)
24285
+  (0.4ms) rollback transaction
24286
+  (0.1ms) 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
+  (0.1ms) rollback transaction
24294
+ Connecting to database specified by database.yml
24295
+ SQL (1.4ms) DELETE FROM "meta_reports_reports"
24296
+  (0.1ms) begin transaction
24297
+ SQL (51.6ms) INSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+  (1.1ms) commit transaction
24299
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.2ms) 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
+  (0.2ms) rollback transaction
24310
+  (0.0ms) 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
+ MetaReports::Report Load (0.2ms) SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."name" = 'new' LIMIT 1
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
+  (0.1ms) rollback transaction
24327
+ Connecting to database specified by database.yml
24328
+ SQL (1.5ms) DELETE FROM "meta_reports_reports"
24329
+  (0.1ms) begin transaction
24330
+ SQL (49.1ms) INSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+  (1.2ms) commit transaction
24332
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.2ms) 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
+  (0.1ms) rollback transaction
24343
+  (0.0ms) 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
+ MetaReports::Report Load (0.1ms) SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."name" = 'new' LIMIT 1
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
+  (0.1ms) rollback transaction
24360
+ Connecting to database specified by database.yml
24361
+ SQL (1.5ms) DELETE FROM "meta_reports_reports"
24362
+  (0.1ms) begin transaction
24363
+ SQL (42.4ms) INSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+  (1.3ms) commit transaction
24365
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.2ms) 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
+  (0.2ms) rollback transaction
24382
+  (0.0ms) 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
+ MetaReports::Report Load (0.2ms) SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["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
+  (0.1ms) rollback transaction
24393
+ Connecting to database specified by database.yml
24394
+ SQL (1.5ms) DELETE FROM "meta_reports_reports"
24395
+  (0.1ms) begin transaction
24396
+ SQL (40.6ms) INSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+  (1.3ms) commit transaction
24398
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.1ms) 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
+  (0.1ms) rollback transaction
24415
+ Connecting to database specified by database.yml
24416
+ SQL (1.3ms) DELETE FROM "meta_reports_reports"
24417
+  (0.1ms) begin transaction
24418
+ SQL (42.1ms) INSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+  (1.2ms) commit transaction
24420
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
24429
+ Connecting to database specified by database.yml
24430
+ SQL (1.4ms) DELETE FROM "meta_reports_reports"
24431
+  (0.1ms) begin transaction
24432
+ SQL (3.5ms) INSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+  (1.5ms) commit transaction
24434
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
24443
+ Connecting to database specified by database.yml
24444
+  (0.2ms) begin transaction
24445
+  (0.0ms) rollback transaction
24446
+  (0.0ms) begin transaction
24447
+  (0.0ms) rollback transaction
24448
+  (0.0ms) begin transaction
24449
+  (0.0ms) rollback transaction
24450
+  (0.0ms) begin transaction
24451
+  (0.0ms) rollback transaction
24452
+  (0.0ms) begin transaction
24453
+  (0.0ms) rollback transaction
24454
+  (0.0ms) begin transaction
24455
+  (0.0ms) rollback transaction
24456
+  (0.0ms) begin transaction
24457
+  (0.0ms) rollback transaction
24458
+  (0.0ms) begin transaction
24459
+  (0.0ms) rollback transaction
24460
+  (0.0ms) begin transaction
24461
+  (0.0ms) rollback transaction
24462
+  (0.0ms) begin transaction
24463
+  (0.0ms) rollback transaction
24464
+  (0.1ms) begin transaction
24465
+  (0.0ms) rollback transaction
24466
+  (0.1ms) begin transaction
24467
+  (0.1ms) rollback transaction
24468
+  (0.1ms) begin transaction
24469
+  (0.1ms) rollback transaction
24470
+  (0.1ms) begin transaction
24471
+  (0.0ms) rollback transaction
24472
+  (0.0ms) begin transaction
24473
+  (0.1ms) rollback transaction
24474
+  (0.1ms) begin transaction
24475
+  (0.0ms) rollback transaction
24476
+  (0.0ms) begin transaction
24477
+  (0.0ms) rollback transaction
24478
+  (0.0ms) begin transaction
24479
+  (0.0ms) rollback transaction
24480
+ SQL (1.3ms) DELETE FROM "meta_reports_reports"
24481
+  (0.1ms) begin transaction
24482
+ SQL (4.3ms) INSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+  (8.4ms) commit transaction
24484
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
24493
+ ArgumentError: prepare called on a closed database: rollback transaction
24494
+  (0.1ms) begin transaction
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
+ MetaReports::Report Load (0.2ms) 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
+  (0.1ms) rollback transaction
24503
+  (0.0ms) 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
+ MetaReports::Report Load (0.2ms) SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["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
+  (0.3ms) UPDATE meta_reports_reports SET views = views + 1 WHERE id = 20
24516
+ Completed 200 OK in 165ms (Views: 117.9ms | ActiveRecord: 0.5ms)
24517
+  (0.5ms) rollback transaction
24518
+  (0.0ms) 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
+  (0.1ms) rollback transaction
24526
+  (0.0ms) 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
+ MetaReports::Report Load (0.1ms) SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["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
+  (0.1ms) rollback transaction
24537
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.1ms) 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
+  (0.3ms) UPDATE meta_reports_reports SET views = views + 1 WHERE id = 20
24548
+ Completed 200 OK in 67ms (Views: 65.1ms | ActiveRecord: 0.3ms)
24549
+  (0.6ms) rollback transaction
24550
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.1ms) 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
+  (0.3ms) UPDATE meta_reports_reports SET views = views + 1 WHERE id = 20
24560
+ Completed 200 OK in 71ms (Views: 68.6ms | ActiveRecord: 0.4ms)
24561
+  (0.4ms) rollback transaction
24562
+  (0.0ms) begin transaction
24563
+  (0.1ms) rollback transaction
24564
+  (0.0ms) begin transaction
24565
+  (0.0ms) rollback transaction
24566
+  (0.0ms) begin transaction
24567
+  (0.1ms) rollback transaction
24568
+  (0.0ms) begin transaction
24569
+  (0.0ms) rollback transaction
24570
+  (0.0ms) begin transaction
24571
+  (0.0ms) rollback transaction
24572
+  (0.0ms) begin transaction
24573
+  (0.0ms) rollback transaction
24574
+  (0.0ms) begin transaction
24575
+  (0.0ms) rollback transaction
24576
+  (0.0ms) begin transaction
24577
+  (0.0ms) rollback transaction
24578
+ Connecting to database specified by database.yml
24579
+ SQL (1.4ms) DELETE FROM "meta_reports_reports"
24580
+  (0.1ms) begin transaction
24581
+ SQL (43.8ms) INSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+  (1.2ms) commit transaction
24583
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
24592
+ Connecting to database specified by database.yml
24593
+  (0.3ms) begin transaction
24594
+  (0.0ms) rollback transaction
24595
+  (0.0ms) begin transaction
24596
+  (0.1ms) rollback transaction
24597
+  (0.0ms) begin transaction
24598
+  (0.0ms) rollback transaction
24599
+  (0.0ms) begin transaction
24600
+  (0.1ms) rollback transaction
24601
+  (0.0ms) begin transaction
24602
+  (0.1ms) rollback transaction
24603
+  (0.0ms) begin transaction
24604
+  (0.1ms) rollback transaction
24605
+  (0.0ms) begin transaction
24606
+  (0.0ms) rollback transaction
24607
+ SQL (1.4ms) DELETE FROM "meta_reports_reports"
24608
+  (0.1ms) begin transaction
24609
+ SQL (3.9ms) INSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+  (1.3ms) commit transaction
24611
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.1ms) 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
+  (1.3ms) UPDATE meta_reports_reports SET views = views + 1 WHERE id = 22
24622
+ Completed 200 OK in 59ms (Views: 28.8ms | ActiveRecord: 1.9ms)
24623
+  (0.1ms) rollback transaction
24624
+ ArgumentError: prepare called on a closed database: rollback transaction
24625
+  (0.1ms) begin transaction
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
+ MetaReports::Report Load (0.2ms) 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
+  (0.1ms) rollback transaction
24634
+  (0.0ms) 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
+ MetaReports::Report Load (0.1ms) SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["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
+  (0.2ms) UPDATE meta_reports_reports SET views = views + 1 WHERE id = 22
24647
+ Completed 200 OK in 146ms (Views: 144.6ms | ActiveRecord: 0.3ms)
24648
+  (1.0ms) rollback transaction
24649
+  (0.0ms) 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
+  (0.4ms) rollback transaction
24658
+  (0.1ms) 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
+ MetaReports::Report Load (0.2ms) SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["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
+  (0.1ms) rollback transaction
24669
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
24677
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.1ms) 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
+  (0.3ms) UPDATE meta_reports_reports SET views = views + 1 WHERE id = 22
24687
+ Completed 200 OK in 26ms (Views: 24.4ms | ActiveRecord: 0.4ms)
24688
+  (0.8ms) rollback transaction
24689
+  (0.0ms) begin transaction
24690
+  (0.0ms) rollback transaction
24691
+  (0.0ms) begin transaction
24692
+  (0.0ms) rollback transaction
24693
+  (0.0ms) begin transaction
24694
+  (0.0ms) rollback transaction
24695
+  (0.0ms) begin transaction
24696
+  (0.0ms) rollback transaction
24697
+  (0.1ms) begin transaction
24698
+  (0.0ms) rollback transaction
24699
+  (0.0ms) begin transaction
24700
+  (0.0ms) rollback transaction
24701
+  (0.0ms) begin transaction
24702
+  (0.0ms) rollback transaction
24703
+  (0.0ms) begin transaction
24704
+  (0.0ms) rollback transaction
24705
+  (0.0ms) begin transaction
24706
+  (0.0ms) rollback transaction
24707
+  (0.0ms) begin transaction
24708
+  (0.0ms) rollback transaction
24709
+  (0.0ms) begin transaction
24710
+  (0.0ms) rollback transaction
24711
+  (0.0ms) begin transaction
24712
+  (0.0ms) rollback transaction
24713
+  (0.0ms) begin transaction
24714
+  (0.0ms) rollback transaction
24715
+  (0.0ms) begin transaction
24716
+  (0.0ms) rollback transaction
24717
+  (0.1ms) begin transaction
24718
+  (0.0ms) rollback transaction
24719
+  (0.1ms) begin transaction
24720
+  (0.0ms) rollback transaction
24721
+  (0.0ms) begin transaction
24722
+  (0.0ms) rollback transaction
24723
+  (0.1ms) begin transaction
24724
+  (0.0ms) rollback transaction
24725
+  (0.1ms) begin transaction
24726
+  (0.1ms) rollback transaction
24727
+ Connecting to database specified by database.yml
24728
+ SQL (1.6ms) DELETE FROM "meta_reports_reports"
24729
+  (0.1ms) begin transaction
24730
+ SQL (42.0ms) INSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+  (6.8ms) commit transaction
24732
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.2ms) 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
+  (0.2ms) UPDATE meta_reports_reports SET views = views + 1 WHERE id = 23
24743
+ Completed 200 OK in 29ms (Views: 24.7ms | ActiveRecord: 0.4ms)
24744
+  (0.6ms) rollback transaction
24745
+ Connecting to database specified by database.yml
24746
+  (0.3ms) begin transaction
24747
+  (0.0ms) rollback transaction
24748
+  (0.0ms) begin transaction
24749
+  (0.0ms) rollback transaction
24750
+  (0.0ms) begin transaction
24751
+  (0.0ms) rollback transaction
24752
+  (0.0ms) begin transaction
24753
+  (0.0ms) rollback transaction
24754
+  (0.0ms) begin transaction
24755
+  (0.0ms) rollback transaction
24756
+  (0.0ms) begin transaction
24757
+  (0.0ms) rollback transaction
24758
+  (0.0ms) begin transaction
24759
+  (0.0ms) rollback transaction
24760
+  (0.0ms) begin transaction
24761
+  (0.0ms) rollback transaction
24762
+  (0.0ms) begin transaction
24763
+  (0.0ms) rollback transaction
24764
+  (0.0ms) begin transaction
24765
+  (0.0ms) rollback transaction
24766
+ SQL (1.5ms) DELETE FROM "meta_reports_reports"
24767
+  (0.1ms) begin transaction
24768
+ SQL (3.1ms) INSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+  (1.3ms) commit transaction
24770
+  (0.0ms) begin transaction
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
+  (0.3ms) rollback transaction
24779
+  (0.1ms) begin transaction
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
+ MetaReports::Report Load (0.3ms) 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
+  (0.3ms) UPDATE meta_reports_reports SET views = views + 1 WHERE id = 24
24789
+ Completed 200 OK in 81ms (Views: 77.4ms | ActiveRecord: 0.6ms)
24790
+  (0.5ms) rollback transaction
24791
+  (0.1ms) begin transaction
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
+ MetaReports::Report Load (0.2ms) 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
+  (0.3ms) UPDATE meta_reports_reports SET views = views + 1 WHERE id = 24
24804
+ Completed 200 OK in 104ms (Views: 101.2ms | ActiveRecord: 0.5ms)
24805
+  (0.5ms) rollback transaction
24806
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
24814
+  (0.1ms) begin transaction
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
+ MetaReports::Report Load (0.1ms) 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
+  (0.3ms) UPDATE meta_reports_reports SET views = views + 1 WHERE id = 24
24825
+ Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.4ms)
24826
+  (0.5ms) rollback transaction
24827
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.1ms) 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
+  (0.1ms) rollback transaction
24838
+  (0.0ms) 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
+ MetaReports::Report Load (0.2ms) SELECT "meta_reports_reports".* FROM "meta_reports_reports" ORDER BY meta_reports_reports.title
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
+  (0.1ms) rollback transaction
24847
+  (0.0ms) begin transaction
24848
+  (0.0ms) rollback transaction
24849
+  (0.0ms) begin transaction
24850
+  (0.0ms) rollback transaction
24851
+  (0.0ms) begin transaction
24852
+  (0.0ms) rollback transaction
24853
+  (0.0ms) begin transaction
24854
+  (0.0ms) rollback transaction
24855
+  (0.0ms) begin transaction
24856
+  (0.0ms) rollback transaction
24857
+  (0.0ms) begin transaction
24858
+  (0.0ms) rollback transaction
24859
+  (0.0ms) begin transaction
24860
+  (0.0ms) rollback transaction
24861
+  (0.0ms) begin transaction
24862
+  (0.0ms) rollback transaction
24863
+  (0.0ms) begin transaction
24864
+  (0.0ms) rollback transaction
24865
+  (0.0ms) begin transaction
24866
+  (0.0ms) rollback transaction
24867
+  (0.0ms) begin transaction
24868
+  (0.0ms) rollback transaction
24869
+  (0.0ms) begin transaction
24870
+  (0.1ms) rollback transaction
24871
+  (0.1ms) begin transaction
24872
+  (0.1ms) rollback transaction
24873
+  (0.1ms) begin transaction
24874
+  (0.1ms) rollback transaction
24875
+  (0.0ms) begin transaction
24876
+  (0.0ms) rollback transaction
24877
+  (0.0ms) begin transaction
24878
+  (0.1ms) rollback transaction
24879
+ Connecting to database specified by database.yml
24880
+ SQL (15.1ms) DELETE FROM "meta_reports_reports"
24881
+  (0.1ms) begin transaction
24882
+ SQL (38.9ms) INSERT INTO "meta_reports_reports" ("created_at", "description", "direct", "formats_mask", "group", "name", "target", "title", "updated_at", "views") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["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
+  (1.5ms) commit transaction
24884
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.2ms) 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
+  (0.3ms) UPDATE meta_reports_reports SET views = views + 1 WHERE id = 25
24894
+ Completed 200 OK in 63ms (Views: 59.1ms | ActiveRecord: 0.4ms)
24895
+  (0.5ms) rollback transaction
24896
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
24905
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.1ms) 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
+  (0.1ms) rollback transaction
24914
+  (0.0ms) 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
+ MetaReports::Report Load (0.1ms) SELECT "meta_reports_reports".* FROM "meta_reports_reports" WHERE "meta_reports_reports"."id" = ? LIMIT 1 [["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
+  (0.1ms) rollback transaction
24925
+  (0.0ms) begin transaction
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
+ MetaReports::Report Load (0.1ms) 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
+  (0.2ms) UPDATE meta_reports_reports SET views = views + 1 WHERE id = 25
24936
+ Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.3ms)
24937
+  (0.5ms) rollback transaction
24938
+  (0.1ms) begin transaction
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
+ MetaReports::Report Load (0.1ms) 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
+  (0.3ms) UPDATE meta_reports_reports SET views = views + 1 WHERE id = 25
24951
+ Completed 200 OK in 128ms (Views: 125.8ms | ActiveRecord: 0.4ms)
24952
+  (0.6ms) rollback transaction
24953
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
24961
+ Connecting to database specified by database.yml
24962
+ Connecting to database specified by database.yml
24963
+  (0.3ms) begin transaction
24964
+  (0.0ms) rollback transaction
24965
+  (0.0ms) begin transaction
24966
+  (0.0ms) rollback transaction
24967
+  (0.0ms) begin transaction
24968
+  (0.0ms) rollback transaction
24969
+ Connecting to database specified by database.yml
24970
+  (0.3ms) begin transaction
24971
+  (0.0ms) rollback transaction
24972
+ Connecting to database specified by database.yml
24973
+  (0.3ms) begin transaction
24974
+  (0.0ms) rollback transaction
24975
+ Connecting to database specified by database.yml
24976
+  (0.3ms) begin transaction
24977
+  (0.0ms) rollback transaction
24978
+ Connecting to database specified by database.yml
24979
+  (0.3ms) begin transaction
24980
+  (0.0ms) rollback transaction
24981
+ Connecting to database specified by database.yml
24982
+  (0.3ms) begin transaction
24983
+  (0.0ms) rollback transaction
24984
+ Connecting to database specified by database.yml
24985
+  (0.3ms) begin transaction
24986
+  (0.0ms) rollback transaction
24987
+ Connecting to database specified by database.yml
24988
+  (0.3ms) begin transaction
24989
+  (0.0ms) rollback transaction
24990
+ Connecting to database specified by database.yml
24991
+  (0.2ms) begin transaction
24992
+  (0.0ms) rollback transaction
24993
+ Connecting to database specified by database.yml
24994
+  (0.3ms) begin transaction
24995
+  (0.0ms) rollback transaction
24996
+  (0.0ms) begin transaction
24997
+  (0.0ms) rollback transaction
24998
+  (0.0ms) begin transaction
24999
+  (0.0ms) rollback transaction
25000
+ Connecting to database specified by database.yml
25001
+  (0.3ms) begin transaction
25002
+  (0.0ms) rollback transaction
25003
+ Connecting to database specified by database.yml
25004
+  (0.3ms) begin transaction
25005
+  (0.0ms) rollback transaction
25006
+  (0.0ms) begin transaction
25007
+  (0.0ms) rollback transaction
25008
+  (0.0ms) begin transaction
25009
+  (0.0ms) rollback transaction