On Sat, Dec 8, 2012 at 6:49 AM, Ravi Laudya <[email protected]> wrote:

> I am writing an app to stream log files (or any files) on the browser as they 
> grow. The idea is that the rails app should do a 'tail -f' on the file and 
> keep sending the data to the browser. I was thinking if there was any way to 
> achieve this in rails.

You might want to look into "WebSockets", which allow keeping a
connection open between client and server.

HTH,
-- 
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to