aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2013-06-07 03:03:18 -0700
committerJon Leighton <j@jonathanleighton.com>2013-06-07 03:03:18 -0700
commita68c6cccf05310546e82c4c81fe70818a454bf4e (patch)
tree85aa3575f831371417d37bfe2f44e6d897d0722f /activemodel/lib/active_model/validations.rb
parentec647495ebac9e5ace422b7638962d1e9574cfeb (diff)
parent118147af53bebf71bf2a1d3ded4fc6491a708697 (diff)
downloadrails-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