Merge pull request #10969 from davidcelis/case-insensitive-asset-path

Use a case insensitive URI Regexp for #asset_path
Add CHANGELOG entry for #10969

[ci skip]
Escape the string even when the condition of link_to_unless is not satisfied.
Added test for link_to_unless to make sure the result consistency.
Merge pull request #10942 from yangchenyun/mine

correct documentation about active_record.default_timezone
rewrote render tag using more succinct and idiomatic way
Use Colspan in th Tags

Is it more suitable that using ```<th colspan="3">``` instead of three empty ```<th>```? It is simple, but what i am missing about it?

Change repetitive th tags to use colspan attribute

Update CHANGELOG.md

Update CHANGELOG.md
Merge pull request #10971 from dtaniwaki/escape_link_to_unless

Always escape the result of link_to_unless method
Merge pull request #10970 from sbagdat/patch-1

Use Colspan in th Tags
Merge branch 'master' into mrbrdo-fixserialization

* master: (142 commits)
  Use Colspan in th Tags
  Added test for link_to_unless to make sure the result consistency.
  Escape the string even when the condition of link_to_unless is not satisfied.
  Add CHANGELOG entry for #10969
  Use a case insensitive URI Regexp for #asset_path
  collection tags accept html attributes as the last element of collection
  Rewind StringIO instances before be parsed again
  Use xml instead already parsed xml
  Updated the doc for const_regexp [ci skip]
  Make test name descriptive and add reference to original regression commit
  fixture setup does not rely on `AR::Base.configurations`.
  regression test + mysql2 adapter raises correct error if conn is closed.
  cleanup, remove trailing whitespace from AR changelog
  'json' gem is no more required under JRuby
  fix typos
  Fix AS changelog [ci skip]
  Update the HTML boolean attributes per the HTML 5.1 spec
  Changing const_regexp to check for constant name.
  valid_app_const? -> valid_const?
  Add CHANGELOG entry for #10740
  ...
just construct real objects rather than mock and stub
Merge pull request #10902 from wangjohn/removing_application_singleton_calls

Calls to the application constant have been refactored
Merge pull request #10961 from wangjohn/changing_rails_env_config

Removing a repetitive comment and refactoring the Application class in Railties
load the file rather than evaling
Merge pull request #10968 from wangjohn/refactoring_rails_application_class

Creating a class to build the default middleware stack.
be consistent about parameter types passed to new_constants_in
we only support 1.9+, so just check for a name
Revert "Merge pull request #10961 from wangjohn/changing_rails_env_config"

This reverts commit 7098d6c9ab28931acc9562a00037567609f9e529, reversing
changes made to 9ec2e2ee91568af24e09760a6de2890b89c33f56.
This make some tests fail /cc @wangjohn
Removing a repetitive comment and removing a deprecation warning.

The comment on the +env_config+ method is repetitive, likely to get
outdated, and provides no useful information which cannot be gleamed
from the code. I'm therefore removing it. I'm also refactoring the check
for the presence of a secret_token in the configuration.
Merge pull request #10986 from wangjohn/changing_rails_env_config

Removing a repetitive comment and a deprecation warning.