Revision 16859
Added by Jean-Philippe Lang almost 8 years ago
application.rb | ||
---|---|---|
47 | 47 |
# Do not include all helpers |
48 | 48 |
config.action_controller.include_all_helpers = false |
49 | 49 |
|
50 |
# Do not suppress errors in after_rollback and after_commit callbacks |
|
51 |
config.active_record.raise_in_transactional_callbacks = true |
|
52 |
|
|
53 |
# XML parameter parser removed from core in Rails 4.0 |
|
54 |
# and extracted to actionpack-xml_parser gem |
|
55 |
config.middleware.insert_after ActionDispatch::ParamsParser, ActionDispatch::XmlParamsParser |
|
56 |
|
|
57 | 50 |
# Sets the Content-Length header on responses with fixed-length bodies |
58 | 51 |
config.middleware.insert_after Rack::Sendfile, Rack::ContentLength |
59 | 52 |
|
Also available in: Unified diff
Merged rails-5.1 branch (#23630).