Check pluralization

Is there a command you can write in the terminal that returns a plural
version of a word that rails uses?

Is there a command you can write in the terminal that returns a plural
version of a word that rails uses?

‘mouse’.pluralize

David Z. wrote:

Is there a command you can write in the terminal that returns a plural
version of a word that rails uses?

‘mouse’.pluralize

Hi,

If the above doesn’t seems to work, try the following:

in console:
$] irb

require ‘activesupport’
‘mouse’.pluralize

Regards,

Saurabh

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs