Importing (bootstrapping) the initial data from fixtures(.yml) with foreign keys in Rails 2.0

Hi,

I'm trying to import data from YAML files in Rails 2.0.2. I learned that new features came out for fixtures at RailsCasts #81 Fixtures in Rails 2.0 - RailsCasts .

And, in Rails 1.2.6 and before, I used a "rake" task I found online. Looks like there are many variations for this "bootstrap" file.

Do you know if there's a file available that does something similar (i.e., importing data to development/production database) for Rails 2.0.2 and deals with foreign keys automatically?

Any help would be greatly appreciated.

Tek