diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2012-05-28 09:52:27 -0700 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2012-06-10 17:51:17 -0700 |
commit | 340a93f5026ffb8e877024c23791e8a345605976 (patch) | |
tree | fc9bfb567c383f4e48314a13aee62e03b08f63c3 /activerecord/test/fixtures/books.yml | |
parent | d17fa452ec1993271ccc6e5035fb27b9c89513cf (diff) | |
download | rails-340a93f5026ffb8e877024c23791e8a345605976.tar.gz rails-340a93f5026ffb8e877024c23791e8a345605976.tar.bz2 rails-340a93f5026ffb8e877024c23791e8a345605976.zip |
Fix that #exists? raises ThrowResult when called with an empty limited
reflection.
ActiveRecord::FinderMethods#construct_limited_ids_condition will raise
ThrowResult if the limited reflection comes back empty. The other callers
of #construct_limited_ids_condition handle this exception (more specifically,
the callers of construct_relation_for*), but #exists? didn't until now.
Diffstat (limited to 'activerecord/test/fixtures/books.yml')
0 files changed, 0 insertions, 0 deletions