Seed Dump!

Published on: 09 Sep 2013
best practices gem rake task ruby on rails

You might remember my rant/advice on keeping your seed.rb file up-to-date.

Well, I’ve found something a very cool gem that might just do the trick when just giving the newbie a dump of the database isn’t possible for any reason: Seed Dump gem by rroblak

This gem will add a rake task that will generate a seed.rb file containing as much actual data from your development database (which is supposed to be consistent with your data model) as you want.

Simpy wonderful!