# Updating javascripts

**URL:** <https://www.ruby-forum.com/t/updating-javascripts/48680>\
**Category:** Rails\
**Created:** [November 23, 2005, 10:21am UTC](https://www.ruby-forum.com/t/updating-javascripts/48680 "2005-11-23T10:21:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeroen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bbe5ce/32.png) [@jeroen](https://www.ruby-forum.com/u/jeroen)\
**Post date:** [November 23, 2005, 10:21am UTC](https://www.ruby-forum.com/t/updating-javascripts/48680/1 "2005-11-23T10:21:52Z")

</div>

Hi,

Is it possible to upgrade the javascripts bundled with Rails? Can I just  
download the latest version from [http://script.aculo.us/](http://script.aculo.us/) and overwrite  
the ones in my public/javascript folder?

Or would this break stuff?

Cheers,

Jeroen

---

<div class="post-metadata">

**Author:** ![jeroen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bbe5ce/32.png) [@jeroen](https://www.ruby-forum.com/u/jeroen)\
**Post date:** [November 23, 2005, 10:42am UTC](https://www.ruby-forum.com/t/updating-javascripts/48680/2 "2005-11-23T10:42:05Z")

</div>

rake update\_javascripts, according to my ‘rake --tasks’

- james

---

<div class="post-metadata">

**Author:** ![jeroen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bbe5ce/32.png) [@jeroen](https://www.ruby-forum.com/u/jeroen)\
**Post date:** [November 23, 2005, 11:10am UTC](https://www.ruby-forum.com/t/updating-javascripts/48680/3 "2005-11-23T11:10:20Z")

</div>

James A. wrote:

> rake update\_javascripts, according to my ‘rake --tasks’
> 
> - james

I think that just updates scripts to the latest version bundled with  
rails. Running that task doesn’t upgrade to the latest version available  
on [script.aculo.us](http://script.aculo.us)

Jeroen

---

<div class="post-metadata">

**Author:** ![jeroen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bbe5ce/32.png) [@jeroen](https://www.ruby-forum.com/u/jeroen)\
**Post date:** [November 23, 2005, 11:18am UTC](https://www.ruby-forum.com/t/updating-javascripts/48680/4 "2005-11-23T11:18:23Z")

</div>

Aaaaaaah I see what you mean now, and you’re right.

---

<div class="post-metadata">

**Author:** ![jeroen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bbe5ce/32.png) [@jeroen](https://www.ruby-forum.com/u/jeroen)\
**Post date:** [December 10, 2005, 4:41am UTC](https://www.ruby-forum.com/t/updating-javascripts/48680/5 "2005-12-10T04:41:45Z")

</div>

Coming from a WebObjects/Objective-C background, I’ve never been a fan  
of  
Java so when I first discovered Rails I was quite pleased for all the  
same  
reasons that it’s generated so much buzz so quickly. However, having  
worked  
in Java for the past few years out of necessity, the one concern that I  
have  
in using RoR in my professional life is that as lousy as the Java  
language  
is, there are a lot of good commercial and open source frameworks  
available  
for it. I’d hate to lose the ability to rely on some of them for my  
projects (obviously there’s a lot of crap out there too, but that’s  
neither  
here nor there).

I’m curious whether this has been issue for anyone working in Rails.  
Have  
you come across problems that there were Java frameworks available to  
address that don’t yet exist in Ruby? How about using Java classes from  
Ruby using rjni, JRuby or some other solution? Is this something that  
is  
currently supported and if so how well does it work? If not, is it  
something that is actively being worked on?

I’m skeptical of this approach based on my experience with an earlier  
version of the WebObjects application server that was written in  
Objective-C  
but allowed you to write your application in Java using Apple’s  
proprietary  
Java/Objective-C bridge. It mostly worked, but the performance wasn’t  
so  
great, there were memory leaks and every once in awhile you’d get  
strange  
unexplained exceptions.

Thanks,

Bruce

---

<div class="post-metadata">

**Author:** ![jeroen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bbe5ce/32.png) [@jeroen](https://www.ruby-forum.com/u/jeroen)\
**Post date:** [December 11, 2005, 2:36am UTC](https://www.ruby-forum.com/t/updating-javascripts/48680/6 "2005-12-11T02:36:01Z")

</div>

On Dec 9, 2005, at 10:40 PM, Bruce Fancher wrote:

> language  
> is, there are a lot of good commercial and open source frameworks  
> available  
> for it.

Bruce, if you don’t find what you need such that you may continue  
using Rails and your favorite Java thingy, you may want to consider  
Sails ([www.opensails.org](http://www.opensails.org)). It gives you ‘the spirit of Rails in  
Java’, if I may be so bold. We are using it on our second major  
project. It continues to improve almost every day. Sorry -  
ActiveRecord is not available there, though we are working on  
Prevayler and Hibernate 3 persistence apis that will make web-  
application life in Java a bit more bearable.

adam williams  
[http://rubyeclipse.sourceforge.net/](http://rubyeclipse.sourceforge.net/)  
[http://www.opensails.org](http://www.opensails.org)
