Here's a blog post I wrote on this subject with some sample code. It
covers the difference between loading 'seed' data which is intended to
live as a permanent part of the production database (for example, role
names or state codes) and loading sample data just used for testing
*for example, fake test accounts).
Hopefully it'll help. There's some sample code in the post.
-Kevin
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
However you wish to load data, the migration task can take a command and it's output is included in the deploy logs.
Nov