josevalim/inherited_resources — pull request #262 by corny (2013-02-27 13:24:22+00:00)
Title: Compatibility with Ruby 2.0

In Ruby 2.0 `respond_to?` has been changed to return false for protected methods. This results in apply_scopes not beeing called.

It can be fixed passing true as a second argument. Ruby 1.9 requires the second parameter to look for private methods. So this change does not break anything.

http://tenderlovemaking.com/2012/09/07/protected-methods-and-ruby-2-0.html