Sandip, Are you certain all of the ids are valid?
You could try adding something like this to your controller action before the destroy is called: def destroy @records = Model.all( :conditions => ["id IN (?)", array]) raise "Not all ids were valid!" unless @records.size == array.size Model.destroy(array) .... end This will raise an error if the ids are not all valid and you'll know to look elsewhere for the root of the problem Hope that helps? Gavin http://handyrailstips.com On Jul 20, 8:59 am, Sandip Ransing <[email protected]> wrote: > Hello friends ! > > Model.destroy(array of ids) gives record not found error in Internet > Explorer. > > Sandip R~ > > -- > Ruby on Rails > Developerhttp://sandip.sosblog.comhttp://funonrails.wordpress.comwww.joshsoftware.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

