title: Setting Formtastic as Rails 3 default form builder, is it possible?
body: <p>Something like this in application.rb:</p>
  
  <pre><code># Configure application generators
  config.app_generators do |g|
    g.form_builder Formtastic::SemanticFormBuilder
  end
  </code></pre>
  
  <p>If I do so I get an error when I try to scaffold a model:</p>
  
  <pre><code>Expected Thor class, got Formtastic::SemanticFormBuilder 
  </code></pre>
  
  <p>Is it possible to set Formtastic as default form builder?</p>
  
  <hr>
  
  <p><strong>Updated</strong>.</p>
  
  <p>I have tried <a href="https://github.com/plataformatec/simple_form" rel="nofollow">Simple forms</a> and it's really awesome (Thanks to <code>nathanvda</code>). The DSL is almost the same as Formtastic has. The only important difference for me is in customizing button labels. In formtastic it's possible to use resource file (formtastic.yml) to set different labels for the same model and action. Sometimes it's necessary, for example in Devise views. But it costs nothing to switch from formtastic to simple forms even in this case as it's possible to do it in this pretty simple way:</p>
  
  <pre><code>= f.submit t("customized_button_label")
  </code></pre>
  
  <p>Now about the original question. When I installed simple forms it creates template in lib/templates/haml/scaffold directory which will be used with scaffold. Straightforward.</p>