The main goal is to not generate the format.html block in scaffold controller, and to generate a different functional test as we don't rely on redirects anymore, we should test for http responses. In addition to that, the :edit action is removed from the http controller and the edit route is not generated by default, as they usually do not make sense in this scenario. [Carlos Antonio da Silva & Santiago Pastorino]
…r now [Carlos Antonio da Silva & Santiago Pastorino]
[Carlos Antonio da Silva & Santiago Pastorino]
… into generator blocks
Otherwise nested hashes will be same objects for both application and engine, which will result in overwriting each others values on changes.
…g.generators.test_framework 'rspec' for instance Signed-off-by: José Valim <email@example.com>
…figuration in request.env. This is another step forward removing global configuration.
* Add the Rack::Sendfile middleware * Make the header to use configurable via config.action_dispatch.x_sendfile_header (default to "X-Sendfile"). * Add Railties tests to confirm that these work * Remove the :stream, :buffer_size, and :x_senfile default options to send_file * Change the log subscriber to always say "Sent file" * Add deprecation warnings for options that are now no-ops Note that servers can configure this by setting X-Sendfile-Type. Hosting companies and those creating packages of servers specially designed for Rails applications are encouraged to specify this header so that this can work transparently.
…ration. Signed-off-by: Carl Lerche <firstname.lastname@example.org>