Only cache template digests if config.cache_template_loading

since ActionView::Resolver.caching is set to the same value as config.cache_template_loading
only cache template digests if config.cache_template_loading is not falsy
fixes issues #10752 and #10791
Remove extra case.
Rely on NoMethodError#name when deciding to raise DelegationError.

Different Ruby implementations present backtraces differently, as
it should be an information consumed by humans.
A better implementation should use data from the error, in this case
returned by NoMethodError#name.

Fixes issues with Rubinius, which presents backtraces differently from
MRI.
update Rails::Railtie::Configuration and ActionDispatch::Response#respond_to? to accept include_private argument
Skip few of the ActiveSupport'sinflector test on JRuby
Moved "`mod_expires` to be enabled" to new line.

- Right now the comment was not rendering properly.
  # The Expires* directives requires the Apache module
  `mod_expires` to be
  # enabled.
- After this change -
  # The Expires* directives requires the Apache module
  # `mod_expires` to be enabled.
Escape the message of an exception in debug_exceptions to avoid bad rendering
Merge pull request #11961 from Intrepidd/debug-exception-html

Escape the message of an exception in debug_exceptions to avoid bad rendering
Added method to skip tests on Rubinius to AS/abstract_unit.
Skip tests involving $SAFE, it's not supported on Rubinius.
Merge pull request #11959 from razielgn/skip-global-safe-tests-on-rubinius

Skip tests involving $SAFE on Rubinius, it's not supported.
Merge pull request #11850 from razielgn/mod-delegation-backtrace

Generalize backtrace check on DelegationError.
Define jruby_skip to skip test on JRuby
Merge pull request #11932 from gaurish/skip-encoding-convertor

[JRuby] Skip few of the ActiveSupport's inflector test cases

Conflicts:
	activesupport/test/abstract_unit.rb
Updated bug report templates

* use `Minitest::Test` instead of deprectaed `MiniTest::Unit::TestCase`

 [ci skip]
Merge pull request #11966 from jetthoughts/update_bug_report_templates

Use `Minitest::Test` instead of old `MiniTest::Unit::TestCase` for bug reports template
Added bug report template for ActionController

[ci skip]
Removing merge conflict remnants in the guides.
Document ability to run a single test.
Avoid compiling regexs in AR::Base.respond_to?

Caches the patterns of ActiveRecord::DynamicMatchers in a class instance
variable.