ajvargo/data-migrate — pull request #16 by XmmmiR (2014-03-03 20:13:51+00:00)
Title: Using db:migrate:with_data does not load data migrations / db and data migrations with the same name

Hi,

Using ```rake db:migrate:with_data``` ends with an error in my project.

While researching this issue I've found out that problem exists with db and data migrations which have same name. Rails migration generator [checks if name is not taken](https://github.com/rails/rails/blob/3-2-stable/railties/lib/rails/generators/migration.rb#L58-60) and migrator [requires file](https://github.com/rails/rails/blob/cdda29051a4d1216288f06bacfc05da59fcdb40b/activerecord/lib/active_record/migration.rb#L756-763) and [loads it's method](https://github.com/rails/rails/blob/cdda29051a4d1216288f06bacfc05da59fcdb40b/activerecord/lib/active_record/migration.rb#L555-565). So, migrating both db and data migrations in one task causes db migration to be run twice.

You can check issue example [here](https://github.com/XmmmiR/data-migrate-issue).