method

model

rails latest stable - Class: ActionController::Dependencies::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.0.0) is shown here.

model(*models)
public

Specifies a variable number of models that this controller depends on. Models are normally Active Record classes or a similar backend for modelling entity classes.