Class: Olivander::ActiveRecordGenerator

Inherits:
ActiveRecord::Generators::ModelGenerator
  • Object
show all
Defined in:
lib/generators/olivander/active_record_generator.rb

Direct Known Subclasses

ModelGenerator

Instance Method Summary collapse

Instance Method Details

#create_migration_fileObject



16
17
18
19
# File 'lib/generators/olivander/active_record_generator.rb', line 16

def create_migration_file
  self.attributes = shell.base.attributes
  super
end