aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-02-25 11:40:30 +0100
committerYves Senn <yves.senn@gmail.com>2013-02-25 18:00:34 +0100
commite0356990856abc9a84e6e038e7b06e2931502728 (patch)
treec4c645f0b335f89bd0e47c92e48a45db846813df /actionpack/lib
parent45321a69b3c01ce8a4cfef6cdf13381d73e10cd3 (diff)
downloadrails-e0356990856abc9a84e6e038e7b06e2931502728.tar.gz
rails-e0356990856abc9a84e6e038e7b06e2931502728.tar.bz2
rails-e0356990856abc9a84e6e038e7b06e2931502728.zip
Expand order(:symbol) to "table".symbol to prevent broken queries on PG.
Fixes #9275. When `#order` is called with a Symbol this patch will prepend the quoted_table_name. Before the postgresql adapter failed to build queries containg a join and an order with a symbol. This expansion happens for all adapters.
Diffstat (limited to 'actionpack/lib')
0 files changed, 0 insertions, 0 deletions