Flowdock
method

plural

Importance_1
v3.0.5 - Show latest stable - 0 notes - Class: ActiveModel::Naming
plural(record_or_class) public

Returns the plural class name of a record or class. Examples:

  ActiveModel::Naming.plural(post)             # => "posts"
  ActiveModel::Naming.plural(Highrise::Person) # => "highrise_people"
Show source
Register or log in to add new notes.