Sha256: 4902a7fdb1f8c5d2fe336c08fb0e29118d6e901ed22e8c9821ae6e6c0e7dde41

Contents?: true

Size: 263 Bytes

Versions: 217

Compression:

Stored size: 263 Bytes

Contents

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

module Rails
  module Generators
    class ModelGenerator
      hook_for :avo_resource, type: :boolean, default: true unless ARGV.include?("--skip-avo-resource")
    end
  end
end

Version data entries

217 entries across 217 versions & 1 rubygems

Version Path
avo-3.9.0 lib/generators/model_generator.rb
avo-3.8.1 lib/generators/model_generator.rb
avo-3.8.0 lib/generators/model_generator.rb
avo-3.6.4 lib/generators/model_generator.rb
avo-3.6.3 lib/generators/model_generator.rb
avo-3.6.2 lib/generators/model_generator.rb
avo-2.49.0 lib/generators/model_generator.rb
avo-3.6.1 lib/generators/model_generator.rb
avo-3.6.0 lib/generators/model_generator.rb
avo-3.5.8 lib/generators/model_generator.rb
avo-3.5.7 lib/generators/model_generator.rb
avo-3.5.6 lib/generators/model_generator.rb
avo-3.5.6.beta1 lib/generators/model_generator.rb
avo-3.5.5 lib/generators/model_generator.rb
avo-3.5.4 lib/generators/model_generator.rb
avo-3.5.3 lib/generators/model_generator.rb
avo-3.5.2 lib/generators/model_generator.rb
avo-3.5.1 lib/generators/model_generator.rb
avo-3.5.0 lib/generators/model_generator.rb
avo-3.4.4 lib/generators/model_generator.rb