diff options
author | Bogdan Gusiev <agresso@gmail.com> | 2014-08-14 13:44:29 +0300 |
---|---|---|
committer | Bogdan Gusiev <agresso@gmail.com> | 2014-08-14 13:44:29 +0300 |
commit | fe67dfbbeea092f0f42e81e4901fe9a949cf9484 (patch) | |
tree | 4749d661e781a38433c2424f3177d0c200f23c35 /guides/source | |
parent | 3300fdedc748993b378288c6cbc3113885c955ed (diff) | |
download | rails-fe67dfbbeea092f0f42e81e4901fe9a949cf9484.tar.gz rails-fe67dfbbeea092f0f42e81e4901fe9a949cf9484.tar.bz2 rails-fe67dfbbeea092f0f42e81e4901fe9a949cf9484.zip |
Fixed AR::Relation#where edge case with Hash and other Relation
Example:
Author.where(posts: { author_id: Author.where(country_id: 1) }).joins(:posts)
Diffstat (limited to 'guides/source')
0 files changed, 0 insertions, 0 deletions