Please sign in to comment.
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.
- Loading branch information...
Showing with 8 additions and 1 deletion.