method

count

rails latest stable - Class: ActiveRecord::Associations::HasManyAssociation

Method deprecated or moved

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

count(*args)
public

Count the number of associated records. All arguments are optional.