Sha256: 711aaf83752e3ac691cf02de435ace967ef0d21240df87b27de095b11f2f0255

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

require 'rails/generators/rails/model/model_generator'

module Rails
  module Generators
    class ModelGenerator

      def generate_locale_file
        invoke("locale:model", [name]) if ActiveGenerator.configuration.autoload_model_generator_locale
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_generator-2.2.0 lib/generators/rails/model_generator.rb
active_generator-2.1.0 lib/generators/rails/model_generator.rb