I also just tried to do :

    send_chunk "hello"

and got the message:

 Not Implemented 501
Current Rack adapter is not mongrel. cannot support this feature

However the backtrace indicates it is running on mongrel.

weird ?!


On Dec 9, 11:06 am, weepy <[EMAIL PROTECTED]> wrote:
> thanks
>
> I tried render_chunked but I'm getting the error:
>
> No Method Error 500
> undefined method `must_support_streaming!' for #<Main:0x257919c>
>
> Not sure why - is an empty app other than that single method. Any
> ideas?
>
> Running on merb 1.0.4 and rack 0.4.0 on OSX
>
> weepy
>
> On Dec 9, 9:16 am, "Dirkjan Bussink" <[EMAIL PROTECTED]> wrote:
>
> > On Tue, Dec 9, 2008 at 9:51 AM, weepy <[EMAIL PROTECTED]> wrote:
> > > I know it's not best practice for production or efficiency - but it
> > > would be very convenient for a proof of concept I am trying to build.
> > > Rails has send_data but it only seems able to do it in 1 shot.
>
> > You can return a Proc from a controller afaik. Other options are using
> > render_chunked, that will make sure the data is actually flushed to
> > the client.
>
> > --
> > Regards,
>
> > Dirkjan Bussink
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to