plural(record_or_class)
Class Public methods
Returns the plural class name of a record or class.
ActiveModel::Naming.plural(post) # => "posts" ActiveModel::Naming.plural(Highrise::Person) # => "highrise_people"
Returns the plural class name of a record or class.
ActiveModel::Naming.plural(post) # => "posts" ActiveModel::Naming.plural(Highrise::Person) # => "highrise_people"
Please login to continue.