Using migration to import data?

Hi all,

I have a large set of data to load, many of which are part of a big
act_as_tree model. Right now, I am testing the creation with migration
for the first layer of the tree but for the second layer, I have to know
the ID of the parent_ID. So far, it is easy because I can guess it by
looking at the insertion order, but I was wondering if there are any
better way to do this…

Thanks!