Fix AM testcase break with mail 2.5.4. It seems that AM's testcase was wrong.
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
push partion logic down and initialization logic up
push partitioning up so bind elimination can get the removed wheres
remove bind values for where clauses that were removed
avoid creating a set if no where values are removed
Merge branch 'bindwhere'

* bindwhere:
  avoid creating a set if no where values are removed
  remove bind values for where clauses that were removed
  push partitioning up so bind elimination can get the removed wheres
  push partion logic down and initialization logic up
  partition the where values so we can access the removed ones