search for: rdfclass

Displaying 1 result from an estimated 1 matches for "rdfclass".

Did you mean: rdclass
2005 Jul 06
1
Singularize bug?
I have a table called rdf_classes and when I call the list page it throws an error saying it can''t load ''RdfClas''. I poked around and found the "singularize" method in inflector.rb. I put a statement in there and it is being called to singularize "RdfClass" and returns "RdfClas". I''ve added: [/(ss)$/i, ''\1''], # ADDED MAX as the second last entry of the array returned by singular_rules in the same file. Regexp were never my best friend, so there may be a better way of doing this. -max