Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: Inflector::Inflections

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.

These similar methods exist in v4.1.8:

singular(rule, replacement) public

Specifies a new singularization rule and its replacement. The rule can either be a string or a regular expression. The replacement should always be a string that may include references to the matched data from the rule.

Show source
Register or log in to add new notes.