Flowdock
method

apply_inflections

Importance_1
v4.0.2 - Show latest stable - 0 notes - Class: ActiveSupport::Inflector
apply_inflections(word, rules) private

Applies inflection rules for singularize and pluralize.

apply_inflections('post', inflections.plurals)    # => "posts"
apply_inflections('posts', inflections.singulars) # => "post"
Show source
Register or log in to add new notes.