Revert "Merge pull request #10566 from neerajdotname/10509d"

This reverts commit 2b817a5e89ac0e7aeb894a40ae7151a0cf3cef16, reversing
changes made to 353a398bee68c5ea99d76ac7601de0a5fef6f4a5.

Conflicts:
	activerecord/CHANGELOG.md

Reason: the build broke
Fixes AciveModel::Model with no ancestors, fixes #11004

Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
Handle single quotes in PostgreSQL default column values

PostgreSQL escapes single quotes by using an additional single quote.
When Rails queries the column information, PostgreSQL returns the
default values with the escaped single quotes.

#extract_value_from_default now converts these to one single quote each.

Fixes #10881.
Merge pull request #10884 from dmarkow/pg_fix_default_quotes

Handle single quotes in PostgreSQL default column values
add forgotten CHANGELOG entry for #10884.
Fix name of nested attributes option include_id

The option to disable including a hidden ID field on a `fields_for` nested association was incorrectly documented as `hidden_field_id` instead of `include_id`
Merge pull request #11017 from stormsilver/patch-1

Fix name of nested attributes option include_id
ActiveModel::Model inclusion chain backward compatibility
fix "will be ran" and "has began" typos in configuration guide
Merge pull request #11024 from pdorrell/master

Fix 3 typos in Configuration guide
Merge pull request #11020 from fredwu/master-activemodel-inclusion-chain-fix-iii

ActiveModel::Model inclusion chain backward compatibility
use default scope in #unscope and #except

* adds test cases and test model with default limit
* changes name of arguments to avoid confusion of "scope" meaning
* removes test that tests functionality no longer present
* removes documentation no longer applicable
* creates public method: #default_scope_values
* updates changelog