# How to make use of singularize method

**URL:** <https://www.ruby-forum.com/t/how-to-make-use-of-singularize-method/196499>\
**Category:** Ruby\
**Created:** [October 22, 2007, 4:00pm UTC](https://www.ruby-forum.com/t/how-to-make-use-of-singularize-method/196499 "2007-10-22T16:00:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![advait](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e19adc/32.png) [@advait](https://www.ruby-forum.com/u/advait)\
**Post date:** [October 22, 2007, 4:00pm UTC](https://www.ruby-forum.com/t/how-to-make-use-of-singularize-method/196499/1 "2007-10-22T16:00:26Z")

</div>

Hello

I need to know how to make use of singularize method with params[:path],

the code is something like this

\<%= params[:path] %\> , the output of this particular statement is  
computers and I need to get computer.

Thank you

Advait
