This project is archived and is in readonly mode.

#5039 ✓resolved
Frank J. Mattia

rake rails:update does not update prototype.js to the correct version

Reported by Frank J. Mattia | July 3rd, 2010 @ 12:13 AM

It appears that the new rails.js file requires prototype.js 1.7-rc2 but rake rails:update does not pull it in.

Comments and changes to this ticket

  • Mike Riley

    Mike Riley July 29th, 2010 @ 09:34 PM

    • State changed from “new” to “resolved”
    • Importance changed from “” to “Low”

    Hello,

    What version of Rails are you using with this? I tried Rails 3 rc 1 and when I ran rake rails:update it gave me the following information:

    identical public/javascripts/prototype.js

    Checking public/javascripts/prototype.js it shows the correct version you are looking for:
    Prototype JavaScript framework, version 1.7_rc2

    It appears that this was fixed. I am marking this as resolved, but if you are still having trouble with it, let me know the version of Rails you are using and I will try to reproduce this.

    Mike Riley

  • Frank J. Mattia

    Frank J. Mattia July 29th, 2010 @ 10:22 PM

    I had reported this a few days after rails.js was updated and a few weeks before prototype.js was patched (I track edge daily for my internal projects)... A week or two ago I saw another ticket that matched this one but was supplied with a patch -- I'll go out on a limb and say because I hadn't supplied a patch my ticket was at the bottom of the todo list... No biggie - just thought it would be more convenient for whoever modified rails.js in the first place to commit their version of prototype rather than Joe Random just applying a patch to what "seemed to be" the necessary version.

    Cheers,
    - FJM

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages