Allows you to check if an attribute has changed to a particular value

model.name_changed?(from: "Pete", to: "Ringo")
Update secret_key_base Docs
Merge pull request #13329 from robertomiranda/secret-token-docs

[ci-skip] Update secret_key_base Docs
Merge pull request #13312 from arthurnn/fix_db_task_req

db:test:clone and prepare must load environment
Improve the CHANGELOG entry [ci skip]
Merge pull request #13313 from ccutrer/temp-tables

support creating temporary tables from queries

Conflicts:
	activerecord/CHANGELOG.md
Improve CHANGELOG entry with examples [ci skip]
Spelling and Grammar check [ci skip]
Merge pull request #13307 from akshay-vishnoi/typo

Spelling and Grammar check [ci skip]
Added `absence` parameter to pluralization table

Added `absence` parameter to table in section `5.1.2 Error Message Interpolation`.
Merge pull request #13333 from kia84/master

Added `absence` parameter to pluralization table [ci skip]
fixed rails dbconsole to support ENV['DATABASE_URL'].
Merge pull request #13328 from teohm/dbconsole_support_database_url

Fixed rails dbconsole to support DATABASE_URL
Fix missing closing rdoc tag [ci skip]
Merge pull request #13321 from mezis/fix-safebuffer-interpolation-master

Fixes interpolation on SafeBuffer
Fix url leak in application templates guide

Encapsulate url that was including the trailing quote and colon.
Merge pull request #13338 from shreve/patch-1

Fix url leak in application templates guide
Remove the link for code.whytheluckystiff.net

This is not a valid URL.

[ci skip]
Better support for `where()` conditions that use an association name.

Using the name of an association in `where` previously worked only
if the value was a single `ActiveRecrd::Base` object. e.g.

    Post.where(author: Author.first)

Any other values, including `nil`, would cause invalid SQL to be
generated. This change supports arguments in the `where` query
conditions where the key is a `belongs_to` association name and the
value is `nil`, an `Array` of `ActiveRecord::Base` objects, or an
`ActiveRecord::Relation` object.

    # Given the Post model
    class Post < ActiveRecord::Base
      belongs_to :author
    end

    # nil value finds records where the association is not set
    Post.where(author: nil)
    # SELECT "posts".* FROM "posts" WHERE "posts"."author_id" IS NULL

    # Array values find records where the association foreign key
    # matches the ids of the passed ActiveRecord models, resulting
    # in the same query as Post.where(author_id: [1,2])
    authors_array = [Author.find(1), Author.find(2)]
    Post.where(author: authors_array)

    # ActiveRecord::Relation values find records using the same
    # query as Post.where(author_id: Author.where(last_name: "Emde"))
    Post.where(author: Author.where(last_name: "Emde"))

Polymorphic `belongs_to` associations will continue to be handled
appropriately, with the polymorphic `association_type` field added
to the query to match the base class of the value. This feature
previously only worked when the value was a single `ActveRecord::Base`.

    class Post < ActiveRecord::Base
      belongs_to :author, polymorphic: true
    end

    Post.where(author: Author.where(last_name: "Emde"))
    # Generates a query similar to:
    Post.where(author_id: Author.where(last_name: "Emde"), author_type: "Author")
test case for #limit added - picking latest value from limit