method

collection_name

rails latest stable - Class: ActionDispatch::Routing::Mapper::Mapping::Resources::Resource

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

collection_name()
public

Checks for uncountable plurals, and appends “_index” if the plural and singular form are the same.