On Wed, Apr 14, 2010 at 6:23 AM, David Turnbull <[email protected]> wrote:
> On 14/04/2010, at 5:02 PM, Clifford Heath wrote: > > > On 14/04/2010, at 4:53 PM, Mike Bailey wrote: > >> Nathan de Vries blogged that Passenger added Chunked Transfer Encoding > support in April 2009. > >> I'm looking for an example of how to use it in Rails now... > > > > Doesn't the Rack API make it impossible? > > It gets terminated by Passenger. Rack can't handle it, and my afternoon > spent getting it to work wasn't particularly fruitful. > I think you'd end up fighting half of Rails core, for example the template > generation is buffered in order to give timestamps in the log, > around_filters in ApplicationController, AR transactions... are some > problems I can think of. Spooky. I *just* gave a short talk last night here in NYC about a plugin I've been working on which does it. It's still a work in progress, but it's gemified. Would love to hear your feedback: http://github.com/oggy/template_streaming -- George -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
