diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-11-22 15:36:50 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-11-22 15:36:50 -0700 |
commit | 6cd9e2bd29b26e1ea781fafce18614217b7adf7b (patch) | |
tree | 1d911ba061b45a627cb41a915c73af81b5b57286 /activerecord/lib/rails | |
parent | dcc143cd702bfbfef9cb92e1fde75171d088a5ac (diff) | |
download | rails-6cd9e2bd29b26e1ea781fafce18614217b7adf7b.tar.gz rails-6cd9e2bd29b26e1ea781fafce18614217b7adf7b.tar.bz2 rails-6cd9e2bd29b26e1ea781fafce18614217b7adf7b.zip |
Fix build failures
For some reason changing `.find` to `.unscoped.find` in
https://github.com/rails/rails/commit/f766abd4cf3eb75469d3646cfb6d85e668c619f3
caused `scoping` to leak in some tests when run in isolation (looks like
a concurrency issue?). `relation_scoping_test.rb` is a case that failed.
From what I can tell it should not be possible, but changing to the
block form fixes it. There is a deeper issue that I can't seem to find.
/cc @senny
Diffstat (limited to 'activerecord/lib/rails')
0 files changed, 0 insertions, 0 deletions