I just ran rake rails:update:scripts but to no avail. It updated a couple of scripts unrelated to prototype. It still does not update the rotated image.
When I open the Firefox error console as you suggested, and I am seeing: Warning: Empty string passed to getElementById(). However this occurs even under 1.2.5 when it's working so I think this is a red herring. Did something else change in Rails 2 for replacing objects? On Jan 29, 8:56 am, "Thomas R. Koll" <[email protected]> wrote: > Hi Adeel, > > On Jan 29, 9:45 am, adeel <[email protected]> wrote: > > > Hi I'm tasked with upgrading an old app from 1.2.5 to 2.1.0. > > > There is a basic image rotation triggered by a link_to_remote button. > > The image gets rotated by Mini-Magick, saved, and then the div is > > updated on the page to show the rotated image. This works fine in > > 1.2.5. > > .... > > > Any ideas? > > Did you run a rake rails:update:scripts ? > I suspect the prototype files have changed and trouble you now. > > About JS debugging, the error console (CMD-SHIFT-J on a Mac) will > give you a lot more information than the Firebug console usually does > (unless you configured it to do so). > > ciao, tom > > -- > Thomas R. "TomK32" Koll <>http://ananasblau.com > just a geek trying to change the worldhttp://github.com/TomK32 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

