Added method `#eql?` to `ActiveSupport::Duration`, in addition to `#==`.

Currently, the following returns `false`, contrary to expectation:

    1.minute.eql?(1.minute)

Adding method `#eql?` will make this behave like expected. Method `#eql?` is
just a bit stricter than `#==`, as it checks whether the argument is also a
uration. Their parts may be different though.

    1.minute.eql?(60.seconds)  # => true
    1.minute.eql?(60)          # => false
SQLite3Adapter now checks for views in table_exists? fixes: 14041
Update RecordNotFound exception cases to include a message with the
Model that the Record was not found in.
A warning line should look like a warning section

[ci skip]
Add a note on custom validation contexts.

The documentation on `:on` for validations was inconsistent, and most
only referenced the `:create` and `:update` contexts. I fixed those to
be consistent with the documentation on `AM::Validations.validates`,
which seemed to have the best docs.

[ci skip]
[ci skip] add guide for ActiveModel::SecurePassword
Updating Associations::Preloader docs

Much of the previous documentation introduced features new in 2011. This
commit refreshes it to provide clearer code examples and spends more
time describing the normal case (preloaded associations) and less time
describing the fallback.

[ci skip]
Roll back open transactions when the running thread is killed.
'Reversible' ->active_record_migrations [ci skip]

Reversible method documentation moved from migrations.md  to active_record_migrations.md
'Revert' ->active_record_migrations [ci skip]

Revert method documentation moved from migrations.md  to active_record_migrations.md
[ci skip] Fix some typos, normalize sentence.

Follow up of #16722.

https://github.com/rails/rails/pull/16722

also normalize all instance gained methods’ sentence.
Default to sorting user's test cases for now

Goals:

1. Default to :random for newly generated applications
2. Default to :sorted for existing applications with a warning
3. Only show the warning once
4. Only show the warning if the app actually uses AS::TestCase

Fixes #16769
Add docs for web-console to 4.2 Upgrade Guide [ci skip]
Merge pull request #16845 from todd/upgrade_guide_console_docs

Add docs for web-console to 4.2 Upgrade Guide
Remove extra 'has been' from the deprecation message

- [ci skip]
Merge pull request #16847 from prathamesh-sonpatki/kill-extra-has-been

Remove extra 'has been' from the deprecation message
Remove extra 'has been' from deprecation warning about asserting selectors

[ci skip]
Merge pull request #16848 from prathamesh-sonpatki/kill-extra-has-been

Remove extra 'has been' from deprecation warning about asserting selectors
Update upgrading guide about error handling in transactional callbacks

- Part of 16576
- [ci skip]
Merge pull request #16846 from prathamesh-sonpatki/document-error-handling-in-transactions-callbacks

Update upgrading guide about error handling in transactional callbacks [ci skip]