I created something like a JSON backup for my project\'s database, and then I populate it like this
Model.find_or_initialize_by(:id => h["id"]).updat