diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-02-25 11:40:30 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-02-25 18:00:34 +0100 |
commit | e0356990856abc9a84e6e038e7b06e2931502728 (patch) | |
tree | c4c645f0b335f89bd0e47c92e48a45db846813df /activemodel/examples | |
parent | 45321a69b3c01ce8a4cfef6cdf13381d73e10cd3 (diff) | |
download | rails-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 'activemodel/examples')
0 files changed, 0 insertions, 0 deletions