Eric Gross
2006-Aug-03 10:37 UTC
[Rails] Very strange - AJAX is flakey when I uploaded my site
The weirdest thing is happening. I have an ajax uploading call, and
after I uploaded it, every part of the controller will work except the
ajax call.
The Ajax call is to a javascript function that is in one of my js file.
Ive confirmed that the controller runs all the way till the render
:update. Then, there I have:
responds_to_parent do
render :update do |page|
page.call
"update_mycontent_picture_upload"
end
end
This will work sometimes on a first try when I try it through the
website. Any idea why it could be flakey.
I made sure to kill my ghost processes and clear my browser cache.
I did:
killall -9 ruby
killall -9 ruby1.8
Its still giving me problems, what can account for the flakiness?
--
Posted via http://www.ruby-forum.com/.
Eric Gross
2006-Aug-03 10:37 UTC
[Rails] Very strange - AJAX is flakey when I uploaded my site
The weirdest thing is happening. I have an ajax uploading call, and
after I uploaded the site, every part of the controller will work except
when it gets to the ajax call.
The Ajax call is to a javascript function that is in one of my js file.
Ive confirmed that the controller runs all the way till the render
:update. Then, there I have:
responds_to_parent do
render :update do |page|
page.call
"update_mycontent_picture_upload"
end
end
This will work sometimes on a first try when I try it through the
website. Any idea why it could be flakey.
I made sure to kill my ghost processes and clear my browser cache.
I did:
killall -9 ruby
killall -9 ruby1.8
Its still giving me problems, what can account for the flakiness?
--
Posted via http://www.ruby-forum.com/.