# File lib/declarative_authorization/obligation_scope.rb, line 141 def model_for (path) reflection = reflection_for(path) if reflection.respond_to?(:proxy_reflection) reflection.proxy_reflection.klass elsif reflection.respond_to?(:klass) reflection.klass else reflection end end