# Very strange - AJAX is flakey when I uploaded my site

**URL:** <https://www.ruby-forum.com/t/very-strange-ajax-is-flakey-when-i-uploaded-my-site/101089>\
**Category:** Rails\
**Created:** [August 3, 2006, 12:37pm UTC](https://www.ruby-forum.com/t/very-strange-ajax-is-flakey-when-i-uploaded-my-site/101089 "2006-08-03T12:37:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericgoodwin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c68b51/32.png) [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Post date:** [August 3, 2006, 12:37pm UTC](https://www.ruby-forum.com/t/very-strange-ajax-is-flakey-when-i-uploaded-my-site/101089/1 "2006-08-03T12:37:13Z")

</div>

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?
