# Edge - scaffolds now pluralized?

**URL:** <https://www.ruby-forum.com/t/edge-scaffolds-now-pluralized/55140>\
**Category:** Rails\
**Created:** [March 17, 2006, 9:03am UTC](https://www.ruby-forum.com/t/edge-scaffolds-now-pluralized/55140 "2006-03-17T09:03:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshua\_s](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/779978/32.png) [@joshua\_s](https://www.ruby-forum.com/u/joshua_s)\
**Post date:** [March 17, 2006, 9:03am UTC](https://www.ruby-forum.com/t/edge-scaffolds-now-pluralized/55140/1 "2006-03-17T09:03:35Z")

</div>

Are my eyes going buggy, or did something recently change in Edge  
Rails so that now scaffolds are generated with pluralized controller/  
helper/etc names? I peeked at the code in  
railties/lib/rails\_generator/generators/components/scaffold/  
scaffold\_generator.rb  
around line 50, and it looks like there was a change there recently  
so that it now defaults to pluralized names. So why was this  
changed? I can’t find any notes of the change in trac or the  
changelog. And how can I get the singular name? I’m still a newbie  
when it comes to navigating the trunk source and trac, so a little  
explanation would be appreciated.

thanks,  
–josh  
[http://blog.hasmanythrough.com](http://blog.hasmanythrough.com)

---

<div class="post-metadata">

**Author:** ![joshua\_s](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/779978/32.png) [@joshua\_s](https://www.ruby-forum.com/u/joshua_s)\
**Post date:** [March 17, 2006, 9:18am UTC](https://www.ruby-forum.com/t/edge-scaffolds-now-pluralized/55140/2 "2006-03-17T09:18:08Z")

</div>

Joshua S. wrote:

> Are my eyes going buggy, or did something recently change in Edge  
> Rails so that now scaffolds are generated with pluralized controller/  
> helper/etc names? I peeked at the code in  
> railties/lib/rails\_generator/generators/components/scaffold/  
> scaffold\_generator.rb  
> around line 50, and it looks like there was a change there recently  
> so that it now defaults to pluralized names. So why was this  
> changed? I can’t find any notes of the change in trac or the  
> changelog. And how can I get the singular name? I’m still a newbie  
> when it comes to navigating the trunk source and trac, so a little  
> explanation would be appreciated.

OK, it’s late. I figured out I must have been specifying the controller  
name explicitly before and forgot this time so I got the default  
pluralized name. New rule - no late night postings!

–josh
