lib/rails/second_base/generators/migration_generator.rb in secondbase-1.0.0 vs lib/rails/second_base/generators/migration_generator.rb in secondbase-1.0.1
- old
+ new
@@ -1,15 +1,15 @@
require 'rails/generators'
-require 'rails/generators/rails/migration/migration_generator'
require 'rails/generators/active_record'
require 'rails/generators/active_record/migration/migration_generator'
module SecondBase
class MigrationGenerator < ActiveRecord::Generators::MigrationGenerator
source_root ActiveRecord::Generators::MigrationGenerator.source_root
def self.desc
+ require 'rails/generators/rails/migration/migration_generator'
Rails::Generators::MigrationGenerator.desc
end
include(Module.new{