Sha256: dc08316c3029a286ff5fdca68ec53b6880c4ab4187658ff48e665ebc1988de2c

Contents?: true

Size: 382 Bytes

Versions: 9

Compression:

Stored size: 382 Bytes

Contents

class HasManyTranslationsGenerator < Rails::Generator::Base
  def manifest
    record do |m|
      m.migration_template 'migration.rb', File.join('db', 'migrate'), :migration_file_name => 'create_translations'

      m.directory File.join('config', 'initializers')
      m.template 'initializer.rb', File.join('config', 'initializers', 'has_many_translations.rb')
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
has_many_translations-0.4.6 generators/has_many_translations/has_many_translations_generator.rb
has_many_translations-0.4.5 generators/has_many_translations/has_many_translations_generator.rb
has_many_translations-0.4.4 generators/has_many_translations/has_many_translations_generator.rb
has_many_translations-0.4.3 generators/has_many_translations/has_many_translations_generator.rb
has_many_translations-0.3.8 generators/has_many_translations/has_many_translations_generator.rb
has_many_translations-0.3.7 generators/has_many_translations/has_many_translations_generator.rb
has_many_translations-0.3.6 generators/has_many_translations/has_many_translations_generator.rb
has_many_translations-0.3.4 generators/has_many_translations/has_many_translations_generator.rb
has_many_translations-0.3.3 generators/has_many_translations/has_many_translations_generator.rb