Jeremy McAnally
2008-Jan-26 04:22 UTC
[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 Baker''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
http://www.manning.com/mcanally/
My free Ruby e-book
http://www.humblelittlerubybook.com/
My blogs:
http://www.mrneighborly.com/
http://www.rubyinpractice.com/
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---