Forum: Ruby on Rails migration

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ajit S. (Guest)
on 2008-10-03 19:46
(Received via mailing list)
hello All

I am trying to create a table using rails migrations. after creating
the table i want to move data from one table to newly created table.
everything seems to be working fine.. only issue is speed of moving

Abc.find(:all).each do |a| do |x|

i have over 200,000 rows in my table.. and it is very slow...

is there a better way to move data quickly?

Please advice..


This topic is locked and can not be replied to.