rails/rails — pull request #16134 by janko-m (2014-07-11 11:52:10+00:00)
Title: Fix signature of AS::OrderedOptions#respond_to?

[`Object#respond_to?`](http://ruby-doc.org/core-2.0/Object.html#method-i-respond_to-3F) takes an optional second argument, and `AS::OrderedOptions#respond_to?` should take it too. Where I burnt myself was when stubbing it using RSpec, and RSpec would call something like `object.respond_to?(name, true)`, which would cause a "wrong number of arguments" error.

It's fixed in Rails 4, because there I didn't get an error.