Move method used only in the test to the test code itself
Minor AR changelog review [ci skip]
Merge pull request #10333 from ikataitsev/move-test-method-to-tests

Move method used only in the test to the test code itself
Review DatabaseTasks docs [ci skip]
Use `request.fullpath` to build redirect url in `force_ssl`

The `force_ssl` command now builds the redirect url from `request.fullpath`.
This ensures that the format is maintained and it doesn't redirect to a route
that has the same parameters but is defined earlier in `routes.rb`. Also any
optional segments are maintained.

Fixes #7528.
Fixes #9061.
Fixes #10305.
AV Digestor correctly passes format to LookupContext

ActionView::Digestor now passes arguments correctly to
LookupContext::find method. This makes cache digests
respect the format option correctly.

FixtureFinder in tests also changed to reflect this.
Add support for extra options to `force_ssl`

This commit adds support for passing additional url options along
with a :status option and any of the flash-related options to
`redirect_to` (i.e. :flash, :alert & :notice).

Closes #7570.
Merge pull request #10337 from eimermusic/fix_template_digestor_lookup

Fix ActionView::Digestor to correctly pass format to LookupContext

Conflicts:
	actionpack/CHANGELOG.md
Revert "Merge pull request #10337 from eimermusic/fix_template_digestor_lookup"

This reverts commit b4239622afc4f3f73808fd0c97512f3a534e07dd, reversing
changes made to f99ce3c188f5dde57e2ff63e6a22363c62f0a4cd.

Reason: This broke the build
https://travis-ci.org/rails/rails/jobs/6629894