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.
be more specific about csrf token and ajax - not whitelisted outside of jquery-rails [ci skip]
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
Fix breakage in XmlMini

- Boolean parsing breaks on non strings (i.e. integer 1|0)
- Symbol parsing breaks on non strings.
- BigDecimal parsing breaks due to missing require.
- Update changelog.
Fix few typos and improve markup at some levels
Use String#scrub when available to tidy bytes
Fixed typo [CI skip]
Add any/all support for variants

Like `format.any`, you can do the same with variants.

It works for both inline:

    respond_to do |format|
      format.html.any   { render text: "any"   }
      format.html.phone { render text: "phone" }
    end

and block syntax:

    respond_to do |format|
      format.html do |variant|
        variant.any(:tablet, :phablet){ render text: "any" }
        variant.phone { render text: "phone" }
      end
    end
Merge pull request #13498 from dmitrydims/master

Fixed typo in Rails 4.1 Release Notes [CI skip]
Merge pull request #13495 from norman/tidy_bytes

Use String#scrub when available to tidy bytes
rbconfig is not used in these files

remove unused requires
Minitest::Unit::TestCase is Minitest::Test [ci skip]
Merge pull request #13502 from arunagw/bug-report-template-warning

Minitest::Unit::TestCase is Minitest::Test [ci skip]
Merge pull request #13500 from arunagw/remove-unused-require

rbconfig is not used in these files remove unused requires
Adding missing backslashes in active_model files so as to avoid unwanted links in rdoc [ci skip]
doc fix. Use `sess.path` within `open_session`. Closes #13490. [ci skip]