I encountered an error today with a Rails Ajax drag ‘n drop and sortable list I developed for a client. Scouring the production logs, I saw:
/!\ FAILSAFE /!\ Wed Apr 16 14:19:18 -0500 2008 Status: 500 Internal Server Error can't modify frozen string
After some Googling, I saw a couple posts in the Ruby on Rails talk Google Group. Sure enough, others were experiencing the problem, but there was no reported solution. Apparently there is even a patch in the Rails core — or at least a ticket in for the problem. But, I don’t think that is necessary, because I came up with a solution without having to patch the core. More ⊕

