render :text => lambda { |resp, out|
out.puts ''start''
out.flush
2.times do
out.puts ''.''
out.flush
sleep 1
end
out.puts ''done''
}
Hi, using that code (find in archive), I am only able to print the whole
chunk not step by step. Any idea? I use mongrel and lighttpd. Both does
not work if webserver influence this.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---