fix small typo in routing test
Merge pull request #17346 from accessd/fix-small-typo-in-test

fix small typo in routing test
If Rails is not defined, check ENV["RAILS_ENV"] and ENV["RACK_ENV"].

This fixes a regression introduced by 6cc03675d30b58e28f585720dad14e947a57ff5b.

ActiveRecord, if used without Rails, always checks the "default_env" environment. This would be OK, except that Sinatra also supports environments,
and it runs with {RACK|RAILS}_ENV=production. This patch adds a fallback to RAILS_ENV and RACK_ENV (and ultimately default_env) if Rails.env doesn't exist.
:nail_care: fix typos in activejob queuing test
Merge pull request #17353 from swapdisc/activejob-queue-test-typo

:nail_care: fix typos in activejob queuing test
- Fix error string raised from `enqueue_at`
copy reflection_scopes’s unscoped value when building scope for preloading, fixes #11036
Bring try! into parity with try.

Based on commit 5e51bdda.
Merge pull request #17361 from aripollak/try-bang-parity

Bring try! into parity with try.
Update CHANGELOG and release notes for e98f2a7
Merge pull request #17343 from vipulnsward/inline-aj-callbacks

Inline AJ around_perform and  around_enqueue in CallbackJob used for tests
Merge pull request #17355 from vipulnsward/aj-string-fixes

Fix error string raised from AJ enqueue_at for ClassQueueAdapter
Show the user’s application in the source window and select the correct trace list, closes #17312
Add AS::SecurityUtils.secure_compare for constant time string comparison
Use AS secure_compare in AS::MessageVerifier
Use AS secure_compare for CSRF token comparison
Reword documentation for `uncountable` [ci skip]
Merge branch 'mrgilman-reword-uncountable-documentation'
Raises ArgumentError when try to define a scope without a callable

This changes the actual exception `NoMethodError: undefined method `call'
for #<ActiveRecord::Relation []>` to a `ArgumentError` when try to define
a scope without a callable.
DRY up try/try!