Class: ActsAsEventOwnerMigrationGenerator

Inherits:
Rails::Generator::Base
  • Object
show all
Defined in:
lib/generators/acts_as_event_owner_migration/acts_as_event_owner_migration_generator.rb

Instance Method Summary collapse

Instance Method Details

#manifestObject



2
3
4
5
6
# File 'lib/generators/acts_as_event_owner_migration/acts_as_event_owner_migration_generator.rb', line 2

def manifest
  record do |m|
    m.migration_template 'acts_as_event_owner_migration.rb', File.join('db', 'migrate'), :migration_file_name => "acts_as_event_owner_migration"
  end
end