|
From: Jerome Hughes Rails knows about English pluralization, so it can handle things like this. Not sure if this extends to octopus/octopi, but if you have a list of octopi, it probably ought be abstracted to a higher level and called animals with a type of octopus so you'll be able to widen your scope later. ;D
You say this lightly, but the truth is YOU DON'T KNOW. And nor could anyone possibly know. And there are LOTS of English words that don't follow standard pluralization and so there ought to be a way to know (and I'll risk being accused of slagging again by mentioning the well known fact that the documentation for RoR stinks). It's a small issue but one that illustrates the dark side of programming by convention. Is it a big deal? Probably not. But dismissing the issue is hardly the way to handle it.
And please, remember, I am NOT downing RoR.*cough* *cough* what? male bovine excrement.
<LOL!> Even though I've gone out of my way to say that I think RoR is a great tool, because I also have some negative points about it, I'm "slagging" it. I never learn... Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.