|
|
|
|
|
by judofyr
5760 days ago
|
|
In Rack you need to return a body which responds to #each (which yields strings); it doesn't need to return the body all at once: class Dummy
def initialize(controller)
@controller = controller
end
def each
@controller.render.each { |part| yield part }
end
end
@body = Dummy.new(self)
|
|