[ci skip] Added alias to CSRF
single quotes for controller generated routes

Write routes in route.rb with single quotes

    get 'welcome/index'

instead of

    get "welcome/index"
Merge pull request #13707 from udaykadaboina/docModification

[ci skip] Added alias to CSRF
Merge pull request #13669 from chulkilee/name-error-name

Set NameError#name
[ci skip] Grammar correction
quick pass through Active Record CHANGELOG. [ci skip]
Merge pull request #13709 from akshay-vishnoi/typo

[ci skip] Grammar correction
Fix fields_for documentation with index option [ci skip]

- fields_for documentation with index option was wrong.
- It does not work with passing model as it is.
- Changed the example by passing id of the address object.
- Fixes #13125.
Merge pull request #13706 from prathamesh-sonpatki/issue-13125

Fix fields_for documentation with index option [ci skip]
Merge pull request #13705 from mess110/controller_generator_route_quotes

Single quotes for controller generated routes. This is more consistent with all other Rails generated code.
Enum mappings are now exposed via class methods instead of constants.

Example:

    class Conversation < ActiveRecord::Base
      enum status: [ :active, :archived ]
    end

Before:

    Conversation::STATUS # => { "active" => 0, "archived" => 1 }

After:

    Conversation.statuses # => { "active" => 0, "archived" => 1 }
Don't try to get the subclass if the inheritance column doesn't exist

The `subclass_from_attrs` method is called even if the column specified by
the `inheritance_column` setting doesn't exist. This prevents setting associations
via the attributes hash if the association name clashes with the value of the setting,
typically `:type`. This worked previously in Rails 3.2.
Merge pull request #13710 from ujjwalt/hotfix/sti

Active Record's subclass_from_attributes shouldn't assume :type is for STI unless there is a type column.
sqlite >= 3.8.0 supports partial indexes
Merge pull request #13350 from ccutrer/sqlite-partial-indexes

sqlite >= 3.8.0 supports partial indexes
don't establish a new connection when testing with `sqlite3_mem`.

This fixes broken `rake test_sqlite3_mem` suite for Active Record.
The problem is that that the old database with the schema is lost
when establishing a new connection. Upon reconnting we are left
with a blank database and tests down the line start failing.
Use single quotes in generated files
"string" isn't a valid column type for ActiveRecord

Conflicts:
	activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
Updated comment to mention the enum mapping class method [ci skip]
directly create the ARel AST

rather than allocating a new Relation, just make the AST directly