[ANN] acts_as_good_speeler - A fix for all those broken inflections in Rails

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

Install it like so:
script/plugin install
http://code.jeremymcanally.com/acts_as_good_speeler

More information available at:
http://agilewebdevelopment.com/plugins/acts_as_good_speeler

Patches and additions/corrections welcome.

Enjoy,
Jeremy


http://www.jeremymcanally.com/

My books:
Ruby in Practice

My free Ruby e-book
http://www.humblelittlerubybook.com/

My blogs:
http://www.mrneighborly.com/
http://www.rubyinpractice.com/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs