# Prototype 1.5.1 in rails 1.2.3

**URL:** <https://www.ruby-forum.com/t/prototype-1-5-1-in-rails-1-2-3/105640>\
**Category:** Rails\
**Created:** [May 31, 2007, 10:48pm UTC](https://www.ruby-forum.com/t/prototype-1-5-1-in-rails-1-2-3/105640 "2007-05-31T22:48:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kempa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/c89c15/32.png) [@kempa](https://www.ruby-forum.com/u/kempa)\
**Post date:** [May 31, 2007, 10:48pm UTC](https://www.ruby-forum.com/t/prototype-1-5-1-in-rails-1-2-3/105640/1 "2007-05-31T22:48:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![kempa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/c89c15/32.png) [@kempa](https://www.ruby-forum.com/u/kempa)\
**Post date:** [June 1, 2007, 12:51am UTC](https://www.ruby-forum.com/t/prototype-1-5-1-in-rails-1-2-3/105640/2 "2007-06-01T00:51:23Z")

</div>

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 H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 

–  
Nathaniel Steven Henry Brown

Toll Free: 1-877-446-4647  
Vancouver: 604-724-6624
