This project is archived and is in readonly mode.

#5024 ✓invalid
Frank J. Mattia

is the new rails.js intentionally breaking ujs or is there a new way of doing it?

Reported by Frank J. Mattia | July 1st, 2010 @ 04:52 AM

Created a new rails app, bundled edge and did rake rails:update. Scaffolded a new model and the delete links being submitted as GETs and the :confirm attribute is never being utilized (i.e., no confirmation popup).

I updated an existing project (that was tracking edge but behind a few days) and now that one behaves the same way.

RVM on OS X with 1.8.7-p299, 1.9.2-preview3 and ruby-head.
Safari 5 & whatever the latest Firefox is.

Comments and changes to this ticket

  • Frank J. Mattia

    Frank J. Mattia July 3rd, 2010 @ 12:11 AM

    Just figured it out. Rails doesn't update prototype.js to the prerequisite version (1.7-rc2) when running rake rails:update.

    Please close and mark as invalid.
    Will open a more appropriate ticket (I'll submit a patch if anyone is willing to point me in the right direction, I've never done it before).

    Thanks,
    - FJM

  • Erik St. Martin

    Erik St. Martin July 7th, 2010 @ 12:20 AM

    • Tag changed from rails.js, ujs to invalid, rails.js, ujs
  • Rohit Arondekar

    Rohit Arondekar July 28th, 2010 @ 10:23 AM

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

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