class Decisive::StreamIncompatibleBlockArgumentError

Public Instance Methods

message() click to toggle source
# File lib/decisive/template_handler.rb, line 45
def message
  "#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