diff options
author | Takayuki Nakata <f.seasons017@gmail.com> | 2019-07-10 22:53:52 +0900 |
---|---|---|
committer | Takayuki Nakata <f.seasons017@gmail.com> | 2019-07-10 22:53:52 +0900 |
commit | d9587feb5fab65c4c5bb7a5372f7319f50565f60 (patch) | |
tree | a8778bb991fd2f524d1660f1b7b8e39a065437d9 /activerecord/lib/active_record/schema_dumper.rb | |
parent | 6e40b131d2c7208e116d267e4b40dcf621f8b442 (diff) | |
download | rails-d9587feb5fab65c4c5bb7a5372f7319f50565f60.tar.gz rails-d9587feb5fab65c4c5bb7a5372f7319f50565f60.tar.bz2 rails-d9587feb5fab65c4c5bb7a5372f7319f50565f60.zip |
Fix `relation.exists?` with giving `distinct`, `offset` and `order` for joined table
The error happens in PostgreSQL when using `relation.exists?` with
`distinct`, `offset` and `order` for joined table.
However, the error does not happen if either `distinct` or `offset` is
removed. This behavior is confusing.
Fixes #36632
Diffstat (limited to 'activerecord/lib/active_record/schema_dumper.rb')
0 files changed, 0 insertions, 0 deletions