Forum: Ruby on Rails prototype 1.5.1 in rails 1.2.3

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ede5ca2f61280a8bb5adc31bbd828ab7?d=identicon&s=25 Khaled Hassounah (Guest)
on 2007-05-31 22:48
(Received via mailing list)
I need to use prototype 1.5.1. replacing prototype.js seems to work
fine. should I expect any surprises, or is the interface static enough
to make it safe?

thanks
Khaled
00e3a96684ab390a350b0271e98741d3?d=identicon&s=25 Nshbrown Nshbrown (nshb)
on 2007-06-01 00:51
(Received via mailing list)
No suprised, unless maybe you are using the helpers? But even then,
the integration is pretty surface level.

Biggest gotcha's I can think of is in the case when Rails may upgrade,
that you may find yourself wanting to update other JS libraries that
are included (such as scriptaculous) and find that a...

rake rails:update:javascripts

.. may cause your new prototype js file to be overwritten.

Also, you may in face also want to do that as well. That is, grab the
latest version of Scriptaculous seeing as you are running the latest
version of prototype :) Will solve some bugs with using an new version
of prototype with an old scriptaculous lib.

Nathaniel.

On 5/31/07, Khaled Hassounah <khassounah@gmail.com> wrote:
>
--
Nathaniel Steven Henry Brown

Toll Free: 1-877-446-4647
Vancouver: 604-724-6624
This topic is locked and can not be replied to.