title: How can I disable the Draper decorator generator?
body: <p>In my Rails 3.2 app's <code>application.rb</code> I have the following lines to disable scaffold generators I don't want:</p>
  
  <pre><code>module MyApp
    class Application &lt; Rails::Application
  
      # rest of the config...
  
      config.generators do |g|
        g.helper false
        g.stylesheets false
        g.javascripts false
      end
    end
  end
  </code></pre>
  
  <p>The app is using the <a href="https://github.com/drapergem/draper" rel="nofollow">Draper gem</a> and if I run <code>rails generate</code> then <code>decorator</code> is listed as one of the available generators. I assumed that adding <code>g.decorator false</code> to the above list would prevent <code>rails generate scaffold SomeModel</code> from generating the decorator files but they're still created. Can anyone tell me what I'm missing please?</p>