Rails AR/Oracle Unit Test: [5676] failed

"david" made AR/Oracle cry...

http://dev.rubyonrails.org/changeset/5676

David,

The #any? definition added doesn't handle the common case of a block passed, it just implements the opposite of empty. Hence the breakage. Could go w/ something like:

       def any?(&block)          if block_given?            load_target.any?(&block)          else            !empty?          end        end

Michael Schoen wrote: