Upgraded rack
As Rack has some non backwards compatible changes added required
modifications to keep behaviour in rails close to same as before.

Also modified generators to include rack/rack for not yet released
version of rack
Since upgrading rack we can remove unnecessary string encodings
https://github.com/rack/rack/commit/5a5aee36
Use a type object for type casting behavior on SQLite3

Note: I'm not sure we actually need to be logging when this happens.
This code would be a fair bit cleaner if we didn't need to log it.
Improve token_and_options regex and test

add a test case to test the regex for the helper method raw_params
[ci skip] Changes some wording to better foreshadow what is coming up later.
This should prevent some anxiety readers may experience when the doc goes into something different than what it just explained. Also clarifies a statement about priority in engines and application environments

[ci skip] fixes double `the`

[ci skip] more clarifications

[ci skip] changes from tics to quotes
Remove symbolized_path_parameters.

This pull request is a continuation of https://github.com/rails/rails/commit/925bd975 and https://github.com/rails/rails/commit/8d8ebe3d.
Add `:all` argument to `count` in `reset_counters`

Prior to this fix, if an association had a scope with a `select`,
calls to `reset_counters` would generate invalid SQL and throw:

ActiveRecord::StatementInvalid: [$DB_ADAPTER]: wrong number of
arguments to function COUNT()

References #10710, #13648
Fix typo in comment
Merge pull request #16029 from cade/fix_typo_in_comment

Fix typo in comment
Merge pull request #15941 from variousred/docrails-changes

[ci skip] Changes some wording to better foreshadow what is coming up later
Use the type object for type casting HStore columns
Do not rely on the column type when quoting infinity
Merge pull request #16034 from sgrif/sg-hstore-type-object

Use the type object for type casting HStore columns
Merge pull request #16036 from sgrif/sg-datetime-infinity

Do not rely on the column type when quoting infinity
Fix guide. sample code syntax error.[ci skip]
Merge pull request #16038 from tbpgr/fix_guide_active_record_validations

Fix guide. sample code syntax error.[ci skip]
Remove unneccessary special case for money in quoting
Add arel to the controller template
[ci skip] /javascript/ -> JavaScript - cover whole app
:fire: these are lambdas now [ci skip]

This has changed since around 2b1500d6