rails/rails — comment on commit 902764379838d0d2b98e262c4039b7069cada3f8
File:  line 0
By alindeman:

How about keeping the duck typing, but simply blacklist `String` instances? `respond_to?(:each) && !is_a?(String)` kinda thing.