method
dependencies_on
v1.0.0 -
Show 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]