rails/rails — pull request #8405 by hsbt (2012-12-03 13:09:53+00:00)
Title: handled respond_to? with private methods

ruby-2.0.0preview2 or later changed Object#initialize_dup to private method. I fixed Object#respond_to? works with private method.