Don't load test env by default
Pass a base relation to build_default_scope when joining

This allows the default scope to be built using the current table alias.
Resolves #12770
Updating select helper doc [ci skip]
Fix misspelling in references docs
Add Public Api for register new extensions for Rake Notes
Remove .scss, .sass, .less, .haml, .slim, coffee from Rake Notes. Now we have an API for register it in the corresponding gems
Supporting .ruby, .yml and .yaml Extension in Rake Notes
Still touch associations when theres no timestamp

Prior to Rails 4.0.4 when touching a object which doesn't have timestamp
attributes (updated_at / updated_on) rails would still touch all
associations. After 73ba2c14cd7d7dfb2d132b18c47ade995401736f it updates
associations but rollsback because `touch` would return nil since
there's no timestamp attribute
re-raise error if error occurs before committing in streaming

update the tests, using an if-else
Let COMMAND_WHITELIST be an Array, not a String
Remove extra white-spaces [ci skip]

Follow up to 024e5e31
Use nested_scope? not shallow? to determine whether to copy options

The method `shallow?` returns false if the parent resource is a singleton so
we need to check if we're not inside a nested scope before copying the :path
and :as options to their shallow equivalents.

Fixes #14388.
Fix Shadowing extensions variable in Register Annotation Exentsions
Add config.annotations, in order to register new extensions for Rake notes at config level
Avoid concurrent test collision on the same memcache server by namespacing keys
Add an explicit require for 4ece124396669d3580e7f229ab407a0d4882727a rather than assume SecureRandom is available
Fix assertions
format ActiveRecord CHANGELOG. [ci skip]
fix `number_to_percentage` with `Float::NAN`, `Float::INFINITY`.

Closes #14405.

This is a follow-up to 9e997e9039435617b6a844158f5437e97f6bc107 to restore
the documented behavior.
`where.not` adds `references` for `includes`.

Closes #14406.