Using Autocomplete With an Edit Page in Rails2
Friday, June 20th, 2008After pounding my head against the wall for quite some time trying to figure out how to get scriptaculous autocomplete working correctly in the app I am writing, I finally got it. If I were creating a new record, autocomplete would work perfectly, but when I went to edit that record, it did nothing. Looking at the log, it turned out that the id of the record being edited was being passed as the action, and the action was passed as the id. (more…)