Posted 12 days ago. Visible to the public. Linked content. Auto-destruct in 48 days
Updated: Don't use migrations to seed default data
It's OK to add data in a migration if your test suite cleans the database before it starts.
For instance, in RSpec:
config.before(:suite) do DatabaseCleaner.clean_with(:deletion) end