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 Zhu 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