diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2017-07-25 14:22:16 -0400 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2017-07-25 14:22:16 -0400 |
commit | ea6139101ccaf8be03b536b1293a9f36bc12f2f7 (patch) | |
tree | ea5bcf710af3e6b84fa55e8e3d1a3ded6005e594 /guides/Rakefile | |
parent | c146065b8df8b3893b9ae33111987d5f1c18d457 (diff) | |
download | rails-ea6139101ccaf8be03b536b1293a9f36bc12f2f7.tar.gz rails-ea6139101ccaf8be03b536b1293a9f36bc12f2f7.tar.bz2 rails-ea6139101ccaf8be03b536b1293a9f36bc12f2f7.zip |
Allow `Relation#or` to accept a relation with different `references`
Note that the two relations must still have the same `includes` values
(which is the only time `references` actually does anything). It makes
sense for us to allow this, as `references` is called implicitly when
passing a hash to `where`.
Fixes #29411
Diffstat (limited to 'guides/Rakefile')
0 files changed, 0 insertions, 0 deletions