On 22/09/11 6:05 PM, Tianwen Chen wrote:
Hi everyone,
I just want to raise a discussion as titled and try to find out some
best practices.
I feel there are actually three levels of "seed data" in a lot of apps,
each a superset of the previous:
1) Bare minimum required data for tests to run
2) Seed data for production
3) Development data
The task to load production should be idempotent, but you can get away
with the others not being (just blow away the DB, load).
Ideally your production task is smart enough to deal with changing data
and can auto-migrate it for you.
Xav
--
You received this message because you are subscribed to the Google Groups "Ruby or
Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rails-oceania?hl=en.