Although i'm using validations in my models, i've managed to get a few duplicate entries on my site. I've got roughly 300,000 entries, and my administration only allows long running rake tasks of up to 5 hours. I need to remove all entries that have the same :word and :language.
Is there an easy way to iterate through all entries, check to see if any other entries have the same :word and :language, and delete those from the DB? -- Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---

