…ascript_engine ("js") for apps that remove Coffee gem
… into generator blocks
…ltie (d435726312601edb3ba6f97b34f562221f72c1f8). * Sass gem registers a compressor * Sass gem registers generators for assets and scaffold * Create a default stylesheet_engine ("css") for apps that remove the Sass gem
… asset stubs (this can be turned off with --skip-assets). These stubs will use Coffee and Sass, if those libraries are available. [DHH]
Signed-off-by: José Valim <firstname.lastname@example.org>
It turned out to be that scaffold for singeleton resource will always depend on another model, and it's not possible at the moment to make the application tests pass after generate the singeleton scafold. So, it would be better to remove it for now and probably provide another generator, such as singeleton_scaffold, in which also require the depended model name. [#4863 state:resolved] Signed-off-by: José Valim <email@example.com>
…quired earlier. Also tidy up the guide a little bit.
…es and to support full namespaces (not just entire groups)
…lesheet." This reverts commit ea2c5fa. Conflicts: railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb railties/test/generators/app_generator_test.rb
…also there, same for #class_eval to simplify, and adds coverage for class_eval
…ing the former since it's less obstrusive.