aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2017-07-25 14:22:16 -0400
committerSean Griffin <sean@seantheprogrammer.com>2017-07-25 14:22:16 -0400
commitea6139101ccaf8be03b536b1293a9f36bc12f2f7 (patch)
treeea5bcf710af3e6b84fa55e8e3d1a3ded6005e594 /railties/test
parentc146065b8df8b3893b9ae33111987d5f1c18d457 (diff)
downloadrails-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 'railties/test')
0 files changed, 0 insertions, 0 deletions