asset guide, match application.rb snippets to the generated file [ci skip]

`if defined?(Bundler)` is no longer used in our current application.rb
cleanup, switch arguments in assert_equal calls
cleanup, assert on warning from postgres adapter
Fixes bug 10628.
Fix AM testcase break with mail 2.5.4. It seems that AM's testcase was wrong.
Eliminate minitest warnings

https://github.com/seattlerb/minitest/commit/9a57c520ceac76abfe6105866f8548a94eb357b6#L15R8
Merge pull request #10646 from kennyj/fix_am_20130517

Fix ActionMailer testcase break with mail 2.5.4.
No need CHANGELOG entry for a test fix

[ci skip]
Add has_named_route? to the mapper API
Spelling correction in Upgrading Guide

Fixes spelling of 'erratta' to 'errata'
Merge pull request #10697 from zhubert/patch-1

Spelling correction in Upgrading Guide [ci skip]
pass where values to the helper function rather than rely on internal state
save the where values in variables so we don't need to look them up all
the time
change method name to reflect what it actually does.
eliminate some conditionals
partition the where values so we can access the removed ones
In batches test @total was assigned but not used. Use it in tests instead of Post.count
Merge pull request #10702 from divineforest/use-total-in-batches-test

Use @total variable created in the setup of batches tests instead of counting again.
the rake task `db:test:prepare` needs to load the configuration

Without loading the configuration the task will not perform any work.
Merge pull request #10711 from senny/10660_rake_db_test_prepare_needs_config

the rake task `db:test:prepare` needs to load the configuration