Topic: Graceful degradation in the default scaffold Destroy()

Hi,

I was getting started on RoR by following the tutorial at http://guides.rails.info/getting_starte … rails.html when I came across a problem where my generated scaffold's  Destroy function (http://guides.rails.info/getting_starte … ing_a_post) was not working.

After a while i realized that this was because I had NoScript on in my Firefox instance which was preventing the :confirm pop-up from working and thence on the :delete method from firing.

So, not being very good as JS either, can someone help with how I can change the scaffold's code to have graceful degradation for JS in this case?

Cheers, Ashish

Re: Graceful degradation in the default scaffold Destroy()

Yes, you can change it. The scaffold generator creates all the JS/HTML stuff.