Sha256: afe496316e4b67f73fd6de74e5f2205bbac8133ea59775b1dbb1375e5037578a

Contents?: true

Size: 465 Bytes

Versions: 1

Compression:

Stored size: 465 Bytes

Contents

class HasAddressesGenerator < Rails::Generator::Base
  def manifest
    record do |m|
      m.migration_template '001_create_countries.rb', 'db/migrate', :migration_file_name => 'create_countries'
      m.sleep 1
      m.migration_template '002_create_regions.rb', 'db/migrate', :migration_file_name => 'create_regions'
      m.sleep 1
      m.migration_template '003_create_addresses.rb', 'db/migrate', :migration_file_name => 'create_addresses'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_addresses-0.5.2 generators/has_addresses/has_addresses_generator.rb