Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Troy's latest activity

Monday, February 22 2010
2566 Add "a"/"an" inflector - indefinitize() was updated in Ruby on Rails
  • Troy
    Troy commented at 5:20 AM

    I haven't made time for it, so it doesn't make sense for anyone else to. Feel free to mark as invalid - I would but can't.

Monday, April 27 2009
2566 Add "a"/"an" inflector - indefinitize() was updated in Ruby on Rails
  • Troy
    Troy commented at 6:01 AM

    Will attach another patch to support extensions for special cases (ie, herb), the same way that a few other inflection methods do.

  • Troy
    Troy commented at 12:44 AM

    IMO, you don't -- no test for sounds, just make clear what it does and doesn't do. It's a 95%+ solution, but failures are predictably obvious ("a herb") and det...

Sunday, April 26 2009
2566 Add "a"/"an" inflector - indefinitize() was updated in Ruby on Rails
  • Troy
    Troy commented at 9:35 PM

    The case I've encountered is string-ifying a model instance as part of a phrase/sentence: http://pastie.org/458977

    It's more useful for displaying complete idea...

  • Troy
    Troy created the ticket at 8:51 PM

    Wanted to display "a listing" instead of "an listing", and "an Article" instead of "a Article". Patch adds indefinitize() inflector, which prepends the correct ...