rails/rails — pull request #13594 by oliveiraethales (2014-01-05 02:36:54+00:00)
Title: When deleting a previously deleted model, raises an error message

Closes #13588

Basically, 'create_migration_file' method on railties AR model_generator.rb was using this path: "../../migration/templates/create_table_migration.rb" (the template file for table creation migration) as argument for migration_template method at migration.rb. Initially I was going just to fix just this, but I thought it might be interested to show a message to the user in case the migration was already deleted.

Feedback would be much appreciated <3