File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ csv.items = @reports
3636# csv.items = @reports.find_each.lazy.map(&:decorate)
3737
3838# csv.filename = "reports_#{Time.current.to_i}.csv"
39+
40+ # To enable streaming, you need to include ActionController::Live in the corresponding controller.
3941# csv.streaming = false
4042
4143csv.cols.add(' Update date' ) { |r | l(r.updated_at.to_date) }
@@ -129,6 +131,7 @@ In `config/initializers/csb.rb`, you can configure the following values.
129131``` ruby
130132Csb .configure do |config |
131133 config.utf8_bom = true # default: false
134+ # To enable streaming, you need to include ActionController::Live in the corresponding controller.
132135 config.streaming = false # default: true
133136 config.after_streaming_error = -> (error) do # default: nil
134137 Rails .logger.error(error)
You can’t perform that action at this time.
0 commit comments