jruby/activerecord-jdbc-adapter — pull request #433 by gapthemind (2013-07-22 05:56:25+00:00)
Title: Prevent special column corruption of ORDER BY

Special columns whose name match the beginning of a table name can
potentially corrupt the ORDER BY clause. This patch prevents this from
happening under some circumstances.