Explicit mapping for enum
Merge pull request #12747 from yury/explicit-enum-values

Explicit mapping for enum
Move documentation around a bit
Delegate #rewhere to all on the class like all other relation methods
Revert "ActiveRecord::Base#<=> has been removed.  Primary keys may not be in order," -- will be replaced with a check to ensure that the keys used for comparison are integers, and only fail if they are not.

This reverts commit 6256734e2d0bdd89f4b5d11da259d40afa0c95c7.

Conflicts:
	activerecord/CHANGELOG.md
Add test verifying that you can only sort ARs of the same type
Add test for ActiveRecord::Relation YAML serialization, for #5303 issue
Ensure backwards compability after the #deep_munge extraction
Code style for privacy indention
Aesthetics
Line up the comments for aesthetics
No web-console for now
Merge pull request #12750 from arunagw/webconsole-invite-only

Not adding webconsole by default in new apps
BACKTRACE environment variable to show unfiltered backtraces.

We used to support the `BACKTRACE` environment variable but when
we switched to MiniTest it got removed: f9382cd7948

This commit adds back the functionality to show the unfiltered backtrace when needed.
This also works when you run your tests with `rake`:

* `BACKTRACE=1 bin/rake test`
* `BACKTRACE=1 ruby -Itest ...`
Replace `class_eval` with `define_method` for enum

https://github.com/rails/rails/commit/db41eb8a6ea88b854bf5cd11070ea4245e1639c5#commitcomment-4502683
Fix changelog indent [ci skip]
Fix typo in railties changelog

Also improve the example to show as shell command [ci skip]
Merge pull request #12754 from ck3g/replace-class-evals-with-define-method-for-enum

Replace `class_eval` with `define_method` for enum
:scissors: [ci skip]
Remove extra whitespace

When generating an app with --skip_active_record, an extra
line of whitespace was included unnecessarily.