rails/rails — pull request #11528 by Empact (2013-07-21 03:33:29+00:00)
Title: Rebase and make fixes to #6763 "Specified column type for quote_value" 

This obsoletes #6763 and #10972

Additional fixes over #6763 are:
1) Fix typos in changelog
2) Remove mocha/setup test require, which was causing deprecation warnings and failures.
3) Prefer the `column_for_attribute` accessor over direct access to the columns_hash.
4) Don't allow `quote_value` to be called without a column. As in #6763, some adapters require column information to do their job properly, so we'd better always supply it.