Merge pull request #12315 from gaurish/super

TypeError: superclass mismatch for class PostgreSQLAdapter
Fix the model name in the association basics guides

[ci skip]
bcrypt-ruby v3.1.2 supports Ruby 2.0 on Windows
Merge pull request #12325 from tjschuck/bcrypt_version_bump

Bump bcrypt-ruby version to support Ruby 2.0 on Windows
hm:t preloading will respect order set on the RHS association
fix variable names and speed up relation ordering
only do the should_reset test once
pass the scope all the way down to the constructors
remove state from the preloader
reuse the same preloader object for each association
Update references to wycats/thor to erikhuda/thor.
pass the preloader down so we only have to construct one
Merge pull request #12329 from benmanns/docrails

Update references to wycats/thor to erikhuda/thor.
adding a test for sti on middle tables with sorting on RHS
we can't sort by lhs since the middle records have difference classes
and possibly different rules for finding those objects
Deprecate unused quoted_locking_column method.
Getting Started Guide: update RubyGems Guides link [ci skip]
Merge pull request #12335 from francisgo/patch-1

Getting Started Guide: update RubyGems Guides link [ci skip]
Merge pull request #11423 from kennyj/remove_quoted_locking_column

Remove unused quoted_locking_column method.
add test_scoped_root_as_name

test for regression introduced by https://github.com/rails/rails/pull/9155