aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/fixtures.rb
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2012-05-28 09:52:27 -0700
committerBen Woosley <ben.woosley@gmail.com>2012-06-10 17:51:17 -0700
commit340a93f5026ffb8e877024c23791e8a345605976 (patch)
treefc9bfb567c383f4e48314a13aee62e03b08f63c3 /activerecord/lib/active_record/fixtures.rb
parentd17fa452ec1993271ccc6e5035fb27b9c89513cf (diff)
downloadrails-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/lib/active_record/fixtures.rb')
0 files changed, 0 insertions, 0 deletions