method
dependencies_on
rails latest stable - Class:
ActionController::Dependencies::ClassMethods
dependencies_on(layer)public
Returns an array of symbols that specify the dependencies on a given layer. For the example at the top, calling ApplicationController.dependencies_on(:model) would return [:account, :company, :person, :project, :category]