I’m loading fixture data via migrations into my application using the method described in the Agile book. This works beautifully for development and production environments. The only problem is, I don’t want these particular migrations to run when I do rake db:migrate RAILS_ENV=test. For one, there is no reason to being loading data into the test db. And, more problematic for me, this causes foreign key constraint errors which abort the rake with the test db because I’m using Redhillonrails’ foreign_key_migrations plugin.