Changed ActiveRecord::Associations::CollectionProxy#select to take multiple arguments.

This makes the arguments the same as ActiveRecord::QueryMethods::select.
Maintain proleptic gregorian in Time#advance

Time#advance uses Time#to_date and Date#advance to calculate a new date.
The Date object returned by Time#to_date is constructed with the assumption
that the Time object represents a proleptic gregorian date, but it is
configured to observe the default julian calendar reform date (2299161j)
for purposes of calculating month, date and year:

  Time.new(1582, 10, 4).to_date.to_s           # => "1582-09-24"
  Time.new(1582, 10, 4).to_date.gregorian.to_s # => "1582-10-04"

This patch ensures that when the intermediate Date object is advanced
to yield a new Date object, that the Time object for return is contructed
with a proleptic gregorian month, date and year.
Fix stream closing when sending file with `ActionController::Live` included.

Fixes #12381
`find_in_batches` now returns an `Enumerator` when called without a block, so that it
can be chained with other `Enumerable` methods.
Allows you to check if an attribute has changed to a particular value

model.name_changed?(from: "Pete", to: "Ringo")
[ci skip] trailing documentation whitespace
Use the same enum definition in the docs and in the comments [ci skip]
fix quoting non-strings

Closes #13444
Merge pull request #13451 from dmathieu/quoting_non_strings

Fix typecasting array of integers
CHANGELOG entry for #13451. [ci skip]
Add missing av/railtie require
Merge pull request #13457 from strzalek/add-missing-av-railtie

Add missing av/railtie require
added test cases for Resolver#connection_url_to_hash
Merge pull request #13446 from kuldeepaggarwal/resolver-test-cases

Resolver test cases
On destroying do not touch destroyed belongs to association.

Fixes: #13445
Merge pull request #13455 from jetthoughts/13445_fix_touch_destroyed_record

On destroying do not touch destroyed belongs to association.
Fix comment example in AR enum [ci skip]
Tell how to Create a Database in Error Message

Currently if you attempt to use a database that does not exist  you get an error:

```
PG::ConnectionBad FATAL:  database "db_error" does not exist
```

The solution is easy, create and migrate your database however new developers may not know these commands by memory. Instead of requiring the developer to search for a solution, tell them how to fix the problem in the error message:

```
ActiveRecord::NoDatabase: FATAL:  database "db_error" does not exist
Run `$ bin/rake db:create db:migrate` to create your database
```

Active Record should not know about `rake db:migrate` so this additional information needs to come from the railtie. Potential alternative implementation suggestions are welcome.
Merge pull request #13427 from schneems/schneems/cannot-connect-postgres-error

Tell how to Create a Database in Error Message
[ci skip] a destroy action in controller, not delete [getting_stated.md].