You can rewrite the inflections using
ActiveSupport::Inflector.inflections (http://api.rubyonrails.org/
classes/ActiveSupport/Inflector/Inflections.html) and do something
like mapping the plural of all words to the same word.

Regards.

Franco Catena.

On Jul 18, 4:24 am, harun <[email protected]> wrote:
> Hi,
>
> First, I am new at Ruby on Rails. When using scaffolding feature,
> rails pluralize some automatically generated files' names, like
> controller names, view names and helper names. What I want is to
> disable this pluralization. For example, I want the contoller name of
> model 'Post' to be 'post_controller.rb' instead of
> 'posts_controller.rb'.
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to