Displaying 20 results from an estimated 900 matches similar to: "realtime updates"
2006 Mar 09
5
Comet support?
Just out of curiosity, is there a plan to support Comet (name coined by the
dojo guys) w/ prototype? Comet represents persisting an http connection for
low latency data operations. It also represents a nice alternative to
polling.
Jim
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Apr 26
2
armageddon vs. polling for shared resources, ajax, stale browsers
Hi,
I am using AJAX so much that I never refresh the entire webpage for
the admin side of a webapp. If two people are viewing the same data
and one person makes a change then I want the change to show up in the
other person''s page.
I can have the client poll the server every two seconds to look for changes.
I''m not really interested in Comet for keeping a connection open
2006 Jan 18
2
Newbie question about periodically_call_remote
Hi,
I''m new to Ruby on Rails (and Ruby itself). So far, I''ve been able to
find answers to most of my questions in the docs or mailing lists. One
thing I haven''t been able to find the answer to is how to stop a
periodically_call_remote call. My first Rails app is going to be a
front-end for our Ant-based build system at work. While the build is
running,
2006 Apr 19
9
Initial load time when periodically_call_remote
When I do periodically_call_remote with e.g. :frequency => 30
after initial page load I have to wait 30 seconds until this partial
renders first time. Does anybody know how to make ROR to render partial
on web page load, and then start periodic calls every 30 seconds? I
tried to put
<div id=''mydiv''><%= render(:partial, :action=>''myaction'')
2006 Jun 07
2
Ajax: periodicaly_call_remote problem
Hello
I am using ''periodically_call_remote'' to get some stats from database
and display it every N seconds, it''s works fine, but when I rewriting
(by page.replace ...) content of the DIV which contains
''periodically_call_remote'' definition request are still executing...
How to fix this confuse?
Thanks in advance.
2006 May 01
2
Can I send a redirect_to() call to a periodically_call_remote() function?...
Hi,
I''m using Rails 1.1 and the periodically_call_remote() helper to
query the server for the progress of a long running action.
I''m using the excellent new RJS partials to send a page.replace_html()
to update the status information on the page--which works very
well.
When the action completes I''m also trying to send a redirect_to()
by the same approach--which
2007 Feb 06
2
Pass parameters in periodically_call_remote?
Hi,
I am still new to RoR, so please bear with this newbie question. I
would like to have the application in view to press result back to the
controller when the periodically_call_remote is called. Right now,
this is the code in the view:
<div id="get_result"></div>
<%= periodically_call_remote(:update => ''get_result'',
2006 Jun 21
3
Call action & display nothing?
Can you do a periodically_call_remote to an action but then not display
any new view? say the new action was called ADD. I don''t want to do an
rhtml file for add, and I don''t want to render anything in the
controller... I want to leave the page as it is. How is this done?
Thanks,
Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2008 Sep 24
5
Auto refresh field
Hi,
I would to know if it is possible to automaticly refresh some
particular field ?
Clearly, I have a model called "productions" with fileds "name" and
"numbers".
Another application update fields "numbers" of the mysql table.
On an "index.html.erb", I have the list of "production" and i would
like to view automaticly when value of
2006 May 19
1
pass text_field to controller when using periodically_call_r
Hi. Can anyone help with this? In a view, I have a text_field_tag(
:mytextfield ). I would like to pass the current value of that
text_field_tag to a periodically_call_remote - something like
periodically_call_remote( :url => { :action => :do_it, :thetextval =>
:mytextfield.value } ) - Any idea how can I pass and/or access the value
of the text_field_tag in my do_it controller?
2006 Aug 01
11
strange bugs while using mongrel, while running in development (and also sometimes in production mode)
Following errors are taken from monrgrel running in development mode. It
complained routes.rb, no such file or directory and then sometimes i get
application.rb, no such file or directory.Doesn''t seem correct to me.
Though not so often, but even production servers throw these errors
sometimes, and i have no special routes setup or something.Its pretty much
default one, except few changes
2006 Jul 15
1
Is there a huge performance difference between using multiple periodically_call_remote functions or one?
My application has multiple things on the interface that need to be
updated periodically. Some things every second, others not so much.
Some of these things are global, meaning they are on the interface at
all times, and some of these things are view specific. So what I
figured I would do is add the periodically_call_remote function for
the global elements and another one for the view
2006 Apr 03
1
Q: periodically_call_remote ( how to make it execute just once? )
I posted this ealier on the web forums but noticed a similar question
about this function and one user responded to try this list instead. If
anyone can help I would greatly appreciate your suggestions.
Q:
Is there a way to use periodically_call_remote to run just one time
instead of every '':frequency'' seconds?
I tried putting the call inside the div container thinking it
2006 May 01
1
Can I send a redirect_to() call to a periodically_call_remote() refresh?
Hi,
I''m using Rails 1.1 and the periodically_call_remote() helper to
query the server for the progress of a long running action.
I''m using the excellent new RJS partials to send a page.replace_html()
to update the status information on the page--which works very
well.
When the action completes I''m also trying to send a redirect_to()
by the same approach--which
2008 Jul 23
5
Updating the page dynamically
Hi, I''m developing a Rails application that displays data from MySQL
database table. I have an external python script that adds new rows to
the table. My goal is to dynamically add new rows to the html table
which is displayed in my browser (without reloading the page). I''ve
read that Ajax can handle this task ("periodically_call_remote"). But
I don''t want to
2006 Apr 07
1
How I can stop periodically_call_remote?
I need make progress bar with following function:
# Ruby on Rails code
<%= periodically_call_remote(:update => ''progress-bar'', :url => {
:action => :progress },
:frequency => 0.1 , :complete => "check(request)") %>
How I can stop it?
If I have this:
/* JavaScript code */
function check(request, object) {
if (request.responseText ==
2007 Dec 19
8
Segmentation fault in Mongrel when run with --debug
I am having a problem with mongrel just stopping inside a
periodically_call_remote function so I ran mongrel with debug enabled
Mongrel seg faults after a few minutes
The mongrel filelog shows 5 files open when this happens. Same log files
that are open all the time.
Wed Dec 19 15:10:21 -0700 2007 FILES OPEN BEFORE REQUEST
/calibration/ackAdjustDistance
---
log/mongrel_debug/objects.log: 2
2006 May 23
7
back-porting 1.1.1 app to 1.0 rails server
I''ve been developing new application on local machine in rails 1.1.1.
Hosting provider (godaddy) is at rails 1.0.0 and not upgrading any time
soon I''m told. I set "RAILS_GEM_VERSION = ''1.0.0''" in my environment.rb
file to get past inital errors, but now I''m getting the following error:
2006 May 03
6
New Release: One-Click Ruby Installer 1.8.4-17 release candidate 2
We are almost there to a final release. The uninstall issues have been
fixed, and a few packages have been upgraded to more recent versions. Many
thanks to Ryan Leavengood and Shahank Date who stepped in to help finish off
this release!
*** Only "show-stopper" problems will be fixed ***
We are extreme short of manpower at the moment. So as much as I would like
to address each and every
2006 Jan 08
8
RaislsEdge - where to get latest javascripts ?
To play with RJS I just made a "rake freeze edge". But this copies only the
libs into vendor/rails and any attempt of "rake update_javascripts" fails.
But all the he required javascripts are there, at:
BASEPATH/vendor/rails/actionpack/lib/action_view/helpers/javascripts/
Except of prototype, they seem to have no version number, so I am asking
whether I should take those