Replace the buggy next_migration_number implementation with what ActiveRecord::Generators::Base already have
Inherit from ActiveRecord::Generators::Base instead
Merge pull request #19 from thekindofme/development

Replace the buggy next_migration_number implementation with what ActiveR...