Forum: Ruby on Rails periodically_call_remote doesn´t work properly

Posted by Guille San (erwillie)
on 2010-03-09 16:31
Attachment: matar.bmp (91,7 KB)
Hi everyone:
I have some problems using periodically_call_remote, here is my code:

<%=periodically_call_remote(:url => 'http://localhost:3000', :frequency
=> '0.5', :update => {:success=>'imagen'})%>
<div id="imagen">
<%=image_tag("/guarrada/Debug/foto.jpg") %>
</div>



My problem is that when I load the web page, it works properly for 3 or
4 refresh, but after that I have the result of the attachment image.
Ayone can say me what I´m doing wrong??

THANKS!!!
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.