Exception: Decisive::StreamIncompatibleBlockArgumentError
- Inherits:
-
StandardError
- Object
- StandardError
- Decisive::StreamIncompatibleBlockArgumentError
- Defined in:
- lib/decisive/template_handler.rb
Instance Method Summary collapse
Instance Method Details
#message ⇒ Object
45 46 47 |
# File 'lib/decisive/template_handler.rb', line 45 def "#csv cannot take a block with a record argument while streaming, because the headers have to be known in advance. Either disable streaming by passing `stream: false` to #csv, or convert the template to yield the record to the block passed to each #column call." end |