Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v6.0.0) is shown here.
These similar methods exist in v6.1.7.7:
collection_name()
public
Checks for uncountable plurals, and appends “_index” if the plural
and singular
form are the same.
Show source
def collection_name
singular == plural ? "#{plural}_index" : plural
end