class Denormalizer::Generators::InstallGenerator

Public Instance Methods

copy_config_file() click to toggle source

Creates the config file Commented out until the config actually has information

# File lib/generators/denormalizer/install_generator.rb, line 31
def copy_config_file
  copy_file "config.rb", "config/initializers/denormalizer.rb"
end
copy_migration() click to toggle source

Creates the migration

# File lib/generators/denormalizer/install_generator.rb, line 36
def copy_migration
  migration_template "migrations/install_migration.rb.erb", "db/migrate/create_denormalizer_tables.rb"
end