Hello Sir/Madam,
I want to know how can i delete duplicates entries from
database using rake task.
Regards,
Amit K.
Hello Sir/Madam,
I want to know how can i delete duplicates entries from
database using rake task.
Regards,
Amit K.
Amit K. wrote:
I want to know how can i delete duplicates entries from
database using rake task.
I am not sure if you are asking to learn about rake tasks or database
cleanup. Assuming that the result is what matters, I suggest that you
apply a primary index to the fields you are checking. That will remove
duplicates automatically.
hth
I don’t know of any built-in task that already does that. Thus, you’ll
have to:
Good luck,
Craig
Thankyou for your advice…if possible can u suggest me how to detect n
delete duplicates…
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs