Sha256: 67aa05239d6598e0084753430f158fde998447ae02dca65c7a4c8035284b9f6c

Contents?: true

Size: 136 Bytes

Versions: 1

Compression:

Stored size: 136 Bytes

Contents

class ActiveModel::Name
  def human_plural
    plural = human(:count => 2)
    human == plural ? human.pluralize : plural
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scaffold_markup-0.0.1 lib/scaffold_markup/extensions/active_model_extension.rb