# Rails 1.2 and the prototype/ajax bug

**URL:** <https://www.ruby-forum.com/t/rails-1-2-and-the-prototype-ajax-bug/88881>\
**Category:** Rails\
**Created:** [March 15, 2007, 8:47am UTC](https://www.ruby-forum.com/t/rails-1-2-and-the-prototype-ajax-bug/88881 "2007-03-15T08:47:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_DeMello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Post date:** [March 15, 2007, 8:47am UTC](https://www.ruby-forum.com/t/rails-1-2-and-the-prototype-ajax-bug/88881/1 "2007-03-15T08:47:25Z")

</div>

What’s the recommended fix for the “Ajax doesn’t work” bug?  
[http://dev.rubyonrails.org/ticket/6579](http://dev.rubyonrails.org/ticket/6579) is marked ‘wontfix’, but the  
page is confusing in that I can’t make out what I should be doing to  
make my code work. I gem updated rails and ajax didn’t work till I  
manually downgraded prototype to \_rc0 - I was a bit wary of applying  
any of the fixes listed under the bug, since the prototype developers  
didn’t accept them.

martin

---

<div class="post-metadata">

**Author:** ![Martin\_DeMello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Post date:** [March 15, 2007, 4:02pm UTC](https://www.ruby-forum.com/t/rails-1-2-and-the-prototype-ajax-bug/88881/2 "2007-03-15T16:02:34Z")

</div>

> What’s the recommended fix for the “Ajax doesn’t work” bug?  
> [http://dev.rubyonrails.org/ticket/6579](http://dev.rubyonrails.org/ticket/6579) is marked ‘wontfix’, but the  
> page is confusing in that I can’t make out what I should be doing to  
> make my code work. I gem updated rails and ajax didn’t work till I  
> manually downgraded prototype to \_rc0 - I was a bit wary of applying  
> any of the fixes listed under the bug, since the prototype developers  
> didn’t accept them.

Are you using rico? I had this problem on a site recently (ajax  
scaffolding) that was using rico… only occured in Firefox. Removed  
rico  
and all was well again.

-philip

---

<div class="post-metadata">

**Author:** ![Martin\_DeMello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Post date:** [March 16, 2007, 10:25am UTC](https://www.ruby-forum.com/t/rails-1-2-and-the-prototype-ajax-bug/88881/3 "2007-03-16T10:25:48Z")

</div>

On 3/15/07, Philip H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> scaffolding) that was using rico… only occured in Firefox. Removed rico  
> and all was well again.

No, just plain prototype. Happens with firefox 1.5 and 2.0.

martin
