diff options
| author | Matthew Draper <matthew@trebex.net> | 2016-09-24 08:56:31 +0930 |
|---|---|---|
| committer | Matthew Draper <matthew@trebex.net> | 2016-09-24 09:04:13 +0930 |
| commit | e4fcc58529c9659b5d0d35479a9a6acf8edb9e36 (patch) | |
| tree | 76dcd49c7f4b037d5d12649284615e1e51abda9d /activemodel/lib/active_model/validator.rb | |
| parent | 780058ba1e781afdd76fb6c0732b5b883aa8daae (diff) | |
| download | rails-e4fcc58529c9659b5d0d35479a9a6acf8edb9e36.tar.gz rails-e4fcc58529c9659b5d0d35479a9a6acf8edb9e36.tar.bz2 rails-e4fcc58529c9659b5d0d35479a9a6acf8edb9e36.zip | |
Only search fixture_path for files that can't be found directly
When passed an already-valid file name, prepending the path is likely to
create problems.
This is particularly relevant for #26384, which adds fixture_path
handling to test classes that previously didn't have it: any existing
caller must have been manually locating the file, and we don't want to
break them.
Diffstat (limited to 'activemodel/lib/active_model/validator.rb')
0 files changed, 0 insertions, 0 deletions
