rails/rails — pull request #11439 by ernie (2013-07-14 17:57:09+00:00)
Title: Blacklist->whitelist for reference scans in order!

Stop special-casing Arel::Nodes as exempt from reference scanning in
order. Instead, only scan order values that are strings for a table
reference.