Flowdock
method

plural_class_name

Importance_1
v2.0.3 - Show latest stable - 0 notes - Class: ActionController::RecordIdentifier
plural_class_name(record_or_class) public

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

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