stffn/declarative_authorization — pull request #160 by jhawthorn (2012-11-02 22:14:14+00:00)
Title: fix InController for ruby 2.0's respond_to?

respond_to? returns false for protected methods in ruby 2.0, which is used to test existence of new/load methods in controllers.

This changes those calls to respond_to?(..., true) which returns true for protected (or private) methods.