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
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
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
link directory to ActionMailer Previews documentation
remove bundler magic
Display notice in index.html pages in scaffolded generated views

As we are setting notice in destroy action we should display that

For more information see https://github.com/rails/rails/pull/14044
And https://github.com/rails/jbuilder/pull/191

closes #14044
Merge pull request #16048 from arunagw/aa-added-notice-index-page

Display notice in index.html pages in scaffolded generated views
After find-via-reload, the record is not new
add test coverage for the action mailer
Merge pull request #16037 from sgrif/sg-money-quoting

Remove unneccessary special case for money in quoting
Merge pull request #16046 from grosser/grosser/cleangen

Do not load rails without loading bundler
Merge pull request #16049 from matthewd/find-via-reload

After find-via-reload, the record is not new
Merge pull request #16042 from akshay-vishnoi/doc_change

[ci skip] /javascript/ -> JavaScript - cover whole app
Merge pull request #14005 from dmitry/test_coverage_for_actionmailer

Add test coverage for the action mailer
Merge pull request #16040 from seuros/patch-1

Add arel to the controller template [ci skip]