Prevent side effects in `Hash#with_indifferent_access`.
Fixing a failing railtie test by using the ENV variable to specify a
particular controller to search for in rake routes.
Improve upgrade guide documentation about the PUT->PATCH change
Merge pull request #10827 from trevorturk/patch-upgrade-guide

Improve upgrade guide documentation about the PUT->PATCH change
Allow Date to be compared with Time (like it was possible to compare Time with Date)
Merge pull request #10809 from wangjohn/fix_failing_railtie_test

Fixing a failing railtie test by wrapping the command inside of sh -c
Revert "Merge pull request #4490 from EmmanuelOga/master"

This behaviour doesn't actually make sense, the context of
the child should not be affected by the parent. See #10492.

This reverts commit 5f8274efe128ffeec8fa3179460f5167a078f007, reversing
changes made to 81e837e810460d066a2e5fc5a795366ec8ab2313.
The behavior we had in place in rc1 was actually to convert to DateTime and use <=> from there. Restore that.
Merge branch 'master' of github.com:rails/rails
Replace comment about Sprockets stub directive with a link to README about all directives
Merge pull request #10784 from senny/10526_prevent_key_transformation

Prevent side effects in `Hash#with_indifferent_access`.
Fixes #10432 add_column not creating array columns in PostgreSQL

When then PostgreSQL visitor was [added](https://github.com/rails/rails/commit/6b7fdf3bf3675a14eae74acc5241089308153a34)
`add_column` was no longer receiving the column options directly. This
caused the options to be lost along the way.
Removing use of subclassed application constant and instead using the
more agnostic Rails.application syntax. This means tests will be more
portable, and won't rely on the existence of a particular subclass.
Merge pull request #10832 from wangjohn/removing_use_of_application_constant

Removing use of subclassed application constant and replacing with Rails.application
Dry-up ActionDispatch::Routing autoloads
Refactor ActionDispatch::Http::Parameters#normalize_encode_params
Merge pull request #10838 from gsamokovarov/routing-autoload_under

DRY-up ActionDispatch::Routing autoloads
Merge pull request #10839 from gsamokovarov/clean-normalize_encoded_paths

Refactor ActionDispatch::Http::Parameters#normalize_encode_params
Fix mismatching variable names when using an underscore

The ERBTracker template digest helper class was using a regex to match
render calls and it was incorrectly not matching against variables with
underscores in the name. This caused it to use the wrong regex match data
to populate the template dependency. Because underscore is a valid
character for a variable, this fixes the ERBTracker to match it properly.
Merge pull request #10841 from latortuga/fix-underscore-dependency-tracking

Fix mismatching variable names when using an underscore