# Pluralisation issue?

**URL:** <https://www.ruby-forum.com/t/pluralisation-issue/76152>\
**Category:** Rails\
**Created:** [March 3, 2006, 6:38am UTC](https://www.ruby-forum.com/t/pluralisation-issue/76152 "2006-03-03T06:38:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [March 3, 2006, 6:38am UTC](https://www.ruby-forum.com/t/pluralisation-issue/76152/1 "2006-03-03T06:38:09Z")

</div>

I’m having trouble with rails and a table named ‘dives’. It seems to  
work fine if I try it with another table name. I’ve generated the  
scaffold with the script and have not made any modifications to it. When  
I try to run the dives controller it starts looking for ‘dife.rb’ and  
fives me ‘uninitialized constant Dife’.

Is this a known issue?

I’m using rails 10. and ruby 1.8.4

Thanks,

```
David
```

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [March 3, 2006, 6:47am UTC](https://www.ruby-forum.com/t/pluralisation-issue/76152/2 "2006-03-03T06:47:11Z")

</div>

removed\_email\_address@domain.invalid wrote:

> Thanks,

IIRC the inflector rules for v/f are a little flaky - look up how to add  
your own pluralisation rules to override this particular one

Kev

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [March 3, 2006, 9:06am UTC](https://www.ruby-forum.com/t/pluralisation-issue/76152/3 "2006-03-03T09:06:11Z")

</div>

Kev J. wrote:  
\> … look up how to add your own pluralisation rules to override  
this particular one

…, at the bottom of Environment.rb (look for ‘Inflector’)

Alain

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [March 3, 2006, 12:49pm UTC](https://www.ruby-forum.com/t/pluralisation-issue/76152/4 "2006-03-03T12:49:24Z")

</div>

Alain R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) writes:

> Kev J. wrote:  
> \> … look up how to add your own pluralisation rules to override  
> this particular one
> 
> …, at the bottom of Environment.rb (look for ‘Inflector’)

Thanks,

David
