Displaying 1 result from an estimated 1 matches for "plurali".
Did you mean:
plural
2005 Aug 23
0
Fixtures: pluraly bitten
...y line in there is
Inflector.classify(table.to_s)
which simply auto-singularizes and camel cases the table name. A thing
that might sort of work for english terms, it doesn''t work for other
languages at all. In most places in Rails it is possible to work around
auto-singularization/-pluralization, e.g. by set_table_name, explicitly
defining :class_name and :foreign_key options. Not in this case.
The problem is not with plurals per se or with Rails doing (trying)
automatic translation between singular and plural forms. The problem is
-- and that''s where DRY enters -- that...