Updating javascripts


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

Or would this break stuff?



rake update_javascripts, according to my ‘rake --tasks’

  • james

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


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

Coming from a WebObjects/Objective-C background, I’ve never been a fan
Java so when I first discovered Rails I was quite pleased for all the
reasons that it’s generated so much buzz so quickly. However, having
in Java for the past few years out of necessity, the one concern that I
in using RoR in my professional life is that as lousy as the Java
is, there are a lot of good commercial and open source frameworks
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
here nor there).

I’m curious whether this has been issue for anyone working in Rails.
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
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
but allowed you to write your application in Java using Apple’s
Java/Objective-C bridge. It mostly worked, but the performance wasn’t
great, there were memory leaks and every once in awhile you’d get
unexplained exceptions.



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

is, there are a lot of good commercial and open source frameworks
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). 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs