diff options
author | Jon Leighton <j@jonathanleighton.com> | 2013-06-07 03:03:18 -0700 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2013-06-07 03:03:18 -0700 |
commit | a68c6cccf05310546e82c4c81fe70818a454bf4e (patch) | |
tree | 85aa3575f831371417d37bfe2f44e6d897d0722f /activemodel/lib/active_model/validations.rb | |
parent | ec647495ebac9e5ace422b7638962d1e9574cfeb (diff) | |
parent | 118147af53bebf71bf2a1d3ded4fc6491a708697 (diff) | |
download | rails-a68c6cccf05310546e82c4c81fe70818a454bf4e.tar.gz rails-a68c6cccf05310546e82c4c81fe70818a454bf4e.tar.bz2 rails-a68c6cccf05310546e82c4c81fe70818a454bf4e.zip |
Merge pull request #10561 from Empact/nix-throwresult
Rather than raising ThrowResult when construct_limited_ids_conditions comes up empty, set the relation to NullRelation and rely on its results.
Diffstat (limited to 'activemodel/lib/active_model/validations.rb')
0 files changed, 0 insertions, 0 deletions