Forum: Ruby on Rails Singularize and Pluralize of the word Faculty

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9904f8acaf66a3c1a4b4434676be11cf?d=identicon&s=25 John Kopanas (Guest)
on 2006-02-11 08:07
(Received via mailing list)
I am have problems with one of my model's call Faculty... my models
name is Faculty so the database should be called faculties right?
Has there been documented problems with words ending in 'y'?

Thanks for your help.

John Kopanas
http://www.kopanas.com


=====================================================================
http://www.soen.info - source of the freshest software engineering
information on the net
http://cusec.soen.info - software engineering conference
Cee0292fffa691f1fb320d5400200e99?d=identicon&s=25 Marcel Molina Jr. (Guest)
on 2006-02-11 08:12
(Received via mailing list)
On Sat, Feb 11, 2006 at 02:07:26AM -0500, John Kopanas wrote:
> I am have problems with one of my model's call Faculty... my models
> name is Faculty so the database should be called faculties right?
> Has there been documented problems with words ending in 'y'?

  >> 'faculty'.pluralize
  => "faculties"
  >> 'faculty'.pluralize.singularize
  => "faculty"

marcel
This topic is locked and can not be replied to.