# RJS from 1.1.6 to 1.2.x

**URL:** <https://www.ruby-forum.com/t/rjs-from-1-1-6-to-1-2-x/105943>\
**Category:** Rails\
**Created:** [June 4, 2007, 9:09pm UTC](https://www.ruby-forum.com/t/rjs-from-1-1-6-to-1-2-x/105943 "2007-06-04T21:09:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![taq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7c8e57/32.png) [@taq](https://www.ruby-forum.com/u/taq)\
**Post date:** [June 4, 2007, 9:09pm UTC](https://www.ruby-forum.com/t/rjs-from-1-1-6-to-1-2-x/105943/1 "2007-06-04T21:09:34Z")

</div>

Hi there.

I have an application who was working fine with 1.1.6. When I upgraded  
to 1.2.3, something weird happened with two RJS actions there. The code  
returned from the RJS was not working anymore.

To make a small test I removed the RJS code and inserted just an  
alert(“Hello”) there and then used Firebug to check if the request was  
ok. There were the JavaScript onde on the request response, but there  
were no alert on the browser.

Then I used

render :update do |page|  
page.alert “Hello”  
end

and it worked. Now I’m wondering why this happened. I upgraded the  
JavaScripts files, seems to have all the right stuff there, but just  
worked with render :update. But, if I made some new app from the start,  
code from the RJS file works. Maybe something I need to change on the  
old config files? I’m planning to make a diff on some of them to check  
if something changed about that, but if you guys have some tip about  
this I’ll be very thankful. 🙂

Best regards,
