# \[ANN\] acts\_as\_good\_speeler - A fix for all those broken inflections in Rails

**URL:** <https://www.ruby-forum.com/t/ann-acts-as-good-speeler-a-fix-for-all-those-broken-inflections-in-rails/127204>\
**Category:** Rails\
**Created:** [January 26, 2008, 5:22am UTC](https://www.ruby-forum.com/t/ann-acts-as-good-speeler-a-fix-for-all-those-broken-inflections-in-rails/127204 "2008-01-26T05:22:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeremy\_McAnally](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c89c15/32.png) [@Jeremy\_McAnally](https://www.ruby-forum.com/u/Jeremy_McAnally)\
**Post date:** [January 26, 2008, 5:22am UTC](https://www.ruby-forum.com/t/ann-acts-as-good-speeler-a-fix-for-all-those-broken-inflections-in-rails/127204/1 "2008-01-26T05:22:48Z")

</div>

Howdy,  
After having a patch to fix the inflections in Rails shot down and  
watching Steven B.'s _VERIFIED_ penis\_enhancement.diff be set to  
wontfix, my indignation has reached fever pitch!

Thus, acts\_as\_good\_speeler is born: finally, a plugin that offers  
proper fixes for the Rails inflector. For a while now, there have  
been a number of errors pointed out in the Rails inflector. Usually,  
the suggestion is to fix it in environment.rb or make a plugin. Well,  
this is that plugin. You can see the tests for all the fixes (and,  
yes fixes the pluralization of penis and pokemon!).

## USAGE

This overrides the built-in Inflector class, so you don’t need to do  
anything special.

Get the code:  
svn ci [http://code.jeremymcanally.com/acts\_as\_good\_speeler](http://code.jeremymcanally.com/acts_as_good_speeler)

Install it like so:  
script/plugin install  
[http://code.jeremymcanally.com/acts\_as\_good\_speeler](http://code.jeremymcanally.com/acts_as_good_speeler)

More information available at:  
[http://agilewebdevelopment.com/plugins/acts\_as\_good\_speeler](http://agilewebdevelopment.com/plugins/acts_as_good_speeler)

Patches and additions/corrections welcome.

Enjoy,  
Jeremy

–  
[http://www.jeremymcanally.com/](http://www.jeremymcanally.com/)

My books:  
Ruby in Practice

> **[Ruby in Practice](https://www.manning.com/books/ruby-in-practice?new=true&experiment=A)**
>
> Like Ruby itself, Ruby in Practice will make you more productive. The book shows you practical techniques and strategies for small projects and large-scale environments. A cookbook-style reference, it gives you concrete examples of systems...

My free Ruby e-book

> **[Site not found · DreamHost](http://www.humblelittlerubybook.com/)**
>
> The owner of this domain has not yet uploaded their website.

My blogs:

> **[Site not found · DreamHost](http://www.mrneighborly.com/)**
>
> The owner of this domain has not yet uploaded their website.

[http://www.rubyinpractice.com/](http://www.rubyinpractice.com/)
