Add dump_to_seeds to your project's Gemfile and do bundle install
dump_to_seeds
bundle install
NOTE: Only tested with Rails 2.x
Author.first.to_seed([:articles => [:comments]])
This gem is available under the MIT Licence.