Forum: Ruby on Rails Why doesn't Rails 1.1 have all the 1.6 files

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ef3aa7f7e577ea8cd620462724ddf73b?d=identicon&s=25 Rob Biedenharn (Guest)
on 2006-03-30 01:49
(Received via mailing list)
Why aren't builder.js, slider.js, and scriptaculous.js part of the
Rails 1.1 javascripts?

rab:javascripts $ pwd
rab:javascripts $ ls -l
total 288
-rw-r--r--   1 root  wheel    148 Mar 28 08:56 application.js
-rw-r--r--   1 root  wheel  28036 Mar 28 08:56 controls.js
-rw-r--r--   1 root  wheel  23613 Mar 28 08:56 dragdrop.js
-rw-r--r--   1 root  wheel  32740 Mar 28 08:56 effects.js
-rw-r--r--   1 root  wheel  54330 Mar 28 08:56 prototype.js
rab:javascripts $ cd ~/src/scriptaculous-js-1.6.0/src
rab:src $ ls -l
total 240
-rw-r--r--   1 rab  rab   3361 Mar 28 03:27 builder.js
-rw-r--r--   1 rab  rab  28036 Mar 28 03:27 controls.js
-rw-r--r--   1 rab  rab  23613 Mar 28 03:27 dragdrop.js
-rw-r--r--   1 rab  rab  32740 Mar 28 03:27 effects.js
-rw-r--r--   1 rab  rab   2245 Mar 28 03:27 scriptaculous.js
-rw-r--r--   1 rab  rab  10790 Mar 28 03:27 slider.js
-rw-r--r--   1 rab  rab  12931 Mar 28 03:27 unittest.js
rab:src $


Rob Biedenharn
+1 513-295-4739
E1c74637dbb1b765861978e4c4f6388e?d=identicon&s=25 Tom Armitage (Guest)
on 2006-03-30 12:05
(Received via mailing list)
Um, because it doesn't?

Rails comes with the prototype library. Scriptaculous itself is built
prototype, but is not the same AS prototype. Hence why it's not part of
RoR distro.
Ef3aa7f7e577ea8cd620462724ddf73b?d=identicon&s=25 Rob Biedenharn (Guest)
on 2006-03-30 12:17
(Received via mailing list)
Well, the controls.js, dragdrop.js, and effects.js are part of and they *are* included with RoR.  I'm just curious
why the entire distro isn't bundled.

If I had to guess, I'd think it would be related to what has
JavascriptHelpers to support, but it still seems odd.


Rob Biedenharn
+1 513-295-4739
E813e9cc70159e103a64a5237c0d3ee2?d=identicon&s=25 Thomas Fuchs (Guest)
on 2006-03-30 12:42
(Received via mailing list)
slider.js support is provided in a seperate plugin that includes a

builder.js is for the "JS fanatics", and doesn't have any helper
(Note that when using Rails you're probably better of using RJS to
stuff on the server).

unittest.js is obviously a highly specialized library for JavaScript
unit testing.

Because Rails has it's own JavaScript
"loader" (javascript_include_tag :defaults)
the scriptaculous.js file itself is not needed.

Of course the Rails files are not altered in any way,
so you can
just drop in the full distribution if you like, the Rails helpers
will still work as expected.


Am 30.03.2006 um 12:15 schrieb Rob Biedenharn:
6ef90e6701684e1e1db2a07f25f781ff?d=identicon&s=25 Lin Jiaqi (Guest)
on 2006-03-30 16:32
(Received via mailing list)
So does it mean I can download' zip file from your
drop everything into public/javascripts and my ruby on rails Ajax
will not be affected?

This topic is locked and can not be replied to.