Skip to content

respond_to? returns true for :to_ary, but call of :to_ary raises NoMethodError

gitlab-qa-bot requested to merge github/fork/mikdiet/patch-1 into master

Created by: mikdiet

fixed bug, when respond_to? returns true for method :to_ary, and then, when this method calls, raise NoMethodError. For example, at this point: https://github.com/rails/rails/blob/v3.0.8/activesupport/lib/active_support/core_ext/array/wrap.rb#L43

Merge request reports